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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Moreno <adrian@morenomartinez.com>2016-06-29 17:52:12 +0300
committerAdrian Moreno <adrian@morenomartinez.com>2016-06-29 17:52:12 +0300
commit8282522f548cd23a1119e4c52d5ae1df8fc46469 (patch)
tree89d95ef44935fb428c13b49b597c94f3f37d8ec3 /layouts/partials/blog.html
parent8f067fb99323e5053006053c19f2a7b3341b23cc (diff)
Store homepage configuration in data directory
Diffstat (limited to 'layouts/partials/blog.html')
-rw-r--r--layouts/partials/blog.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/partials/blog.html b/layouts/partials/blog.html
index 555efa4..45dd722 100644
--- a/layouts/partials/blog.html
+++ b/layouts/partials/blog.html
@@ -1,16 +1,16 @@
+{{ if isset .Site.Params "recent_posts" }}
+{{ if .Site.Params.recent_posts.enable }}
<section class="bar background-white no-mb">
<div class="container">
<div class="col-md-12">
<div class="heading text-center">
- <h2>From our blog</h2>
+ <h2>{{ .Site.Params.recent_posts.title }}</h2>
</div>
- {{ if isset .Site.Params "blog_intro" }}
<p class="lead">
- {{ .Site.Params.blog_intro }}
+ {{ .Site.Params.recent_posts.subtitle }}
</p>
- {{ end }}
<!-- *** BLOG HOMEPAGE *** -->
@@ -62,3 +62,5 @@
<!-- /.container -->
</section>
<!-- /.bar -->
+{{ end }}
+{{ end }}