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

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/jumbotron.html')
-rw-r--r--layouts/partials/jumbotron.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/jumbotron.html b/layouts/partials/jumbotron.html
index fa668f3..26503bb 100644
--- a/layouts/partials/jumbotron.html
+++ b/layouts/partials/jumbotron.html
@@ -72,8 +72,8 @@
<a class="btn btn-default" href="{{"episode/index.xml" | absURL }}"><i class="fa fa-rss"></i>&nbsp;Podcast</a>
</div>
{{ end }}
-
- {{ if ge (len .Site.Pages) 1 }}
+ {{ $blog := (where .Site.RegularPages "Section" "==" "blog") }}
+ {{ if ge (len $blog) 1 }}
<div class = "d-flex p-2 subscribe_buttons col-md-auto">
<a class="btn btn-default" href="{{"blog/index.xml" | absURL }}"><i class="fa fa-rss"></i>&nbsp;Blog</a>
</div>