diff --git a/.github/marmite.yaml b/.github/marmite.yaml new file mode 100644 index 0000000..5371e67 --- /dev/null +++ b/.github/marmite.yaml @@ -0,0 +1,28 @@ +name: Marmite SSG +tagline: Simply create a static blog from markdown files +url: https://rochacbruno.github.io/marmite/ +menu: + - ['Docs', 'tag/docs.html'] + - ['Create a blog', "https://github.com/rochacbruno/blog/"] + - ['Github', 'https://github.com/rochacbruno/marmite/'] + - ['Tags', 'tags.html'] +data: + comments: + title: Comments + source: | + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ea985d..c674337 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,10 +53,7 @@ jobs: cp -R example marmitesite cp README.md marmitesite/content/docs.md rm marmitesite/marmite.yaml - echo -n -e "name: Marmite SSG\n" >> marmitesite/marmite.yaml - echo -n -e "tagline: Simply create a static blog from markdown files.\n" >> marmitesite/marmite.yaml - echo -n -e "url: https://rochacbruno.github.io/marmite/\n" >> marmitesite/marmite.yaml - echo -n -e "menu: [['Docs', 'docs.html'], ['Pages', 'pages.html'], ['Tags', 'tags.html'], ['Github', 'https://github.com/rochacbruno/marmite/']]\n" >> marmitesite/marmite.yaml + cp .github/marmite.yaml marmitesite/marmite.yaml - name: Build site 🏗️ run: marmite marmitesite site --debug diff --git a/example/content/2024-10-19-what-is-marmite-static-site-generator.md b/example/content/2024-10-19-what-is-marmite-static-site-generator.md index 7de57a2..0533e83 100644 --- a/example/content/2024-10-19-what-is-marmite-static-site-generator.md +++ b/example/content/2024-10-19-what-is-marmite-static-site-generator.md @@ -1,5 +1,5 @@ --- -tags: markdown +tags: docs --- # What is marmite @@ -237,5 +237,5 @@ If you have ideas please open issues on the repository. That's all! - +[Read the Docs](./tag/docs.html) diff --git a/example/content/customizing-templates.md b/example/content/customizing-templates.md index 1d41115..cfcd8f4 100644 --- a/example/content/customizing-templates.md +++ b/example/content/customizing-templates.md @@ -1,6 +1,6 @@ --- date: 2024-10-18 -tags: templates, theme, customization +tags: docs, templates, theme, customization --- # Customizing Templates diff --git a/example/content/enabling-comments.md b/example/content/enabling-comments.md index 975dd21..a4e5c5d 100644 --- a/example/content/enabling-comments.md +++ b/example/content/enabling-comments.md @@ -1,6 +1,6 @@ --- date: 2024-10-15 -tags: comments, customization +tags: docs, comments, customization --- # Enabling comments diff --git a/example/content/hosting.md b/example/content/hosting.md index f5e3415..0314d4a 100644 --- a/example/content/hosting.md +++ b/example/content/hosting.md @@ -1,6 +1,6 @@ --- date: 2024-10-16 -tags: hosting +tags: docs, hosting --- ## Hosting diff --git a/example/content/markdown-format.md b/example/content/markdown-format.md index 03ed671..d2b2f60 100644 --- a/example/content/markdown-format.md +++ b/example/content/markdown-format.md @@ -2,7 +2,7 @@ date: 2024-10-17 12:00:01 slug: markdown-format title: Markdown Formatting Options -tags: markdown, Common Mark, GFM +tags: docs, markdown, Common Mark, GFM extra: math: true ---