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

github.com/zwbetz-gh/vanilla-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Betz <zwbetz@gmail.com>2018-12-29 21:44:53 +0300
committerZachary Betz <zwbetz@gmail.com>2018-12-29 21:44:53 +0300
commitb67f98c1f59dd5565743799a558d7d7dfb429b9d (patch)
treed7a46716e9cce6cd0b59fb5efefbb0b911bef9e4 /layouts
parentc1faca8ec03d0334e64d10c5acbdeedbbd1488f9 (diff)
Remove default for homeText and footerText
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html3
-rw-r--r--layouts/partials/footer.html3
2 files changed, 2 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 3aac94e..2a28859 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,8 +2,7 @@
<div id="home-jumbotron" class="jumbotron text-center">
<h1 class="display-4">{{ .Site.Title }}</h1>
- {{ $defaultHomeText := "TODO set <code>homeText</code> in your config file." }}
- <p class="lead">{{ .Site.Params.homeText | default $defaultHomeText | markdownify }}</p>
+ <p class="lead">{{ .Site.Params.homeText | markdownify }}</p>
</div>
{{ end }} \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 9d15619..3f735a7 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,5 @@
<footer id="footer" class="mt-auto text-center text-secondary">
<div class="container">
- {{ $defaultFooterText := "TODO set <code>footerText</code> in your config file." }}
- {{ .Site.Params.footerText | default $defaultFooterText | markdownify }}
+ {{ .Site.Params.footerText | markdownify }}
</div>
</footer> \ No newline at end of file