amethyst/layouts/partials/docs/inject/toc-before.html

31 lines
824 B
HTML
Raw Normal View History

2023-05-29 16:06:13 -04:00
<div id="tabs-post-meta">
<div class="big-meta">
<div class="book-columns flex flex-wrap">
{{if or (eq .Type "writing") (eq .Type "fic")}}
<div class="gridmaybe">
<b class="meta-field">Words:</b>
<span class="meta-value">
{{.WordCount}}
</span>
</div>
{{end}}
</div>
</div>
<span class="post-date">
{{.Date.Format $.Site.Params.BookDateFormat }}
</span>
<div>
<div class="tags-heading">
<h3 class="small-caps">
tags
</h3>
</div>
<div class="tag-container">
{{ range $.Params.tags }}
<div class="post-tag">
<a href="/tags/{{ . }}">{{ . }}</a> <!-- The . represents an element in $array -->
</div>
{{ end }}
</div>
</div>
</div>