diff options
author | Alexey Tsverov <targence@gmail.com> | 2017-08-01 02:35:12 +0300 |
---|---|---|
committer | Murali <mmrath@gmail.com> | 2017-08-01 02:35:12 +0300 |
commit | c590e88c9e48d498428f2437258713ffa2e725e7 (patch) | |
tree | 10db58e22122451f1f921493cb2c1571356372b0 | |
parent | decbfa5f09cc25fe0ebccb2bc810e1646d3bbe5d (diff) |
recent_articles = false in config not working (#12)
-rw-r--r-- | layouts/partials/widgets/recent_articles.html | 2 |
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 }} |