saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit d5820b0d6a3f9105d19e9f35e14da5c790e1846d
parent 62f181347393a0c3c5516c2b47bc6fe71d6760c1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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:
Mconfig.cfg | 2++
Mtemplates/index.html/header.html | 2+-
Mtemplates/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@AT@codemadness.DOT.org +# 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.html)" name="generator" /> + <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.html)" name="generator" /> + <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" />