Skip to content

Commit

Permalink
docs: fix docs menu, add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Oct 22, 2024
1 parent 8181302 commit 325e403
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 10 deletions.
28 changes: 28 additions & 0 deletions .github/marmite.yaml
Original file line number Diff line number Diff line change
@@ -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: |
<script src="https://giscus.app/client.js"
data-repo="rochacbruno/marmite"
data-repo-id="R_kgDONAKMvQ"
data-category="Comments"
data-category-id="DIC_kwDONAKMvc4CjmH_"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="dark"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: markdown
tags: docs
---
# What is marmite

Expand Down Expand Up @@ -237,5 +237,5 @@ If you have ideas please open issues on the repository.

That's all!


[Read the Docs](./tag/docs.html)

2 changes: 1 addition & 1 deletion example/content/customizing-templates.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: 2024-10-18
tags: templates, theme, customization
tags: docs, templates, theme, customization
---
# Customizing Templates

Expand Down
2 changes: 1 addition & 1 deletion example/content/enabling-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: 2024-10-15
tags: comments, customization
tags: docs, comments, customization
---

# Enabling comments
Expand Down
2 changes: 1 addition & 1 deletion example/content/hosting.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: 2024-10-16
tags: hosting
tags: docs, hosting
---
## Hosting

Expand Down
2 changes: 1 addition & 1 deletion example/content/markdown-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down

0 comments on commit 325e403

Please sign in to comment.