Skip to content

Commit

Permalink
tweaks to the table shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
torbjornbp committed Nov 26, 2024
1 parent 0584c4c commit b67ccbe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions layouts/shortcodes/tracks-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<th class="sortable" onclick="sortTable(1)">Title</th>
<th class="sortable" onclick="sortTable(2)">Duration</th>
<th class="sortable" onclick="sortTable(3)">Year</th>
<th>Tracklist</th>
<th>Details</th>
</tr>
</thead>
<tbody>
Expand All @@ -26,7 +26,8 @@
<td>
{{ if .metaData.tracklist }}
<details>
<summary>View Tracklist</summary>
<summary>View details</summary>
{{ if .metaData.description }}<strong>{{ .metaData.description }}</strong>{{ end }}
<ol>
{{ range .metaData.tracklist }}
<li>{{ if .artist }}{{ .artist }} - {{ end }}{{ .title }}</li>
Expand Down

0 comments on commit b67ccbe

Please sign in to comment.