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:
authorMurali Mohan Rath <murali@mmrath.com>2017-08-20 13:56:19 +0300
committerMurali Mohan Rath <murali@mmrath.com>2017-08-20 13:56:19 +0300
commita19384c37d20f387c706278ef111605ca1c972a2 (patch)
tree470ca9a9b7a899b592c9135478a408a088bb4904 /layouts
parent9ba4da9aed6f23ba0f741936fb8f21541cf750b0 (diff)
parentc590e88c9e48d498428f2437258713ffa2e725e7 (diff)
Merge branch 'master' of https://github.com/mmrath/hugo-bootstrap
Diffstat (limited to 'layouts')
-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 }}