hello
This commit is contained in:
parent
9b5d1aa286
commit
792c943c43
1 changed files with 3 additions and 3 deletions
|
@ -20,15 +20,15 @@
|
||||||
|
|
||||||
{{ if .Params.banner }}
|
{{ if .Params.banner }}
|
||||||
<b>helloworld</b>
|
<b>helloworld</b>
|
||||||
{{ $featuredImage := .Resources.GetMatch (.Params.banner | safeURL) }}
|
{{/* $featuredImage := .Resources.GetMatch (.Params.banner | safeURL) }}
|
||||||
{{ $featuredImageCaption := "Bannière représentant l'article" }}
|
{{ $featuredImageCaption := "Bannière représentant l'article" }}
|
||||||
{{ if $featuredImage }}
|
{{ if $featuredImage */}}
|
||||||
{{ $featuredImage = $featuredImage.Resize "600x" }}
|
{{ $featuredImage = $featuredImage.Resize "600x" }}
|
||||||
<figure>
|
<figure>
|
||||||
<img alt="{{ $featuredImageCaption }}" src="{{ $featuredImage.RelPermalink }}" />
|
<img alt="{{ $featuredImageCaption }}" src="{{ $featuredImage.RelPermalink }}" />
|
||||||
<figcaption>{{ $featuredImageCaption }}</figcaption>
|
<figcaption>{{ $featuredImageCaption }}</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
{{ end }}
|
{{/* end */}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue