Introduction du nouveau thème
This commit is contained in:
7
themes/42/layouts/_partials/site-title.html
Normal file
7
themes/42/layouts/_partials/site-title.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<a id="site-title" href="/">
|
||||
{{- $logoPath := .Params.logo | default "logo-large.png" -}}
|
||||
{{- $logo := resources.GetMatch $logoPath -}}
|
||||
{{- $resized := $logo.Resize "64x" -}}
|
||||
<img src="{{ $resized.RelPermalink }}" alt="" />
|
||||
<span>{{ .Site.Title }}</span>
|
||||
</a>
|
||||
Reference in New Issue
Block a user