Configuring the blog

Editing the code: Change the values in src/config.json to configure the blog to your liking, see below for more information.

Editing using pagecms: After having logged in and opened your repository, click on “Website Configuration” and fill out the form, changing the values to your liking. Click “Save” to apply the changes (takes about 1 minute to deploy).

SITE_TITLE

  • will be shown in the title and meta tags and og image

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) YOUR_NAME

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?

BASE_COLOR

  • shade of gray for the background one of ‘gray’, ‘neutral’, ‘stone’, ‘zinc’, ‘slate’

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’
  • set any of these to ” to hide the respective icon in the footer

  • FACEBOOK_URL

  • TWITTER_URL

  • GITHUB_URL

  • INSTAGRAM_URL

  • LINKEDIN_URL

  • YOUTUBE_URL

  • SUBSTACK_URL

  • EMAIL

MANUAL_SITE_BASE

  • set this to true if you want to manually set the site and base url (e.g. when not deploying to github pages)

SITE

  • will be set automatically when deploying to github pages

BASE

  • will be set automatically when deploying to github pages