diff --git a/layouts/shortcodes/maec-encadre.html b/layouts/shortcodes/maec-encadre.html new file mode 100644 index 0000000..bf023f8 --- /dev/null +++ b/layouts/shortcodes/maec-encadre.html @@ -0,0 +1,89 @@ + + + +{{ $specs := .Page.Params.typewriterSpecs }} + +{{ if $specs }} +
+

Fiche technique

+ {{ with $specs.image }} +
+ Image of {{ $specs.manufacturer }} {{ $specs.type }} +
+ {{ end }} + + + {{ with $specs.logo }} + + {{ end }} + {{ with $specs.manufacturer }} + + + + + {{ end }} + + {{ with $specs.type }} + + + + + {{ end }} + + {{ with $specs.dateLaunched }} + + + + + {{ end }} + + {{ with $specs.massKg }} + + + + + {{ end }} + + {{ with $specs.widthCm }} + + + + + {{ end }} + + {{ with $specs.linkWiki }} + + + + + {{ end }} + + {{ with $specs.linkTpdb }} + + + + + {{ end }} + +
Fabricant{{ . }}
Type{{ . }}
Date de lancement{{ . }}
Masse{{ . }} kg
Largeur{{ . }} cm
Lien WikipediaLink
Lien Typewriter DatabaseLink
+ + + + +
+{{ else }} +
+

Pas de spécifications trouvées :(

+
+{{ end }} \ No newline at end of file