contenu de l'encadré
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
gribse 2025-04-21 21:10:59 +02:00
parent 69e4d2630f
commit d37066df8d

View file

@ -14,7 +14,13 @@
{{ if $specs }}
<div class="typewriter-specs">
<h3>Fiche technique</h3>
<h3>{{$specs.make}} {{$specs.model}}</h3>
{{ with $specs.logo }}
<figure class="logo">
<img src="{{ . }}" alt="Logo of {{ $specs.manufacturer }}">
</figure>
{{ end }}
{{ with $specs.image }}
<figure>
<img src="{{ . }}" alt="Image of {{ $specs.manufacturer }} {{ $specs.type }}">
@ -22,12 +28,8 @@
{{ end }}
<table>
<tbody>
{{ with $specs.logo }}
<figure class="logo">
<img src="{{ . }}" alt="Logo of {{ $specs.manufacturer }}">
</figure>
{{ end }}
{{ with $specs.manufacturer }}
{{ with $specs.make }}
<tr>
<th>Fabricant</th>
<td>{{ . }}</td>
@ -41,9 +43,9 @@
</tr>
{{ end }}
{{ with $specs.dateLaunched }}
{{ with $specs.dateManufactured }}
<tr>
<th>Date de lancement</th>
<th>Date de fabrication</th>
<td>{{ . }}</td>
</tr>
{{ end }}
@ -64,14 +66,14 @@
{{ with $specs.linkWiki }}
<tr>
<th>Lien Wikipedia</th>
<th>Ressource externe</th>
<td><a href="{{ . }}" target="_blank">Link</a></td>
</tr>
{{ end }}
{{ with $specs.linkTpdb }}
<tr>
<th>Lien Typewriter Database</th>
<th>Typewriter Database</th>
<td><a href="{{ . }}" target="_blank">Link</a></td>
</tr>
{{ end }}