Rework "commenting" system
Until now the commenting system was a line in a small font advising to write a mail for commenting. This change replaces the text with one that is maybe more engaging and adds a button a la Kev Quirk. See also: https://kevq.uk/adding-the-post-title-to-my-reply-by-email-button/
This commit is contained in:
parent
b4cf893d6f
commit
cbc79dbe7f
2 changed files with 14 additions and 7 deletions
|
@ -21,9 +21,10 @@
|
|||
</p>
|
||||
{{ .Content }}
|
||||
|
||||
{{ with .Site.Params.comment.commentmail }}
|
||||
<p class="comment-notice">
|
||||
If you would like to comment on this post, feel free to write me a mail at {{ . }}!
|
||||
</p>
|
||||
{{ if .Site.Params.comment.comments }}
|
||||
<div class="comment">
|
||||
<p>I would like to hear what you think about this post. Feel free to write me a mail!</p>
|
||||
<a class="btn" href="mailto:comment@mmk2410.org?subject=Reply to: "{{ .Page.Title }}"">Reply by mail</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue