diff options
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 7e61ec6..ef1ae00 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,7 +11,7 @@ </div> </div> -{{ partial "top-content.html" . }} +{{ if isset .Site.Params "withTopContent" }}{{ partial "top-content.html" . }}{{ end }} <!-- <div class="row"> @@ -33,11 +33,13 @@ </div> </div> <!-- /.row --> +{{ if isset .Site.Params "withSitePosts" }} <hr /> <div class="row doc-main text-center"> <a href="{{ $baseUrl }}/post">See posts for {{ .Site.Title }}</a> </div> +{{ end }} </main> |