diff --git a/docs/blocks/node.html b/docs/blocks/node.html deleted file mode 100644 index 5eaa1d3..0000000 --- a/docs/blocks/node.html +++ /dev/null @@ -1,14 +0,0 @@ -<# Default node #>& -<# - # Main page block for content - #>& -<%define BODY_BLOCK - <%include blocks/body/markup.html> ->& -<# - # Inherit default layout - #>& -<%include blocks/default.html>& -<# -vim:ts=2:sw=2:ai:et:fileencoding=utf8:syntax=perl -#>& diff --git a/docs/config.yaml b/docs/config.yaml index b37efc1..ea0568c 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -22,7 +22,6 @@ # Changes from defaults Destination: /tmp/jqt # fast RAM disk -Layouts: ./blocks # shared space # # Site parameters diff --git a/docs/content/blog/2017-04-13-Hello.md b/docs/content/blog/2017-04-13-Hello.md new file mode 100644 index 0000000..37ae0e0 --- /dev/null +++ b/docs/content/blog/2017-04-13-Hello.md @@ -0,0 +1,28 @@ +--- +layout: post +title: Neque porro quisquam est qui dolorem +description: | + Sed nec mauris vel lectus viverra ullamcorper. Maecenas urna dui, lobortis + in risus quis, hendrerit pretium elit. +keywords: a, b, c +#author: Joan Josep Ordinas Rosa +tags: null +slug: hello +published: "2017-04-13T06:45:07Z" +updated: "2017-04-13T06:45:07Z" +--- + +## Lorem ipsum dolor sit amet + +Sed nec mauris vel lectus viverra ullamcorper. Maecenas urna dui, lobortis in +risus quis, hendrerit pretium elit. Integer venenatis scelerisque lorem, id +suscipit eros lobortis vel. Cum sociis natoque penatibus et magnis dis +parturient montes, nascetur ridiculus mus. Fusce commodo tortor vitae feugiat +tempor. Curabitur ac elementum nisl, fermentum sodales leo. Donec convallis +arcu eget eleifend scelerisque. Nunc ipsum ligula, ultricies dignissim blandit +sed, efficitur et mi. Mauris in metus ex. Ut condimentum tempor risus sed +auctor. + + diff --git a/docs/content/blog/_index.md b/docs/content/blog/_index.md new file mode 100644 index 0000000..68baf44 --- /dev/null +++ b/docs/content/blog/_index.md @@ -0,0 +1,8 @@ +--- +layout: blog +title: Blog posts +published: "2017-04-13T06:45:07Z" +updated: "2017-04-13T06:45:07Z" +--- + +<# rien de rien #> diff --git a/docs/layouts/blog.html b/docs/layouts/blog.html new file mode 100644 index 0000000..e69de29 diff --git a/docs/blocks/default.html b/docs/layouts/default.html similarity index 100% rename from docs/blocks/default.html rename to docs/layouts/default.html diff --git a/docs/blocks/page-toc.html b/docs/layouts/page-toc.html similarity index 87% rename from docs/blocks/page-toc.html rename to docs/layouts/page-toc.html index 3d53000..bfa7654 100644 --- a/docs/blocks/page-toc.html +++ b/docs/layouts/page-toc.html @@ -8,7 +8,7 @@ <# # Inherit default layout #>& -<%include blocks/default.html>& +<%include layouts/default.html>& <# vim:ts=2:sw=2:ai:et:fileencoding=utf8:syntax=perl #>& diff --git a/docs/blocks/page.html b/docs/layouts/page.html similarity index 86% rename from docs/blocks/page.html rename to docs/layouts/page.html index 548c693..d394324 100644 --- a/docs/blocks/page.html +++ b/docs/layouts/page.html @@ -8,7 +8,7 @@ <# # Inherit default layout #>& -<%include blocks/default.html>& +<%include layouts/default.html>& <# vim:ts=2:sw=2:ai:et:fileencoding=utf8:syntax=perl #>& diff --git a/docs/layouts/post.html b/docs/layouts/post.html new file mode 100644 index 0000000..e69de29 diff --git a/docs/layouts/tag.html b/docs/layouts/tag.html new file mode 100644 index 0000000..e69de29 diff --git a/docs/layouts/tags.html b/docs/layouts/tags.html new file mode 100644 index 0000000..e69de29 diff --git a/docs/make.d/pathnames.make b/docs/make.d/pathnames.make index a3e8080..4647cf7 100644 --- a/docs/make.d/pathnames.make +++ b/docs/make.d/pathnames.make @@ -28,7 +28,7 @@ # Markdown documents found in the filesystem (only `.md` extensions). #i_suffixes := -name '*.md' -o -name '*.mkd' -o -name '*.markdown' -i_suffixes := -name '*.md' +i_suffixes := -name '[!_]*.md' i_documents := $(sort $(shell find $(Content) -type f -a $(i_suffixes))) # Unique paths to documents directories.