Merge pull request #8 from timoguin/fix/homepage-button-text-typo

Fix typo for homepage_button_text param
This commit is contained in:
Robert Austin 2019-04-11 08:25:56 +10:00 committed by GitHub
commit fa24be58a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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>