update readme and use unix newlines - static-site-scripts - static site generat… | |
git clone git://git.codemadness.org/static-site-scripts | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 94bed6022e16b4095581d31c38056be14675d4c3 | |
parent 0021ca4a84545a79a389e5936afd3e427908da8f | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 15 Dec 2013 20:32:02 +0100 | |
update readme and use unix newlines | |
Signed-off-by: Hiltjo Posthuma <[email protected]> | |
Diffstat: | |
M README.md | 32 ++++++++++++++++-------------… | |
D config.sh | 33 -----------------------------… | |
A site.conf | 26 ++++++++++++++++++++++++++ | |
3 files changed, 42 insertions(+), 49 deletions(-) | |
--- | |
diff --git a/README.md b/README.md | |
@@ -1,16 +1,16 @@ | |
-Usage | |
-===== | |
- | |
-sh generate.sh [configfile] | |
- | |
-the default config file is ./config.sh | |
- | |
- | |
-Pages | |
-===== | |
- | |
-Pages are defined as shellscripts containing metadata (see pages/example-page-… | |
- | |
-The page content is the basename of the shellscript + .html (see pages/example… | |
- | |
-\<insert you favorite template language\> can easily be added to generate.sh. | |
+Usage | |
+===== | |
+ | |
+sh generate.sh [configfile] | |
+ | |
+the default config file is ./site.conf | |
+ | |
+ | |
+Pages | |
+===== | |
+ | |
+Pages are defined as shellscripts containing metadata (see pages/example-page-… | |
+ | |
+The page content is the basename of the shellscript + .html (see pages/example… | |
+ | |
+\<insert you favorite template language\> can easily be added to generate.sh. | |
diff --git a/config.sh b/config.sh | |
@@ -1,33 +0,0 @@ | |
-# Fix for running on Cygwin =/ | |
-export PATH="/bin:/usr/bin" | |
- | |
-# Site title (part of $pagetitle probably). | |
-sitetitle="Codemadness" | |
-# Main site domain. | |
-sitedomain="http://www.codemadness.nl" | |
-# Short site domain. | |
-sitedomainshort="codemadness.nl" | |
-# Relative site url. | |
-siterelurl="" | |
-# Full site url. | |
-sitefullurl="${sitedomain}${siterelurl}" | |
-# Site keywords (default). | |
-sitekeywords="blog, suckless, dwm-hiltjo" | |
-# Site description (default). | |
-sitedescription="blog with various projects and articles about computer-relate… | |
-# Admin mail, handy to use on site. | |
-# TODO: remove adminmail? | |
-adminmail="hiltjo@[email protected]" | |
-# used for "mail link" | |
-sitemail="hiltjo@[email protected]" | |
- | |
-# Directories containing content and metadata. | |
-pagesdir="pages" | |
-# Output dir. | |
-outputdir="output" | |
- | |
-# Layout file. | |
-layoutdir="layout" | |
- | |
-# TODO: markdown program: http://freecode.com/projects/smu | |
-markdown="smu" | |
diff --git a/site.conf b/site.conf | |
@@ -0,0 +1,26 @@ | |
+# Site title (part of ${pagetitle} probably). | |
+sitetitle="Codemadness" | |
+# Main site domain. | |
+sitedomain="http://www.codemadness.nl" | |
+# Short site domain. | |
+sitedomainshort="codemadness.nl" | |
+# Relative site url. | |
+siterelurl="" | |
+# Full site url. | |
+sitefullurl="${sitedomain}${siterelurl}" | |
+# Site keywords (default). | |
+sitekeywords="blog, suckless, dwm-hiltjo" | |
+# Site description (default). | |
+sitedescription="blog with various projects and articles about computer-relate… | |
+# used for contact "mail link". | |
+sitemail="hiltjo@[email protected]" | |
+ | |
+# Directories containing content and metadata. | |
+pagesdir="pages" | |
+# Output dir. | |
+outputdir="output" | |
+# Layout dir. | |
+layoutdir="layout" | |
+ | |
+# TODO: markdown program: http://freecode.com/projects/smu | |
+markdown="smu" |