diff options
author | Caio Lente <7017340+clente@users.noreply.github.com> | 2024-06-21 16:26:22 -0300 |
---|---|---|
committer | Caio Lente <7017340+clente@users.noreply.github.com> | 2024-06-21 16:26:22 -0300 |
commit | b335d9ac5ed89d85831670f4ac46fe88ff9796a0 (patch) | |
tree | d04f3ee526087baf4dd6c077365e9f87bef25842 | |
parent | e7b875a1fabbd6f5ca13b76cca994b606b1da593 (diff) | |
download | hugo-bearcub-b335d9ac5ed89d85831670f4ac46fe88ff9796a0.tar.gz hugo-bearcub-b335d9ac5ed89d85831670f4ac46fe88ff9796a0.tar.bz2 |
Add hideReply to exampleSite and credits to README
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | exampleSite/hugo.toml | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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 |