|
1 | | -# Create your own blog now! |
2 | | - |
3 | | -Your blog will be generated by [marmite](https://rochacbruno.github.io/marmite/) |
4 | | - |
5 | | -<details> |
6 | | - |
7 | | -<summary> Click to see screenshots </summary> |
8 | | - |
9 | | -**Light Mode** |
10 | | - |
11 | | - |
12 | | - |
13 | | -**Dark Mode** |
14 | | - |
15 | | - |
16 | | - |
17 | | -</details> |
18 | | - |
19 | | ---- |
20 | | - |
21 | | -## Step 1 |
22 | | - |
23 | | -### As a Fork (recommended) |
24 | | - |
25 | | -[CLICK ON FORK BUTTON](https://github.com/rochacbruno/blog/fork) and name your fork `blog`. |
26 | | - |
27 | | -##### Or as a template |
28 | | - |
29 | | -[Click on Use this template](https://github.com/new?template_name=blog&template_owner=rochacbruno&name=blog&description=Blog%20generated%20with%20Marmite) and name your new repo `blog` |
30 | | - |
31 | | -## Step 2 |
32 | | - |
33 | | -Access https://github.com/YOURUSER/blog/actions and click the green button to enable actions. |
34 | | - |
35 | | -## Step 3 |
36 | | - |
37 | | -Access https://github.com/YOURUSER/blog/settings/pages and set the |
38 | | -pages source to **Github Actions** |
39 | | - |
40 | | -## Step 4 |
41 | | - |
42 | | -Then edit the `marmite.yaml` with your own information. (IMPORTANT! change the `url:..` field to match your own repo) |
43 | | - |
44 | | -If you want to enable comments on the blog [read this](https://rochacbruno.github.io/marmite/enabling-comments.html) |
45 | | - |
46 | | -## Step 5 |
47 | | - |
48 | | -Commit and see the Github Actions building a blog for you. |
49 | | - |
50 | | -Your blog will be published at https://YOURUSER.github.io/blog |
51 | | - |
52 | | -You can add add [custom domain](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site) later |
53 | | - |
54 | | -You can customize `css` on `custom.css`, `JS` on `custom.js` and custom themes and other customization options are explained on [customization page](https://rochacbruno.github.io/marmite/tag/customization.html) |
55 | | - |
56 | | ---- |
57 | | - |
58 | | - |
59 | | -## Building locally |
60 | | - |
61 | | -```console |
62 | | -$ git clone git@github.com:YOURUSER/blog.git |
63 | | -$ cd blog |
64 | | -``` |
65 | | - |
66 | | -```console |
67 | | -$ cargo install marmite |
68 | | -``` |
69 | | - |
70 | | -```console |
71 | | -$ marmite . site |
72 | | -Site generated at: /site/ |
73 | | -``` |
74 | | - |
75 | | -Learn more on [marmite](https://rochacbruno.github.io/marmite/) |
76 | | - |
| 1 | +# edinei.dev |
0 commit comments