First version
This commit is contained in:
3
layouts/shortcodes/bouton.html
Normal file
3
layouts/shortcodes/bouton.html
Normal file
@ -0,0 +1,3 @@
|
||||
<div class="cfa">
|
||||
<a href="{{ index .Params "lien"}}">{{ index .Params "texte"}}</a>
|
||||
</div>
|
4
layouts/shortcodes/data.html
Normal file
4
layouts/shortcodes/data.html
Normal file
@ -0,0 +1,4 @@
|
||||
{{- $file := .Get 0 -}}
|
||||
{{- $key := .Get 1 -}}
|
||||
{{- $data := index (index $.Site.Data $file) $key -}}
|
||||
{{- $data -}}
|
Reference in New Issue
Block a user