diff options
| author | Marc Vertes <mvertes@free.fr> | 2023-05-06 14:46:59 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2023-05-06 14:46:59 +0200 |
| commit | e36896a452bac667c47058501d98b0d12e86ff59 (patch) | |
| tree | 072fb25a477328f853f14e753057a7ed5c03a4dc /build.sh | |
| parent | 0463007b16e8ea92c9c267c462bdc3129ec5ce6b (diff) | |
fix license
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -37,7 +37,7 @@ genhtml() ( pandoc *.md # Footer - echo "<hr>From: $author, $date" + [ "$1" != . ] && echo "<hr>From: $author, $date" ) for d in *; do @@ -47,3 +47,6 @@ genhtml . # Fix for mastodon. sed '/mstdn/s/href=/rel="me" href=/' index.html >xx && mv xx index.html +# Put a license in index footer. +echo '<hr><small>Unless otherwise noted, posts are licensed under +<a href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</small>' >>index.html |
