Configuring the blog
Change the values in src/config.ts to configure the blog to your liking, see below for more information.
SITE
set this to your blog url, e.g. https://flo-bit.dev
BASE
set this to the base path of your blog, e.g. /blog-template
SITE_TITLE
will be shown in the title and meta tags and og image
SITE_NAME
will be shown in the header, leave blank to instead show the SITE_TITLE
SITE_DESCRIPTION
will be shown in the meta tags
SITE_FAVICON
will be used as the icon in the header and the favicon
NAME
used in the footer (c) <YEAR> <YOUR_NAME> - <LICENSE>
BASE_COLOR
shade of gray for the background one of gray, neutral, stone, zinc, slate
(see tailwind css colors)
ACCENT_COLOR
color of links, etc.
one of red, orange, amber, yellow, lime, green, emerald, teal,
cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose
(see tailwind css colors)
BLUESKY_IDENTIFIER
- set this to your bluesky handle, e.g.
flo-bit.dev(without the@) will be used to show likes and comments on your blog posts from bluesky (see comments via bluesky)
SOURCE_LINK
- set this to the link to the source code of your blog, e.g.
https://github.com/flo-bit/blog-templatewill be shown in the footer, leave blank to hide
LICENSE
- used in the footer (c) <YEAR> <YOUR_NAME> - <LICENSE>
SOCIAL MEDIA LINKS
set any of these to empty strings to hide the respective icon in the footer
- FACEBOOK_URL
- TWITTER_URL
- GITHUB_URL
- INSTAGRAM_URL
- LINKEDIN_URL
- YOUTUBE_URL
- SUBSTACK_URL
- BLUESKY_URL
- SHOW_RSS
POSTS_PER_PAGE
- how many posts to show on per paginated page (also used for tag pages)
MANUAL_DARK_MODE
- should we show the dark mode toggle? (otherwise, it will be based on the userโs system preferences)
SEARCH_ENABLED
- should we show the search bar?