mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 09:12:47 +00:00
Add support for logo in main Site-header
This commit is contained in:
parent
d5b87cb15e
commit
e76efc7ac5
@ -6,9 +6,13 @@
|
||||
<div class="bg-black-60">
|
||||
{{ partial "site-navigation.html" .}}
|
||||
<div class="tc-l pv4 pv6-l ph3 ph4-ns">
|
||||
{{ if .Site.Params.logo }}
|
||||
<img src="{{ .Site.Params.logo }}" class="w-third-ns" alt="{{ .Title | default .Site.Title }}" />
|
||||
{{ else }}
|
||||
<h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title">
|
||||
{{ .Title | default .Site.Title }}
|
||||
</h1>
|
||||
{{ end }}
|
||||
{{ with .Params.description }}
|
||||
<h2 class="fw1 f5 f3-l white-80 measure-wide-l center mt3">
|
||||
{{ . }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user