aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2024-06-21 16:26:22 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2024-06-21 16:26:22 -0300
commitb335d9ac5ed89d85831670f4ac46fe88ff9796a0 (patch)
treed04f3ee526087baf4dd6c077365e9f87bef25842
parente7b875a1fabbd6f5ca13b76cca994b606b1da593 (diff)
downloadhugo-bearcub-b335d9ac5ed89d85831670f4ac46fe88ff9796a0.tar.gz
hugo-bearcub-b335d9ac5ed89d85831670f4ac46fe88ff9796a0.tar.bz2
Add hideReply to exampleSite and credits to README
-rw-r--r--README.md4
-rw-r--r--exampleSite/hugo.toml3
2 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3c75b1e..a084e50 100644
--- a/README.md
+++ b/README.md
@@ -115,6 +115,10 @@ already implemented:
- Reply by email: if you supply an email address, the theme creates a "Reply to
this post by email" button at the end of every post (see Kev Quirk's [original
implementation](https://kevquirk.com/adding-the-post-title-to-my-reply-by-email-button)).
+ This button can be suppressed on a case-by-case by setting `hideReply: true`
+ in a post's [front matter](https://gohugo.io/content-management/front-matter/)
+ (see [PR #18](https://github.com/clente/hugo-bearcub/pull/18) by
+ [@chrsmutti](https://github.com/chrsmutti)).
- `absfigure` shortcode: a shortcut to use the `figure` shortcode that also
converts relative URLs into absolute URLs by using the `absURL` function.
- Single-use CSS (EXPERIMENTAL): you can add some styles to a single page by
diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml
index c037e60..04690c0 100644
--- a/exampleSite/hugo.toml
+++ b/exampleSite/hugo.toml
@@ -82,7 +82,8 @@ enableRobotsTXT = true
facebook_admin = "0000000000" # Facebook Page Admin ID
# Author metadata. This is mostly used for the RSS feed of your site, but the
- # email is also added to the footer of each post
+ # email is also added to the footer of each post. You can hide the "reply to"
+ # link by using a `hideReply` param in front matter.
[params.author]
name = "John Doe" # Your name as shown in the RSS feed metadata
email = "me@example.com" # Added to the footer so readers can reply to posts