Nouveau thème pour 2026
This commit is contained in:
13
themes/2026/layouts/_partials/site-title.html
Normal file
13
themes/2026/layouts/_partials/site-title.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{- $site := .Site -}}
|
||||
{{- if not $site -}}
|
||||
{{- $site = . -}}
|
||||
{{- end -}}
|
||||
{{- $logoPath := $site.Params.logo | default "logo-large.png" -}}
|
||||
{{- $logo := resources.GetMatch $logoPath -}}
|
||||
<a href="{{ "/" | relURL }}" aria-label="Revenir à l'accueil">
|
||||
{{- with $logo -}}
|
||||
{{- $resized := .Resize "64x" -}}
|
||||
<img src="{{ $resized.RelPermalink }}" alt="">
|
||||
{{- end -}}
|
||||
<strong>{{ $site.Title }}</strong>
|
||||
</a>
|
||||
Reference in New Issue
Block a user