put site generator configurable in one place: config.cfg - saait - the most bor… | |
git clone git://git.codemadness.org/saait | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d5820b0d6a3f9105d19e9f35e14da5c790e1846d | |
parent 62f181347393a0c3c5516c2b47bc6fe71d6760c1 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Wed, 16 Oct 2019 09:53:34 +0200 | |
put site generator configurable in one place: config.cfg | |
If someone uses saait, there is no need to advertise saait if you dont want. | |
Feel free to remove it. | |
Diffstat: | |
M config.cfg | 2 ++ | |
M templates/index.html/header.html | 2 +- | |
M templates/page/header.html | 2 +- | |
3 files changed, 4 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/config.cfg b/config.cfg | |
@@ -9,6 +9,8 @@ sitetitle=Codemadness | |
siteurl=https://www.codemadness.org | |
# site mail used for contact "mail link". | |
sitemail=hiltjo@[email protected] | |
+# site generator | |
+sitegenerator=saait (https://git.codemadness.org/saait/file/README.html) | |
# page | |
diff --git a/templates/index.html/header.html b/templates/index.html/header.html | |
@@ -7,7 +7,7 @@ | |
<meta content="${keywords}" name="keywords" /> | |
<meta content="${description}" name="description" /> | |
<meta content="${author}" name="author" /> | |
- <meta content="saait (https://git.codemadness.org/saait/file/README.ht… | |
+ <meta content="${sitegenerator}" name="generator" /> | |
<title>Posts - ${sitetitle}</title> | |
<link rel="stylesheet" href="style.css" type="text/css" media="screen"… | |
<link rel="stylesheet" href="print.css" type="text/css" media="print" … | |
diff --git a/templates/page/header.html b/templates/page/header.html | |
@@ -7,7 +7,7 @@ | |
<meta content="${keywords}" name="keywords" /> | |
<meta content="${description}" name="description" /> | |
<meta content="${author}" name="author" /> | |
- <meta content="saait (https://git.codemadness.org/saait/file/README.ht… | |
+ <meta content="${sitegenerator}" name="generator" /> | |
<title>${title} - ${sitetitle}</title> | |
<link rel="stylesheet" href="style.css" type="text/css" media="screen"… | |
<link rel="stylesheet" href="print.css" type="text/css" media="print" … |