Fix single metadata bottom margins

master
Will Faught 2 years ago
parent 82e8f3098d
commit 87d8b0be6d

@ -52,25 +52,29 @@
</p> </p>
{{ end }} {{ end }}
{{ with $authors }} {{ if or $authors $date $readingtime }}
<p class="{{ if or $date $readingtime }} {{ $nogap }} {{ end }} paige-authors text-center text-secondary">{{ . }}</p> <div class="mb-3">
{{ end }} {{ with $authors }}
<p class="mb-0 paige-authors text-center text-secondary">{{ . }}</p>
{{ with $date }}
<p class="{{ if $readingtime }} {{ $nogap }} {{ end }} paige-date text-center text-secondary">
{{ with $commiturl }}
<a class="link-secondary text-decoration-none" href="{{ . }}">
{{ end }} {{ end }}
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format $dateformat . }}</time> {{ with $date }}
<p class="mb-0 paige-date text-center text-secondary">
{{ with $commiturl }}
<a class="link-secondary text-decoration-none" href="{{ . }}">
{{ end }}
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format $dateformat . }}</time>
{{ if $commiturl }} {{ if $commiturl }}
</a> </a>
{{ end }}
</p>
{{ end }} {{ end }}
</p>
{{ end }}
{{ with $readingtime }} {{ with $readingtime }}
<p class="paige-reading-time text-center text-secondary">{{ . }} {{ i18n "paige_minutes" . }}</p> <p class="mb-0 paige-reading-time text-center text-secondary">{{ . }} {{ i18n "paige_minutes" . }}</p>
{{ end }}
</div>
{{ end }} {{ end }}
</section> </section>

Loading…
Cancel
Save