Make partials adapted to site config
This commit is contained in:
parent
3d068a4adf
commit
f23ca2df4a
5 changed files with 70 additions and 51 deletions
|
@ -8,7 +8,8 @@
|
|||
<meta name="author" content="{{ . }}">
|
||||
{{ end }}
|
||||
|
||||
{{- $title := partialCached "data/title" . .RelPermalink -}}
|
||||
{{/*- $title := partialCached "data/title" . .RelPermalink -*/}}
|
||||
{{ $title := (printf "%s - %s" .Title .Site.Title) }}
|
||||
<title>{{ $title }}</title>
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
@ -20,7 +21,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="{{ . }}" />
|
||||
<link rel="shortcut icon" href="{{ . }}" />
|
||||
{{ end }}
|
||||
|
||||
<!-- Note: j'ai galérer à rajouter du scss car en fait y'avait déja une variable $style de définit plus haut... -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue