Update README and exampleSite

This commit is contained in:
Alex Selimov 2026-03-20 09:00:56 -04:00
parent 460fe6a820
commit 41c217030c
3 changed files with 43 additions and 17 deletions

View file

@ -75,6 +75,17 @@ enableRobotsTXT = true
# information see layouts/partials/social_card.html
generateSocialCard = true
# The number of posts to show on the index page. Defaults to 3 if not set.
postsToShowOnIndex = 3
# Enable upvoting on posts. When set to true, each post will display an upvote
# button that calls the API endpoint specified by `upvoteApi`.
upvotes = false
# The base URL of the upvote API. Only used when `upvotes = true`.
# The API is expected to handle GET and POST requests at {upvoteApi}/{post-path}.
upvoteApi = "https://example.com/api"
# Social media. Delete any item you aren't using to make sure it won't show up
# in your website's metadata.
[params.social]