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 }}
|
||||
<b>helloworld</b>
|
||||
{{ $featuredImage := .Resources.GetMatch (.Params.banner | safeURL) }}
|
||||
{{/* $featuredImage := .Resources.GetMatch (.Params.banner | safeURL) }}
|
||||
{{ $featuredImageCaption := "Bannière représentant l'article" }}
|
||||
{{ if $featuredImage }}
|
||||
{{ if $featuredImage */}}
|
||||
{{ $featuredImage = $featuredImage.Resize "600x" }}
|
||||
<figure>
|
||||
<img alt="{{ $featuredImageCaption }}" src="{{ $featuredImage.RelPermalink }}" />
|
||||
<figcaption>{{ $featuredImageCaption }}</figcaption>
|
||||
</figure>
|
||||
{{ end }}
|
||||
{{/* end */}}
|
||||
{{ end }}
|
||||
|
||||
{{ range .Params.tags }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue