diff options
| author | Paul Buetow <paul@buetow.org> | 2022-01-13 23:54:17 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-01-13 23:54:17 +0000 |
| commit | 18892afa7b97f3cffc71462e99e69d775609c3af (patch) | |
| tree | f242ab846e28b1a693c7bd1993fca36f03a22754 | |
| parent | 34d6555bb0d8c46c977660c1af36e3cfb445818b (diff) | |
add mirrors to footer
| -rw-r--r-- | footer.html.part | 6 | ||||
| -rw-r--r-- | lib/generate.source.sh | 2 | ||||
| -rw-r--r-- | style.css | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/footer.html.part b/footer.html.part index a8fabb8..a280ddc 100644 --- a/footer.html.part +++ b/footer.html.part @@ -1,3 +1,7 @@ -<p class="quote"><i>Generated with <a href="https://codeberg.org/snonux/gemtexter">Gemtexter</a>, served by <a href="https://www.OpenBSD.org">OpenBSD</a>/<a href="https://man.openbsd.org/httpd.8">httpd(8)</a></i></p> +<p class="footer"> +Generated with <a href="https://codeberg.org/snonux/gemtexter">Gemtexter</a> | +served by <a href="https://www.OpenBSD.org">OpenBSD</a>/<a href="https://man.openbsd.org/httpd.8">httpd(8)</a> | +<a href="//%%DOMAIN%%/site-mirrors.html">Site Mirrors</a> +</p> </body> </html> diff --git a/lib/generate.source.sh b/lib/generate.source.sh index d3ff584..53e7a6b 100644 --- a/lib/generate.source.sh +++ b/lib/generate.source.sh @@ -98,7 +98,7 @@ generate::_fromgmi () { if [[ -z "$title" ]]; then title=$SUBTITLE fi - $SED -i "s|%%TITLE%%|$title|g" "$dest.tmp" + $SED -i "s|%%TITLE%%|$title|g; s|%%DOMAIN%%|$DOMAIN|g" "$dest.tmp" mv "$dest.tmp" "$dest" git::add "$format" "$dest" @@ -60,6 +60,10 @@ p.quote { color: cyan; } +p.footer { + color: #ffa500; +} + p.quote:before { content: " « "; padding-left: 2px; |
