Enable comments

This commit is contained in:
Gabriel Augendre 2023-05-21 12:55:06 +02:00
parent d29d26e74f
commit d3a1a3db24
4 changed files with 27 additions and 6 deletions

14
assets/css/style.css Normal file
View file

@ -0,0 +1,14 @@
#reply {
text-align: center;
margin-top: 2em;
}
#reply a button {
font-size: 1.2rem;
padding: 8px 16px;
}
a button {
background: #0069e5;
color: #fff;
border-radius: 4px;
box-sizing: border-box;
}

View file

@ -37,7 +37,7 @@ params:
UseHugoToc: true UseHugoToc: true
disableSpecial1stPost: false disableSpecial1stPost: false
disableScrollToTop: true disableScrollToTop: true
comments: false comments: true
hidemeta: false hidemeta: false
hideSummary: false hideSummary: false
hideFooter: true hideFooter: true
@ -47,11 +47,11 @@ params:
assets: assets:
disableHLJS: true disableHLJS: true
# disableFingerprinting: true # disableFingerprinting: true
favicon: "<link / abs url>" # favicon: "<link / abs url>"
favicon16x16: "<link / abs url>" # favicon16x16: "<link / abs url>"
favicon32x32: "<link / abs url>" # favicon32x32: "<link / abs url>"
apple_touch_icon: "<link / abs url>" # apple_touch_icon: "<link / abs url>"
safari_pinned_tab: "<link / abs url>" # safari_pinned_tab: "<link / abs url>"
label: label:
text: "Home" text: "Home"

View file

@ -0,0 +1,5 @@
<section id="reply">
<a href="mailto:ga-notes@augendre.info?subject={{.Title}}&amp;body={{.Permalink}}">
<button>✉️ Reply via email</button>
</a>
</section>

View file

@ -1,2 +1,4 @@
{{ $admonitions := resources.Get "css/admonitions.css" }} {{ $admonitions := resources.Get "css/admonitions.css" }}
<link rel="stylesheet" href="{{ $admonitions.Permalink }}"> <link rel="stylesheet" href="{{ $admonitions.Permalink }}">
{{ $style := resources.Get "css/style.css" }}
<link rel="stylesheet" href="{{ $style.Permalink }}">