File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- on : push
21name : Build and deploy GH Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+
312jobs :
413 build :
514 name : Deploy
615 runs-on : ubuntu-latest
716 steps :
817 # Checkout
9- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v6
1019 # Build & deploy
1120 - name : Deploy to gh-pages branch
12- uses : shalzz/zola-deploy-action@v0.17.2
21+ uses : shalzz/zola-deploy-action@v0.22.1
1322 env :
1423 # Target branch
1524 PAGES_BRANCH : gh-pages
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2021 oltdaniel
3+ Copyright (c) 2026 Daniel Oltmanns
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -23,11 +23,9 @@ taxonomies = [
2323 { name = " tags" }
2424]
2525
26- [markdown ]
27- # Whether to do syntax highlighting
28- # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
29- highlight_code = true
30- highlight_theme = " visual-studio-dark"
26+ [markdown .highlighting ]
27+ light_theme = " github-light"
28+ dark_theme = " github-dark"
3129
3230[extra ]
3331social_media = [
Original file line number Diff line number Diff line change 5252 < hr text ="© Copyright {{ now() | date(format='%Y') }} " />
5353 < div class ="footer-social-media ">
5454 < a id ="toggle-theme "> </ a >
55+ {% set tags = get_taxonomy(kind="tags", required=false) %}
56+ {% if tags %}
5557 < a href ="/tags "> Tags</ a >
58+ {% endif %}
5659 {% if config.extra.social_media %}
5760 {% for social in config.extra.social_media %}
5861 {% if social.rel %}
You can’t perform that action at this time.
0 commit comments