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