Move upvote button below reply tvia email link

This commit is contained in:
Alex Selimov 2026-03-21 23:30:27 -04:00
parent ecceb7afa9
commit 556c1725ab

View file

@ -18,6 +18,15 @@
<a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a> <a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a>
{{ end }} {{ end }}
</p> </p>
{{ if not .Params.hideReply }}
{{ with .Site.Params.author.email }}
<p>
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>
{{ i18n "email-reply" }} ↪
</a>
</p>
{{ end }}
{{ end }}
{{ if and .Site.Params.upvotes (not .Params.hideUpvotes) }} {{ if and .Site.Params.upvotes (not .Params.hideUpvotes) }}
<div class="upvote"> <div class="upvote">
<button id="upvote-btn" aria-label="Upvote"> <button id="upvote-btn" aria-label="Upvote">
@ -28,13 +37,4 @@
<script>window.UPVOTE_API = "{{ .Site.Params.upvoteApi }}";</script> <script>window.UPVOTE_API = "{{ .Site.Params.upvoteApi }}";</script>
<script src="/upvote.js"></script> <script src="/upvote.js"></script>
{{ end }} {{ end }}
{{ if not .Params.hideReply }}
{{ with .Site.Params.author.email }}
<p>
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>
{{ i18n "email-reply" }} ↪
</a>
</p>
{{ end }}
{{ end }}
{{ end }} {{ end }}