Move upvote button below reply tvia email link
This commit is contained in:
parent
ecceb7afa9
commit
556c1725ab
1 changed files with 9 additions and 9 deletions
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue