summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-05-09 19:00:07 +0200
committerMarc Vertes <mvertes@free.fr>2023-05-09 19:00:07 +0200
commit689018f2b42125c5f0e81bb62b42322d82f4f45b (patch)
treeb5ae28a7cb4416587578b6947edd79eed6c4a757 /build.sh
parent9e53afd65415dba3bccefaf4a455c7661f52761c (diff)
add description
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9ff70fa..67a5686 100755
--- a/build.sh
+++ b/build.sh
@@ -10,7 +10,11 @@ header='<meta charset="UTF-8">
text-align: justify;
}
h1 { text-align: center }
- pre { padding: 1ch; background-color: #f5f5f5 }
+ pre {
+ padding: 1ch;
+ background-color: #f5f5f5;
+ overflow: auto;
+ }
</style>
'
@@ -26,6 +30,7 @@ genhtml() (
echo "<!-- generated by build.sh. DO NOT EDIT. -->"
echo "<html lang=\"${lang:-en}\">"
echo "<title>$title</title>"
+ [ "$description" ] && echo "<meta name=\"description\" content=\"$description\">"
echo "$header"
[ "$1" != . ] && echo "<a href=\"..\">$blog_title</a><hr>"