license updates

This commit is contained in:
John Bowdre 2024-06-24 16:26:57 -05:00
parent e83d1ea122
commit dc3f6bb355
5 changed files with 26 additions and 9 deletions

View file

@ -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

View file

@ -1,7 +1,6 @@
baseURL = "https://runtimeterror.dev"
theme = "risotto"
title = "runtimeterror"
copyright = "© 2024 John Bowdre"
paginate = 10
languageCode = "en"
DefaultContentLanguage = "en"

View file

@ -1,6 +1,6 @@
<p class="copyright">{{ .Site.Copyright | markdownify }}</p>
<p class="footer_links">{"<a href="/slashes/" title="slashpages">/slashes</a>": [{{- range $i, $link := .Site.Params.slashPages }}{{ if $i }}, {{ end }}&quot;<a href="{{ $link.url }}" title="{{ $link.label }}">{{ $link.title }}</a>&quot;{{ end }}]}
<br>&lt;<a target="_blank" href="https://github.com/jbowdre/runtimeterror">view source</a>&gt;</p>
<span class="footer_slashes">{"<a href="/slashes/" title="slashpages">/slashes</a>": [{{- range $i, $link := .Site.Params.slashPages }}{{ if $i }}, {{ end }}&quot;<a href="{{ $link.url }}" title="{{ $link.label }}">{{ $link.title }}</a>&quot;{{ end }}]}</span>
<br><span class="copyright" xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/">{"copyright": ["content": "<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" title="Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International">CC BY-NC-SA 4.0</a>", "code": "<a href="https://github.com/jbowdre/runtimeterror/blob/main/LICENSE" target="_blank" rel="license noopener noreferrer" title="MIT License">MIT</a>"]}</span>
<br><span class="footer_links">&lt;<a target="_blank" href="https://github.com/jbowdre/runtimeterror">view source</a>&gt;</span>
<!-- Back to Top button via https://github.com/vfeskov/vanilla-back-to-top -->
{{ $jsToTop := resources.Get "js/back-to-top.js" | minify }}

View file

@ -34,6 +34,9 @@
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
<!-- CC BY-NC-SA 4.0 -->
<link rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
<!-- add pride bar for june -->
<link rel="stylesheet" href="https://cdn.pride.codes/css/bar_body.css">

View file

@ -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;
}