From e36896a452bac667c47058501d98b0d12e86ff59 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 6 May 2023 14:46:59 +0200 Subject: fix license --- build.sh | 5 ++++- index.html | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 90f05e9..efd728d 100755 --- a/build.sh +++ b/build.sh @@ -37,7 +37,7 @@ genhtml() ( pandoc *.md # Footer - echo "
From: $author, $date" + [ "$1" != . ] && echo "
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 '
Unless otherwise noted, posts are licensed under +CC BY 4.0.' >>index.html diff --git a/index.html b/index.html index 98874bc..bd6d76e 100644 --- a/index.html +++ b/index.html @@ -34,4 +34,5 @@ data-cites="mvertes">@mvertes
  • Mastodon: @mvertes
  • -
    From: Marc Vertes, 03 may 2023 +
    Unless otherwise noted, posts are licensed under +CC BY 4.0. -- cgit v1.2.3