diff --git a/archetypes/collection.md b/archetypes/collection.md index 9d87a2c..1100d88 100644 --- a/archetypes/collection.md +++ b/archetypes/collection.md @@ -30,9 +30,6 @@ typewriterSpecs: serialNumber: --- -{{< maec-encadre >}} - - {{< figure src="images/20250414_153350_lmc_8.4.jpg" alt="Alt text" title="Title">}} diff --git a/content/collection/bob-315/index.md b/content/collection/bob-315/index.md index 4f91912..eee71a3 100644 --- a/content/collection/bob-315/index.md +++ b/content/collection/bob-315/index.md @@ -29,4 +29,3 @@ typewriterSpecs: widthCm: 80 --- -{{< maec-encadre >}} \ No newline at end of file diff --git a/content/collection/corona----/index.md b/content/collection/corona----/index.md index 4846c7e..135c5cb 100644 --- a/content/collection/corona----/index.md +++ b/content/collection/corona----/index.md @@ -29,4 +29,3 @@ typewriterSpecs: widthCm: 80 --- -{{< maec-encadre >}} \ No newline at end of file diff --git a/content/collection/japy-s18/index.md b/content/collection/japy-s18/index.md index d9f9e56..dcd5169 100644 --- a/content/collection/japy-s18/index.md +++ b/content/collection/japy-s18/index.md @@ -29,4 +29,3 @@ typewriterSpecs: widthCm: 80 --- -{{< maec-encadre >}} \ No newline at end of file diff --git a/content/collection/olivetti-et-121/index.md b/content/collection/olivetti-et-121/index.md index c0f6c03..0321137 100644 --- a/content/collection/olivetti-et-121/index.md +++ b/content/collection/olivetti-et-121/index.md @@ -29,7 +29,7 @@ typewriterSpecs: widthCm: 80 --- -{{< maec-encadre >}} + Cette machine, mise sur le marché par Olivetti en 1980, a pour spécificité d'être électromécanique, et de ne plus utiliser de marteaux d'impression. diff --git a/content/collection/olivetti-lettera-32/index.md b/content/collection/olivetti-lettera-32/index.md index c484e00..130e679 100644 --- a/content/collection/olivetti-lettera-32/index.md +++ b/content/collection/olivetti-lettera-32/index.md @@ -29,4 +29,3 @@ typewriterSpecs: widthCm: 80 --- -{{< maec-encadre >}} \ No newline at end of file diff --git a/content/collection/olivetti-praxis-48/index.md b/content/collection/olivetti-praxis-48/index.md index 05f1f22..6f7cfe9 100644 --- a/content/collection/olivetti-praxis-48/index.md +++ b/content/collection/olivetti-praxis-48/index.md @@ -29,4 +29,3 @@ typewriterSpecs: widthCm: 80 --- -{{< maec-encadre >}} \ No newline at end of file diff --git a/content/collection/remington-portable/index.md b/content/collection/remington-portable/index.md index 17b402b..10cf317 100644 --- a/content/collection/remington-portable/index.md +++ b/content/collection/remington-portable/index.md @@ -30,7 +30,7 @@ typewriterSpecs: serialNumber: "NE31859" --- -{{< maec-encadre >}} + # Une machine portable et pliable diff --git a/layouts/partials/maec-encadre.html b/layouts/partials/maec-encadre.html new file mode 100644 index 0000000..7fe2a6e --- /dev/null +++ b/layouts/partials/maec-encadre.html @@ -0,0 +1,91 @@ + + + +{{ $specs := .Page.Params.typewriterSpecs }} + +{{ if $specs }} +
Fabricant | +{{ . }} | +
---|---|
Type | +{{ . }} | +
Date de fabrication | +{{ . }} | +
Masse | +{{ . }} kg | +
Largeur | +{{ . }} cm | +
Ressource externe | +Link | +
Typewriter Database | +Link | +
Pas de spécifications trouvées :(
+