diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2c6fe1..e31907d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,5 +20,6 @@ jobs: path: .cache - run: pip install mkdocs-material - run: pip install mkdocs-roamlinks-plugin + - run: pip install mkdocs-rss-plugin # - run: pip install mkdocs-mermaid2-plugin - run: mkdocs gh-deploy --force diff --git a/README.md b/README.md index 515281a..334423b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Would you like to take _some_ of your notes in [Obsidian](https://obsidian.md/) and make it public? -This template gives you an easy (and automated) way to publish your Obsidian notes on your Github pages. +This template gives you an easy (and automated) way to publish your Obsidian notes (or blog!) on your Github pages. With this template, you get these **out-of-the-box**: @@ -12,6 +12,7 @@ With this template, you get these **out-of-the-box**: ![](2021-11-22-22-49-26.png) - get the Obsidian/Roam style `[[wikilinks]]` from your vault in your published notes - Toggle between light and dark mode +- Blog folder ## Quick start diff --git a/docs/blog/index.md b/docs/blog/index.md new file mode 100644 index 0000000..c58f16c --- /dev/null +++ b/docs/blog/index.md @@ -0,0 +1,2 @@ +# Blog + diff --git a/docs/blog/posts/hello-world.md b/docs/blog/posts/hello-world.md new file mode 100644 index 0000000..c0c1d13 --- /dev/null +++ b/docs/blog/posts/hello-world.md @@ -0,0 +1,21 @@ +--- +draft: true +date: 2023-01-31 +slug: hello-world +categories: + - Hello + - World +tags: + - template + - how-to +--- + + +# Hello World Blogpost + +Blog excerpt here + + + +Rest of blog here +... \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index a132b5a..143109a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -50,8 +50,15 @@ markdown_extensions: plugins: - search - - roamlinks - + - roamlinks + - blog + - rss: + match_path: blog/posts/.* + date_from_meta: + as_creation: date + categories: + - categories + - tags extra_javascript: - javascripts/mathjax.js