add pages again - static-site-scripts - static site generator shellscripts
(HTM) git clone git://git.codemadness.org/static-site-scripts
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3d19254a303d415ca128ce07605f336f76e394b1
(DIR) parent 4a974d5c74111b244f359c51a5adf37e13a54d86
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 28 Feb 2014 12:47:00 +0100
add pages again
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
A pages/001-html-example.html | 1 +
A pages/001-html-example.sh | 13 +++++++++++++
A pages/002-markdown-example.md | 61 +++++++++++++++++++++++++++++++
A pages/002-markdown-example.sh | 14 ++++++++++++++
4 files changed, 89 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/pages/001-html-example.html b/pages/001-html-example.html
@@ -0,0 +1 @@
+<p>This is an example page :)</p>
(DIR) diff --git a/pages/001-html-example.sh b/pages/001-html-example.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+title="HTML example"
+description="description here"
+timecreated="2013-01-01 00:00"
+timeupdated="2013-01-01 00:00"
+#id="html-example"
+#url="${id}.html"
+#tags="tags, comma, separated"
+#keywords="keywords, comma, separated"
+#categories="Category name"
+#timestamp="2013-01-01"
+#author="author"
+#content="custom stuff"
(DIR) diff --git a/pages/002-markdown-example.md b/pages/002-markdown-example.md
@@ -0,0 +1,61 @@
+simple tests
+------------
+
+first paragraph.
+testing surround: _emph_ then **strong** and `code`.
+
+`\`escaped backticks\``.
+
+`x = *y * 6;`
+
+horizontal rule:
+
+- - -
+
+
+blocks and entities
+-------------------
+
+preformatted block:
+ .'''' .'.'. | |
+ '''. | ' | | |
+ '''' ' ' ""
+
+quoted text:
+> When in doubt,
+> use brute force.
+
+list:
+* Make each program do one thing well.
+* Expect the output of every program to become the input to another,
+as yet unknown, program.
+* Design and build software, even operating systems, to be tried early,
+ideally within weeks.
+* Use tools in preference to unskilled help to lighten a programming task.
+
+list in list:
+* a
+ * b
+ 1. c
+ 2. d
+ * e
+* f
+
+entity: &, <, >
+
+code:
+ int powerof2(unsigned int n) {
+ return !((n - 1) & n) && n > 0;
+ }
+
+links
+-----
+
+[suckless](http://suckless.org)
+
+inline html
+-----------
+
+<center>
+ ABC
+</center>
(DIR) diff --git a/pages/002-markdown-example.sh b/pages/002-markdown-example.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+title="Markdown example"
+description="description here"
+timecreated="2013-01-01 00:00"
+timeupdated="2013-01-01 00:00"
+author="Bob"
+#id="markdown-example"
+#url="${id}.html"
+#tags="tags, comma, separated"
+#keywords="keywords, comma, separated"
+#categories="Category name"
+#timestamp="2013-01-02"
+#author="author"
+#content="custom stuff"