mirror of
https://github.com/marcriera/ddgo-controller-docs.git
synced 2025-05-01 06:07:05 +02:00
Controllers and images
This commit is contained in:
parent
7ae8c6bf06
commit
301ce44def
28 changed files with 116 additions and 17 deletions
|
@ -18,7 +18,7 @@
|
|||
<td><strong>Notes</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).notes }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
## Supported software (WIP)
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
{{ with (index .Site.Data.software (.Get 0)).controllers }}
|
||||
## Supported controllers
|
||||
|
||||
<table>
|
||||
|
@ -42,7 +43,7 @@
|
|||
<th>Support</th>
|
||||
<th>Notes</th>
|
||||
</tr>
|
||||
{{ range (index .Site.Data.software (.Get 0)).controllers }}
|
||||
{{ range . }}
|
||||
<tr>
|
||||
<td><a href="{{ (index $.Site.Data.controllers .model).ref }}">{{ (index $.Site.Data.controllers .model).name }}</a></td>
|
||||
<td id="{{ if or .unofficial .partial }}partial{{ else }}native{{ end }}">{{ if .unofficial }}Unofficial{{ else if .partial }}Partial{{ else }}Native{{ end }}</td>
|
||||
|
@ -50,3 +51,4 @@
|
|||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
||||
{{ end }}
|
||||
|
|
23
layouts/shortcodes/standalone_controller-page.html
Normal file
23
layouts/shortcodes/standalone_controller-page.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
## Overview
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan="0" id="image">{{ if (index .Site.Data.controllers (.Get 0)).image}}<img src="/images/controllers/{{ (index .Site.Data.controllers (.Get 0)).image }}"/>{{ end }}</td>
|
||||
<td><strong>Name</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Release date</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).date | time.Format ":date_long" }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Serial code</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).code }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Notes</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).notes }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## Technical details
|
Loading…
Add table
Add a link
Reference in a new issue