Below is a list of configurable parameters in the Lightbi theme, along with descriptions to help you customize your site effectively. You can be adjust the below parameters in your hugo.toml
file.
Theme Parameters
readingTime
- Type: Boolean (
true
orfalse
) - Description: When set to
true
, displays an estimated reading time for each post. This helps readers gauge how long it will take to read the content.
- Type: Boolean (
wordCount
- Type: Boolean
- Description: Enables or disables the word count display for each post. Useful for readers interested in post length.
hideAuthor
- Type: Boolean
- Description: Controls the visibility of the author information on each post. Set to
false
to display the author section ortrue
to hide it.
previewCardImagePlacement
- Type: String (
"top"
or"middle"
or"bottom"
or"none"
) - Description: Determines where the preview image appears on post cards in lists or summaries.
"top"
places the image above the text, “middle”: Centers the image within the text area,"bottom"
places below the text, and"none"
hides the preview image entirely,.
- Type: String (
hidePostImage
- Type: Boolean
- Description: Controls the visibility of the featured image on individual post pages. Set to
true
to hide post images orfalse
to show them.
useHLJS
- Type: Boolean
- Description: Enables Highlight.js, a JavaScript library for syntax highlighting in code blocks. Set to
true
to use Highlight.js for syntax highlighting.
socialShare
- Type: Boolean
- Description: Adds social sharing buttons to posts, allowing readers to share content on various social media platforms.
showRelatedPosts
- Type: Boolean
- Description: When enabled, displays related posts at the bottom of each post to encourage further reading.
gcse
- Type: Boolean
- Description: Enables Google Custom Search Engine integration for site search functionality. Requires a configured search engine ID.
Lastmod
- Type: Boolean
- Description: Controls whether the “Last Modified” date is shown on posts, which can be helpful for showing recent updates.
rss
- Type: Boolean
- Description: Enables RSS feed generation for the site, making it easy for users to subscribe to your content.
pagination
- Type: Integer
- Description: Sets the number of posts displayed per page on list or archive pages.
description
- Type: String
- Description: A short description of your website that may appear in the metadata or be used for SEO.
lunrSearch
- Type: Boolean
- Description: Enables Lunr.js search, a client-side search engine, allowing users to search content directly on the site.
These parameters allow for easy customization and control over how your Hugo theme behaves and displays content.
Use the share button below if you liked it.
It makes me smile, when I see it.