This commit is contained in:
parent
69e4d2630f
commit
d37066df8d
1 changed files with 13 additions and 11 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue