[READ-ONLY] Mirror of https://github.com/flo-bit/blog-template. minimalistic astro blog template flo-bit.dev/blog-template/
astro blog template
0

Configure Feed

Select the types of activity you want to include in your feed.

blog-template / src / config.ts
2.6 kB 79 lines
1import type { AccentColor, BaseColor } from "./colors"; 2 3// IMPORTANT SET THOSE TWO VARIABLES: 4// NUMBER ONE: 5// if deployed to github pages, set to https://<your-github-username>.github.io/ 6export const SITE = "https://flo-bit.dev"; 7 8// NUMBER TWO: 9// if repo name is <your-github-username>.github.io set to '/' 10// otherwise set to '/<your-repo-name>' 11export const BASE = "/blog-template"; 12 13// MORE SETTINGS: 14 15// will be used for the the title and meta tags and in the header (if SITE_NAME is left blank) 16export const SITE_TITLE = "flo-bit's blog template"; 17 18// will be used in the meta tags (and for example shown in search results) 19export const SITE_DESCRIPTION = "Welcome to my blog template! Fork it and make it your own."; 20 21// will be used as the icon in the header and the favicon 22export const SITE_FAVICON = "🙃"; 23 24// will be used in the footer as the name of the author (c) <YEAR> <NAME> - LICENSE 25export const NAME = "flo-bit"; 26 27// will be used in the footer as the license of the content (e.g. "All right reserved" or "CC-BY-SA 4.0") 28export const LICENSE = "MIT licensed."; 29 30// will be used to identify your bluesky account, so that likes and comments can be shown on your posts 31export const BLUESKY_IDENTIFIER = "flo-bit.dev"; 32 33export const SOURCE_LINK = 'https://github.com/flo-bit/blog-template'; 34 35// will be used to set the base color of the blog 36export const BASE_COLOR: BaseColor = "neutral"; 37 38// will be used to set the accent color of the blog 39export const ACCENT_COLOR: AccentColor = "cyan"; 40 41// will show all icons that are not empty in the footer as links 42export const SOCIAL_LINKS: { 43 FACEBOOK_URL?: string; 44 TWITTER_URL?: string; 45 GITHUB_URL?: string; 46 INSTAGRAM_URL?: string; 47 LINKEDIN_URL?: string; 48 YOUTUBE_URL?: string; 49 SUBSTACK_URL?: string; 50 EMAIL?: string; 51 BLUESKY_URL?: string; 52 SHOW_RSS?: boolean; 53} = { 54 SHOW_RSS: true, 55 BLUESKY_URL: "https://bsky.app/profile/flo-bit.dev", 56 GITHUB_URL: "https://github.com/flo-bit", 57 EMAIL: "flo.bit.dev@gmail.com", 58}; 59 60 61// EVEN MORE SETTINGS: 62 63// if true, will show theme toggle in header (otherwise theme is automatically detected and can't be changed by the readers) 64export const MANUAL_DARK_MODE = true; 65 66// if true, will enable the search functionality 67export const SEARCH_ENABLED = true; 68 69// if true, will show images in the posts 70export const SHOW_IMAGES = true; 71 72// will be used to set the number of posts per page 73export const POSTS_PER_PAGE = 8; 74 75// will be shown in the header, if left blank will instead show the SITE_TITLE 76export const SITE_NAME = ""; 77 78// if true, will show the SITE_FAVICON in the header 79export const SHOW_FAVICON_IN_HEADER = true;