mirror of
https://github.com/Crocmagnon/blog.git
synced 2024-12-22 05:41:55 +01:00
Enable comments
This commit is contained in:
parent
d29d26e74f
commit
d3a1a3db24
4 changed files with 27 additions and 6 deletions
14
assets/css/style.css
Normal file
14
assets/css/style.css
Normal 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;
|
||||
}
|
12
config.yaml
12
config.yaml
|
@ -37,7 +37,7 @@ params:
|
|||
UseHugoToc: true
|
||||
disableSpecial1stPost: false
|
||||
disableScrollToTop: true
|
||||
comments: false
|
||||
comments: true
|
||||
hidemeta: false
|
||||
hideSummary: false
|
||||
hideFooter: true
|
||||
|
@ -47,11 +47,11 @@ params:
|
|||
assets:
|
||||
disableHLJS: true
|
||||
# disableFingerprinting: true
|
||||
favicon: "<link / abs url>"
|
||||
favicon16x16: "<link / abs url>"
|
||||
favicon32x32: "<link / abs url>"
|
||||
apple_touch_icon: "<link / abs url>"
|
||||
safari_pinned_tab: "<link / abs url>"
|
||||
# favicon: "<link / abs url>"
|
||||
# favicon16x16: "<link / abs url>"
|
||||
# favicon32x32: "<link / abs url>"
|
||||
# apple_touch_icon: "<link / abs url>"
|
||||
# safari_pinned_tab: "<link / abs url>"
|
||||
|
||||
label:
|
||||
text: "Home"
|
||||
|
|
5
layouts/partials/comments.html
Normal file
5
layouts/partials/comments.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<section id="reply">
|
||||
<a href="mailto:ga-notes@augendre.info?subject={{.Title}}&body={{.Permalink}}">
|
||||
<button>✉️ Reply via email</button>
|
||||
</a>
|
||||
</section>
|
|
@ -1,2 +1,4 @@
|
|||
{{ $admonitions := resources.Get "css/admonitions.css" }}
|
||||
<link rel="stylesheet" href="{{ $admonitions.Permalink }}">
|
||||
{{ $style := resources.Get "css/style.css" }}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||
|
|
Loading…
Reference in a new issue