diff options
author | Li-aung 'Lewis' Yip <liaung@gmail.com> | 2016-12-30 14:42:08 +0300 |
---|---|---|
committer | Li-aung 'Lewis' Yip <liaung@gmail.com> | 2016-12-30 14:42:08 +0300 |
commit | aad73de8b55269523e319cd4725c64c744011b6b (patch) | |
tree | ad734ffb5f5ae1e5fab3860515871fa4a018b4cf | |
parent | 5214729d681963bdfb4b78412a2fa63833b3135c (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.html | 1 |
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"> |