Add hideReply to exampleSite and credits to README

This commit is contained in:
Caio Lente 2024-06-21 16:26:22 -03:00
parent e7b875a1fa
commit b335d9ac5e
No known key found for this signature in database
GPG Key ID: 699AD9F274A49555
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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