mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-11-28 23:16:39 +01:00
Make Logo Optional by providing an empty string
Since not every user has a nice logo at hand I find it useful to have the option to not include a logo. By default cocoa-eh would still show a 'logo' hyperlink. I would at least try to make this theme work without any basefiles given (even thoug the basic cocoa theme is available)
This commit is contained in:
committed by
Michael Noronha
parent
b03f2d71fe
commit
a36d787cf1
@@ -11,7 +11,9 @@
|
||||
<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>
|
||||
{{ end }}
|
||||
<div class="content">
|
||||
<a href="{{ .Site.BaseURL }}"><div class="name"><h1>{{ .Site.Title }}</h1></div></a>
|
||||
<nav>
|
||||
|
||||
Reference in New Issue
Block a user