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

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim O'Guin <tim.oguin@cbsinteractive.com>2019-04-11 01:19:45 +0300
committerTim O'Guin <tim.oguin@cbsinteractive.com>2019-04-11 01:19:45 +0300
commita83818abf5b7b6af41a257eb99d7cb8d304fd713 (patch)
tree0c48fb997b208cb129e0d07f76c75af3438906e4
parente7e96becd6f8af9d6ddd838b41002bc1f8b21c5f (diff)
Fix typo for homepage_button_text param
Fixes typo in layout and example site. Closes #7.
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c1d210f..4c768a9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -21,7 +21,7 @@ pygmentsUseClasses = true
[params]
google_analytics_id=""
homepage_button_link = '/docs'
- homeoage_button_text = 'Read The Docs'
+ homepage_button_text = 'Read The Docs'
homepage_intro = 'Whisper is a documentation theme built with Hugo. The design and functionality is intentionally minimal.'
homepage_image = '/images/terminal.gif'
diff --git a/layouts/index.html b/layouts/index.html
index 6047643..f3e0749 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -29,7 +29,7 @@
{{ end }}
</div>
<a class="button button-primary mb-2" href="{{ .Site.Params.homepage_button_link | relURL }}">
- {{ .Site.Params.homeoage_button_text }}
+ {{ .Site.Params.homepage_button_text }}
</a>
</div>
</div>