mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06:00
style(reply-by-email): separation from content
Add more separation from the content by adding a top margin Add button-like styling to differentiate the link
This commit is contained in:
parent
43233a4e54
commit
47b99754e1
1 changed files with 7 additions and 1 deletions
|
@ -84,7 +84,13 @@
|
||||||
{{ $defaultReplyByEmail := .Site.Params.replyByEmail }}
|
{{ $defaultReplyByEmail := .Site.Params.replyByEmail }}
|
||||||
{{ $replyByEmail := default $defaultReplyByEmail .Params.replyByEmail }}
|
{{ $replyByEmail := default $defaultReplyByEmail .Params.replyByEmail }}
|
||||||
{{ if $replyByEmail }}
|
{{ if $replyByEmail }}
|
||||||
<strong><a href="mailto:{{ .Site.Author.email }}?subject={{ replace (printf "Reply to %s" .Title) "\"" "'" }}">Reply by Email</a></strong>
|
<strong class="block mt-8">
|
||||||
|
<a target="_blank"
|
||||||
|
class="m-1 rounded bg-neutral-300 p-1.5 text-neutral-700 hover:bg-primary-500 hover:text-neutral dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-primary-400 dark:hover:text-neutral-800"
|
||||||
|
href="mailto:{{ .Site.Author.email }}?subject={{ replace (printf "Reply to %s" .Title) "\"" "'" }}">
|
||||||
|
Reply by Email
|
||||||
|
</a>
|
||||||
|
</strong>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue