add support for /assets/img/titre.png
This commit is contained in:
parent
ef742ffa13
commit
0c03b64138
|
@ -1,7 +1,13 @@
|
|||
{{ $currentPage := . }}
|
||||
<header>
|
||||
<h1>
|
||||
{{ with resources.Get "img/titre.png" }}
|
||||
<a href="{{ $.Site.BaseURL | relURL }}">
|
||||
<img src="{{ .RelPermalink }}" />
|
||||
</a>
|
||||
{{ else }}
|
||||
<a href="{{ $.Site.BaseURL | relURL }}">{{ .Site.Title }}</a>
|
||||
{{ end }}
|
||||
</h1>
|
||||
{{ with $.Site.Params.Description }}
|
||||
{{ . }}
|
||||
|
|
Loading…
Reference in New Issue