diff --git a/LICENSE b/LICENSE index acb051e..8fb0293 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,9 @@ +The MIT License applies to the code in this repository. + +Post content in the Markdown files is separately licensed under CC BY-NC-SA 4.0. + +* * * + MIT License Copyright (c) 2023 John Bowdre diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 603ce6f..fd7e7f1 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,7 +1,6 @@ baseURL = "https://runtimeterror.dev" theme = "risotto" title = "runtimeterror" -copyright = "© 2024 John Bowdre" paginate = 10 languageCode = "en" DefaultContentLanguage = "en" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 9586c47..b34f843 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,6 @@ - - +{"/slashes": [{{- range $i, $link := .Site.Params.slashPages }}{{ if $i }}, {{ end }}"{{ $link.title }}"{{ end }}]} +
{"copyright": ["content": "CC BY-NC-SA 4.0", "code": "MIT"]} +
<view source> {{ $jsToTop := resources.Get "js/back-to-top.js" | minify }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3aea004..027c4f3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -34,6 +34,9 @@ + + + diff --git a/static/css/custom.css b/static/css/custom.css index b347497..d037e3f 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -38,23 +38,32 @@ } /* Footer tweaks */ -.copyright { +.footer_slashes { font-size: 14px; - line-height: 1.3rem; + line-height: 1.1rem; + color: var(--muted); } -.footer_links { +.footer_slashes a:link, .footer_slashes a:visited { + color: var(--link); + text-decoration: none; +} + +.footer_links, .copyright { font-size: 12px; line-height: 1.1rem; color: var(--muted); } -.footer_links a:link, .footer_links a:visited { +.footer_links a:link, .footer_links a:visited, +.copyright a:link, .copyright a:visited{ color: var(--off-fg); text-decoration: none; } -.footer_links a:hover { +.footer_links a:hover, +.footer_slashes a:hover, +.copyright a:hover { color: var(--hover); text-decoration: underline; }