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 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build.sh') 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 -- cgit v1.2.3