Add logo to header and nabber

lektura
Marc Horne 2017-06-19 15:40:46 +02:00
parent d692633d88
commit f38f407299
3 changed files with 4 additions and 7 deletions

View File

@ -42,9 +42,6 @@
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}
{{ with $.Site.Params.resources.modal.buttonText }}
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i>{{.}}</button>
{{ end }}
</div> </div>
</div> </div>
</div> </div>

View File

@ -10,7 +10,8 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
{{ with .Site.Params.navigation.brand }} {{ with .Site.Params.navigation.brand }}
<a class="navbar-brand page-scroll" href="#page-top">{{ . | markdownify }}</a> <img src="../img/logo-header.png" alt="Logo" />
<!--<a class="navbar-brand page-scroll" href="#page-top">{{ . | markdownify }}</a>-->
{{ end }} {{ end }}
</div> </div>
{{ "<!-- Collect the nav links, forms, and other content for toggling -->" | safeHTML }} {{ "<!-- Collect the nav links, forms, and other content for toggling -->" | safeHTML }}

View File

@ -2,9 +2,8 @@
<header> <header>
<div class="header-content"> <div class="header-content">
<div class="header-content-inner"> <div class="header-content-inner">
{{ with .Site.Params.start.slogan }} <img src="../img/logo.png" alt="Logo" />
<h1>{{ . | markdownify }}</h1>
{{ end }}
{{ if and .Site.Params.start.slogan .Site.Params.start.subtitle }} {{ if and .Site.Params.start.slogan .Site.Params.start.subtitle }}
<hr> <hr>
{{ end }} {{ end }}