Skip to content

Commit

Permalink
Segregated layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
fadado committed Apr 13, 2017
1 parent f6cbc71 commit 20c148f
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 18 deletions.
14 changes: 0 additions & 14 deletions docs/blocks/node.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

# Changes from defaults
Destination: /tmp/jqt # fast RAM disk
Layouts: ./blocks # shared space

#
# Site parameters
Expand Down
28 changes: 28 additions & 0 deletions docs/content/blog/2017-04-13-Hello.md
Original file line number Diff line number Diff line change
@@ -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.

<!--
vim:ts=4:sw=4:ai:et:fileencoding=utf8:syntax=markdown
-->
8 changes: 8 additions & 0 deletions docs/content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: blog
title: Blog posts
published: "2017-04-13T06:45:07Z"
updated: "2017-04-13T06:45:07Z"
---

<# rien de rien #>
Empty file added docs/layouts/blog.html
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/blocks/page-toc.html → docs/layouts/page-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
#>&
2 changes: 1 addition & 1 deletion docs/blocks/page.html → docs/layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
#>&
Empty file added docs/layouts/post.html
Empty file.
Empty file added docs/layouts/tag.html
Empty file.
Empty file added docs/layouts/tags.html
Empty file.
2 changes: 1 addition & 1 deletion docs/make.d/pathnames.make
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 20c148f

Please sign in to comment.