better header/footer template, add syntax highlighting

This commit is contained in:
Trevor Bentley
2023-01-11 02:39:24 +01:00
parent 4e436a268d
commit d5428f97b7
15 changed files with 438 additions and 51 deletions
+12 -2
View File
@@ -2,10 +2,20 @@ site_name = "Trevor's Repos"
site_url = "https://git.trevorbentley.com"
site_description = "A bunch of git repos in a stupid format."
render_markdown = true
syntax_highlight = true
syntax_highlight_theme = "base16-ocean.light"
output_dir = "gen/"
recursive_repo_dirs = ["repos/"]
# TODO: specify limits
# TODO: specify output directories/filenames
# TODO: extra metadata for recursive repo listings
# TODO: per-site and per-repo resources (just copied to output dir)
# TODO: enable/disable markdown/highlighting
# TODO: highlighting theme, extensions
[gitsy_templates]
path = "templates/"
repo_list = "repos.html"
@@ -15,8 +25,6 @@ branch = "branch.html"
tag = "tag.html"
file = "file.html"
dir = "dir.html"
header = "header.html"
footer = "footer.html"
error = "404.html"
[gitsy_extra]
@@ -28,3 +36,5 @@ or_bools = true
path = "more_repos/circadian"
website = "https://circadian.trevorbentley.com"
attributes = {some_extra_thing = "user defined", visible = false, number_of_bananas = 3}
render_markdown = false
syntax_highlighting = false