summaryrefslogtreecommitdiff
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
parent9e53afd65415dba3bccefaf4a455c7661f52761c (diff)
add description
-rwxr-xr-xbuild.sh7
-rw-r--r--index.html7
-rw-r--r--meta.sh1
-rw-r--r--yaegi-internals/index.html7
-rw-r--r--yaegi-internals/meta.sh1
5 files changed, 20 insertions, 3 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>"
diff --git a/index.html b/index.html
index 6bbee46..50f29d5 100644
--- a/index.html
+++ b/index.html
@@ -2,6 +2,7 @@
<!-- generated by build.sh. DO NOT EDIT. -->
<html lang="en">
<title>Marc's Programming Notes</title>
+<meta name="description" content="A blog about programming">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@@ -12,7 +13,11 @@
text-align: justify;
}
h1 { text-align: center }
- pre { padding: 1ch; background-color: #f5f5f5 }
+ pre {
+ padding: 1ch;
+ background-color: #f5f5f5;
+ overflow: auto;
+ }
</style>
<h1 id="marcs-programming-notes">Marc’s Programming Notes</h1>
diff --git a/meta.sh b/meta.sh
index 1ef75f3..17f93d9 100644
--- a/meta.sh
+++ b/meta.sh
@@ -1,3 +1,4 @@
title="Marc's Programming Notes"
author="Marc Vertes"
+description="A blog about programming"
date="03 may 2023"
diff --git a/yaegi-internals/index.html b/yaegi-internals/index.html
index bcd5244..3312763 100644
--- a/yaegi-internals/index.html
+++ b/yaegi-internals/index.html
@@ -2,6 +2,7 @@
<!-- generated by build.sh. DO NOT EDIT. -->
<html lang="en">
<title>Yaegi Internals</title>
+<meta name="description" content="Design and implementation of a Go interpreter">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@@ -12,7 +13,11 @@
text-align: justify;
}
h1 { text-align: center }
- pre { padding: 1ch; background-color: #f5f5f5 }
+ pre {
+ padding: 1ch;
+ background-color: #f5f5f5;
+ overflow: auto;
+ }
</style>
<a href="..">Marc's Programming Notes</a><hr>
diff --git a/yaegi-internals/meta.sh b/yaegi-internals/meta.sh
index 4eef2a2..6125ced 100644
--- a/yaegi-internals/meta.sh
+++ b/yaegi-internals/meta.sh
@@ -1,4 +1,5 @@
blog_title="Marc's Programming Notes"
title="Yaegi Internals"
author="Marc Vertes"
+description="Design and implementation of a Go interpreter"
date="03 may 2023"