redstrate.com/themes/red/layouts/_default/art-detail.html

54 lines
1.5 KiB
HTML
Raw Normal View History

2022-12-20 19:16:53 -05:00
{{ define "main" }}
<h2>{{ .Title }}</h2>
<div>
{{ .Content }}
</div>
2022-12-27 21:47:12 -05:00
<table>
<tr>
<th>Date</th>
<td>
<time datetime="{{ .Page.Lastmod.Format "Mon Jan 10 17:13:38 2020 -0700" }}" class="text-muted">
{{ $.Date.Format "January 02, 2006" }}
</time>
</td>
</tr>
{{ with .Params.arttags }}
<tr>
<th>Tags</th>
<td>
{{ $len := (len .) }}
{{ range $index, $element := . }}
<a href="/art/tags/{{ lower . }}/"><strong>{{ $element }}</strong></a>{{ if not (eq (add $index 1) $len) }},{{ end }}
{{ end }}
</td>
</tr>
{{ end }}
{{ with .Params.characters }}
<tr>
<th>Characters</th>
<td>
{{ $len := (len .) }}
{{ range $index, $element := . }}
<a href="/art/characters/{{ lower . }}/"><strong>{{ $element }}</strong></a>{{ if not (eq (add $index 1) $len) }},{{ end }}
{{ end }}
</td>
</tr>
{{ end }}
</table>
2022-12-20 19:16:53 -05:00
<h3>Comments</h3>
<script
data-isso="//comments.redstrate.com/"
data-isso-title=""
data-isso-avatar="false"
data-isso-vote="false"
data-isso-reveal-on-click="5"
2022-12-20 20:08:06 -05:00
src="//comments.redstrate.com/js/embed.min.js" async crossorigin></script>
2022-12-20 19:16:53 -05:00
<section id="isso-thread" data-title="{{ .Title }}" data-isso-id="{{ .File.ContentBaseName }}">
<noscript>Javascript needs to be activated to view comments.</noscript>
</section>
{{ end }}