-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
68 lines (54 loc) · 1.97 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// General configuration for the website
import defaultImage from '../../assets/images/default.png';
import blog from './blog';
const CONFIG = {
// The name of the website
name: 'caragolfoundation',
// The origin of the website (without trailing slash)
origin: 'https://caragolfoundation.org',
// The base pathname of the website
basePathname: '/',
// If the website uses trailing slashes in the URLs
trailingSlash: false,
// The website title which is displayed in the browser tab
title: 'CaragolFoundation — The Caragol Family Foundation',
// Website description
description: 'TODO - Add a description',
// The website's preview image that is displayed when sharing the website on social media
defaultImage: defaultImage,
// The default alt attribute for the preview image
defaultImageAlt: 'Default image',
// The default width and height of the preview image
defaultImageWidth: 1280,
defaultImageHeight: 670,
// Default site theme
// Values: "system" | "light" | "dark" | "light:only" | "dark:only"
defaultTheme: 'system',
// The default language of the website
language: 'en',
// The default text direction (ltr is left-to-right, rtl is right-to-left)
textDirection: 'ltr',
// Date format (used in blog posts)
dateFormatter: new Intl.DateTimeFormat('en', {
year: 'numeric',
month: 'short',
day: 'numeric',
timeZone: 'UTC',
}),
// Google Analytics configuration
googleAnalyticsId: false, // or "G-XXXXXXXXXX",
googleSiteVerificationId: '',
// If the RSS feed button should be displayed
showRssFeed: false,
// If the theme switcher should be displayed
showToggleTheme: true,
// If the header should be stick to the top of the page
isSticky: true,
// The position of the header
// Values: "center" | "right" | "left"
headerPosition: 'right',
};
export default CONFIG;
export const SITE = { ...CONFIG, blog: undefined };
export const BLOG = blog;
export const DATE_FORMATTER = CONFIG.dateFormatter;