Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <daniel.saunders@gmail.com>2020-01-14 01:39:54 +0300
committerDaniel Saunders <daniel.saunders@gmail.com>2020-01-14 01:39:54 +0300
commitc0467583e57abd758b2f4d97bd2038d9fab0aa50 (patch)
tree5cced4a81e98b2568253864c0f068ecd84acfed7
parent7ffdc71fd0daa871e03baf8bc62041f9cc87bd82 (diff)
Closes #28
-rw-r--r--exampleSite/content/posts/style-guide.md5
-rw-r--r--layouts/partials/article.html9
2 files changed, 8 insertions, 6 deletions
diff --git a/exampleSite/content/posts/style-guide.md b/exampleSite/content/posts/style-guide.md
index cefc287..b032202 100644
--- a/exampleSite/content/posts/style-guide.md
+++ b/exampleSite/content/posts/style-guide.md
@@ -1,8 +1,9 @@
+++
title = "Style Guide"
date = 2017-11-14T10:57:55-05:00
-tags = []
+tags = ["Layout"]
categories = []
+meta = true
+++
# Headings
@@ -197,4 +198,4 @@ Definition Term 2
# Media and Form Elements
-The remaining sections contain elements that cannot be represented in markdown. Please consult [the HTML version](https://github.com/bryanbraun/poor-mans-styleguide/blob/gh-pages/index.html), to see these elements. \ No newline at end of file
+The remaining sections contain elements that cannot be represented in markdown. Please consult [the HTML version](https://github.com/bryanbraun/poor-mans-styleguide/blob/gh-pages/index.html), to see these elements.
diff --git a/layouts/partials/article.html b/layouts/partials/article.html
index 6644012..12f3903 100644
--- a/layouts/partials/article.html
+++ b/layouts/partials/article.html
@@ -2,11 +2,12 @@
<h1>{{ .Title }}</h1>
- {{ if or (not (isset .Params "meta")) (eq .Params "meta" true) }}
- {{ partial "aside" . }}
- {{ partial "featured_image" .}}
+ {{ if or (not (isset .Params "meta")) (eq .Params.meta true) }}
+ {{ partial "aside" . }}
{{ end }}
- {{.Content}}
+ {{ partial "featured_image" . }}
+
+ {{ .Content }}
</article>