mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 19:26:40 +02:00
Amend handling of logofile not being set
This commit is contained in:
@@ -11,8 +11,10 @@
|
||||
<div class="header header-home column">
|
||||
{{ end }}
|
||||
<div class="container">
|
||||
{{ if ne .Site.Params.logofile "" }}
|
||||
<a href="{{ .Site.BaseURL }}"><img class="logo" src="{{ .Site.Params.logofile | absURL }}" alt="logo" /></a>
|
||||
{{ if (not (isset .Site.Params "logofile")) }}
|
||||
<a href="https://github.com/mtn/cocoa-eh-hugo-theme/wiki/Configuration#logo">Logo HOWTO</a>
|
||||
{{ else if ne .Site.Params.logofile "" }}
|
||||
<a href="{{ .Site.BaseURL }}"><img class="logo" src="{{ .Site.Params.logofile | absURL }}" alt="logo"></a>
|
||||
{{ end }}
|
||||
<div class="content">
|
||||
<a href="{{ .Site.BaseURL }}"><div class="name"><h1>{{ .Site.Title }}</h1></div></a>
|
||||
|
Reference in New Issue
Block a user