Typo fixes

This commit is contained in:
panr 2019-01-29 11:07:58 +01:00
parent 6c68bd63ae
commit e65d3fbbc8
2 changed files with 3 additions and 6 deletions

View File

@ -7,9 +7,6 @@ paginate = 5
contentTypeName = "post"
themeColor = "orange"
[params.logo]
logoText = "Terminal"
[languages]
[languages.en]
title = "Terminal"
@ -20,7 +17,7 @@ paginate = 5
readOtherPosts = "Read other posts"
[languages.en.params.logo]
logoText = "terminal"
logoText = "Terminal"
logoHomeLink = "/"
[languages.en.menu]

View File

@ -1,5 +1,5 @@
<a href="{{ if .Site.Params.Logo.LogoHomeLink }}{{ .Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}" style="text-decoration: none;">
<a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}" style="text-decoration: none;">
<div class="logo">
{{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}Terminal{{ end }}
{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}Terminal{{ end }}
</div>
</a>