morpheus-site

morpheus.2f30.org website
git clone git://git.2f30.org/morpheus-site
Log | Files | Refs | README | LICENSE

commit 94bed6022e16b4095581d31c38056be14675d4c3
parent 0021ca4a84545a79a389e5936afd3e427908da8f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 15 Dec 2013 20:32:02 +0100

update readme and use unix newlines

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
MREADME.md | 32++++++++++++++++----------------
Dconfig.sh | 33---------------------------------
Asite.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-template.sh). - -The page content is the basename of the shellscript + .html (see pages/example-page-template.html). Markdown should be supported, but is untested for now. - -\<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-template.sh). + +The page content is the basename of the shellscript + .html (see pages/example-page-template.html). Markdown should be supported, but is untested for now. + +\<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-related things" -# Admin mail, handy to use on site. -# TODO: remove adminmail? -adminmail="hiltjo@AT@codemadness.DOT.org" -# used for "mail link" -sitemail="hiltjo@AT@codemadness.DOT.org" - -# 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-related things" +# used for contact "mail link". +sitemail="hiltjo@AT@codemadness.DOT.org" + +# 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"