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

github.com/gizak/nofancy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-aung 'Lewis' Yip <liaung@gmail.com>2016-12-30 14:42:08 +0300
committerLi-aung 'Lewis' Yip <liaung@gmail.com>2016-12-30 14:42:08 +0300
commitaad73de8b55269523e319cd4725c64c744011b6b (patch)
treead734ffb5f5ae1e5fab3860515871fa4a018b4cf
parent5214729d681963bdfb4b78412a2fa63833b3135c (diff)
Add {{ .Content }} to index template, to allow rendering of _index.md content into index pages. (New capability in Hugo 1.8).
-rw-r--r--layouts/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fb1c464..7ecc689 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,6 +5,7 @@
<div class="pure-u-1-24 pure-u-md-5-24"></div>
<div class="pure-u-11-12 pure-u-md-5-8">
<div class="post-content">
+ {{ .Content }}
<p class="posts-name">Recent posts:</p>
<ul class="posts">