diff options
| author | Stefan Kreutz <mail@skreutz.com> | 2026-05-07 00:22:30 +0200 |
|---|---|---|
| committer | Stefan Kreutz <mail@skreutz.com> | 2026-05-07 00:22:30 +0200 |
| commit | 73826ea2208ae629d05144ace2fa43e23e59b5f6 (patch) | |
| tree | 9be64b0b3e29135f1e281bb99d04269eab8a5923 | |
| parent | 65fdb57da75248e3a2c3b23c177472fd7cc0ae65 (diff) | |
| download | blog-73826ea2208ae629d05144ace2fa43e23e59b5f6.tar.gz | |
Move license statement to article footer
| -rw-r--r-- | css/site.css | 8 | ||||
| -rw-r--r-- | templates/default.html | 1 | ||||
| -rw-r--r-- | templates/post.html | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/css/site.css b/css/site.css index df38ea5..c0bd0cb 100644 --- a/css/site.css +++ b/css/site.css @@ -162,6 +162,10 @@ article header h1 + * { margin-top: 0.5em; } +article > footer { + margin-top: 2em; +} + article .footnotes li:target { background: var(--light-gray); transition: background 0.5s; @@ -252,10 +256,6 @@ svg.icon { fill: var(--foreground-color); } -main > p.license { - margin-top: 2em; -} - .home-page { /* margin: auto; */ /* max-width: 32em; */ diff --git a/templates/default.html b/templates/default.html index 92b9178..efdcfe3 100644 --- a/templates/default.html +++ b/templates/default.html @@ -32,7 +32,6 @@ </header> <main> $body$ - <p class="license">Except where otherwise noted, content on this website is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>. The <a href="https://git.skreutz.com/blog.git/">source code</a> is dual-licensed under <a href="https://opensource.org/licenses/MIT">MIT</a> or <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> </main> <footer> <nav> diff --git a/templates/post.html b/templates/post.html index 726fa77..de20f4d 100644 --- a/templates/post.html +++ b/templates/post.html @@ -4,5 +4,7 @@ Posted on <time datetime="$formalDate$">$date$</time> </header> $body$ - <footer></footer> + <footer> + <p>Except where otherwise noted, content on this website is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>. The <a href="https://git.skreutz.com/blog.git/">source code</a> is dual-licensed under <a href="https://opensource.org/licenses/MIT">MIT</a> or <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> + </footer> </article> |