Replace zola with DOM-based static site generation code
Alan Pearce alan@alanpearce.eu
Fri, 15 Sep 2023 19:35:23 +0200
2 files changed, 26 insertions(+), 17 deletions(-)
jump to
M config.toml → config.toml
@@ -3,6 +3,11 @@ base_url = "https://alanpearce.eu" title = "Alan Pearce" description = "Developer, Emacs User" + +email = "alan@alanpearce.eu" +domain_start_date = "2014-06-07" +original_domain = "alanpearce.eu" + [markdown] highlight_code = true highlight_theme = "idle" @@ -12,6 +17,15 @@ name = "tags" feed = true +[extra.headers] +cache-control = "max-age=14400" +x-content-type-options = "nosniff" +strict-transport-security = "max-age=31536000; includeSubdomains; preload" +content-security-policy = "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'self'; style-src 'unsafe-inline'; form-action 'none'; base-uri 'self'" + +[[extra.main_menu]] + name = "Home" + url = "/" [[extra.main_menu]] name = "Posts" url = "/post/" @@ -22,16 +36,15 @@ [[extra.main_menu]] name = "Repositories" url = "https://git.alanpearce.eu" -[[extra.contact_menu]] - name = "alan@alanpearce.eu" - url = "mailto:alan@alanpearce.eu" - weight = 1 -[[extra.contact_menu]] - name = "Codeberg" - url = "https://codeberg.org/alanpearce" -[[extra.contact_menu]] - name = "GitHub" - url = "https://github.com/alanpearce" -[[extra.contact_menu]] - name = "Mastodon" - url = "https://ieji.de/@alanpearce" +[[menus.me]] + name = "GitLab" + url = "https://gitlab.com/alanpearce/" +[[menus.me]] + name = "Codeberg" + url = "https://codeberg.org/alanpearce" +[[menus.me]] + name = "GitHub" + url = "https://github.com/alanpearce/" +[[menus.me]] + name = "Mastodon" + url = "https://ieji.de/@alanpearce"
D feed-styles/index.md
@@ -1,4 +0,0 @@-+++ -title = "feed-styles" -template = "feed-styles.html" -+++