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

github.com/mmrath/hugo-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Tsverov <targence@gmail.com>2017-08-01 02:35:12 +0300
committerMurali <mmrath@gmail.com>2017-08-01 02:35:12 +0300
commitc590e88c9e48d498428f2437258713ffa2e725e7 (patch)
tree10db58e22122451f1f921493cb2c1571356372b0
parentdecbfa5f09cc25fe0ebccb2bc810e1646d3bbe5d (diff)
recent_articles = false in config not working (#12)
-rw-r--r--layouts/partials/widgets/recent_articles.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/widgets/recent_articles.html b/layouts/partials/widgets/recent_articles.html
index ea1f6c9..852441a 100644
--- a/layouts/partials/widgets/recent_articles.html
+++ b/layouts/partials/widgets/recent_articles.html
@@ -1,3 +1,4 @@
+{{ if .Site.Params.recent_articles.categories }}
<div class="card card-block">
<h4 class="card-title">RECENTS</h4>
<div class="card-text">
@@ -29,3 +30,4 @@
</div>
</div>
</div>
+{{ end }}