~lyndsysimon/blog

24490ec46d7dd0ada257c359d5a2bf69627d0c32 — Lyndsy Simon 1 year, 8 months ago 5d45315
Continue to configure theme
3 files changed, 60 insertions(+), 2 deletions(-)

M README.md
M mkdocs.yml
A src/tags.md
M README.md => README.md +1 -1
@@ 3,4 3,4 @@
## TODO

* [ ] Set up [RSS for the blog plugin](https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/#rss)
* [ ] Set up the [social plugin for mkdocs-material](https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/)
* [ ] Write a plugin (or contibute support to Pygments) for OpenSCAD

M mkdocs.yml => mkdocs.yml +56 -1
@@ 6,13 6,68 @@ docs_dir: src

nav:
  - index.md
  - tags.md

theme:
  name: material
  features:
    - navigation.footer
    - navigation.instant
    - navigation.tracking
    - navigation.tabs
    - navigation.tabs.sticky
    - toc.follow
  palette:
    # Palette toggle for automatic mode
    - media: "(prefers-color-scheme)"
      toggle:
        icon: material/brightness-auto
        name: Switch to light mode
    # Palette toggle for light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    # Palette toggle for dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      toggle:
        icon: material/brightness-4
        name: Switch to system preference

plugins:
  - search:
  - tags:
      tags_file: tags.md
  - search
  - blog:
      blog_dir: .
      post_date_format: long
      post_url_format: "{slug}"

markdown_extensions:
  - admonition
  - pymdownx.details
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.inlinehilite
  - pymdownx.snippets
  - pymdownx.superfences

extra:
  generator: false
  social:
    - icon: fontawesome/brands/git-alt
      link: https://git.sr.ht/~lyndsysimon
    - icon: fontawesome/solid/envelope
      link: mailto:lyndsy@lyndsysimon.com
    - icon: fontawesome/brands/linkedin
      link: https://linkedin.com/in/LyndsySimon
    - icon: fontawesome/brands/twitter
      link: https://twitter.com/lyndsysimon
    - icon: fontawesome/brands/facebook
      link: https://facebook.com/LyndsySimon

copyright: <a href="https://git.sr.ht/~lyndsysimon/blog">site source</a>

A src/tags.md => src/tags.md +3 -0
@@ 0,0 1,3 @@
# Tags

[TAGS]