From 58b4a9fe9fa573bd97026cfb5cc8781fe308d7eb Mon Sep 17 00:00:00 2001 From: Bruno Date: Sun, 30 Aug 2015 15:47:31 +0800 Subject: [PATCH] initial import --- config.yaml | 3 +++ content/test.md | 43 +++++++++++++++++++++++++++++++ layouts/_default/default.html | 5 ++++ layouts/shortcodes/column.html | 3 +++ layouts/shortcodes/container.html | 3 +++ layouts/shortcodes/row.html | 3 +++ static/.gitkeep | 0 7 files changed, 60 insertions(+) create mode 100644 config.yaml create mode 100644 content/test.md create mode 100644 layouts/_default/default.html create mode 100644 layouts/shortcodes/column.html create mode 100644 layouts/shortcodes/container.html create mode 100644 layouts/shortcodes/row.html create mode 100644 static/.gitkeep diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..b8999d0 --- /dev/null +++ b/config.yaml @@ -0,0 +1,3 @@ +baseurl: http://localhost +title: Hugo bug +metaDataFormat: yaml diff --git a/content/test.md b/content/test.md new file mode 100644 index 0000000..e539230 --- /dev/null +++ b/content/test.md @@ -0,0 +1,43 @@ +--- +date: 2015-08-30 +title: Test +layout: default +--- + +Before Container + +{{% container %}} + +begin container. + +before row + +{{% row %}} + +row content + +before column + +{{% column %}} + +Content column 1 + +{{% /column %}} + +between columsn + +{{% column %}} + +Content column 2 + +{{% /column %}} + +after column + +{{% /row %}} + +After row + +{{% /container %}} + +after container diff --git a/layouts/_default/default.html b/layouts/_default/default.html new file mode 100644 index 0000000..7481b96 --- /dev/null +++ b/layouts/_default/default.html @@ -0,0 +1,5 @@ + + +{{ .Content }} + + diff --git a/layouts/shortcodes/column.html b/layouts/shortcodes/column.html new file mode 100644 index 0000000..21a6b82 --- /dev/null +++ b/layouts/shortcodes/column.html @@ -0,0 +1,3 @@ +
+ {{ .Inner }} +
\ No newline at end of file diff --git a/layouts/shortcodes/container.html b/layouts/shortcodes/container.html new file mode 100644 index 0000000..140309d --- /dev/null +++ b/layouts/shortcodes/container.html @@ -0,0 +1,3 @@ +
+ {{ .Inner }} +
\ No newline at end of file diff --git a/layouts/shortcodes/row.html b/layouts/shortcodes/row.html new file mode 100644 index 0000000..c206fbb --- /dev/null +++ b/layouts/shortcodes/row.html @@ -0,0 +1,3 @@ +
+ {{ .Inner }} +
\ No newline at end of file diff --git a/static/.gitkeep b/static/.gitkeep new file mode 100644 index 0000000..e69de29