-
Notifications
You must be signed in to change notification settings - Fork 1
/
SiteConfig.js
73 lines (67 loc) · 3.62 KB
/
SiteConfig.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
69
70
71
72
73
const config = {
siteTitle: 'Saglac IO conference & meetups', // Site title.
siteTitleShort: 'Saglac IO', // Short site title for homescreen (PWA). Preferably should be under 12 characters to prevent truncation.
siteTitleAlt: 'GatsbyJS Advanced Starter', // Alternative site title for SEO.
siteLogo: '/admin/logos/SaglacIO_Logo_Meetups_Inverted.png', // Logo used for SEO and manifest.
siteUrl: 'https://saglac.io/', // Domain of your website without pathPrefix.
pathPrefix: '/', // Prefixes all links. For cases when deployed to example.github.io/gatsby-advanced-starter/.
siteDescription: 'Rencontre technologique du Saguenay—Lac-St-Jean', // Website description used for RSS feeds/meta description tag.
siteRss: '/rss.xml', // Path to the RSS file.
// siteFBAppID: "1825356251115265", // FB Application ID for using app insights
// googleAnalyticsID: "UA-47311644-5", // GA tracking ID.
// disqusShortname: "https-vagr9k-github-io-gatsby-advanced-starter", // Disqus shortname.
postDefaultCategoryID: 'Tech', // Default category for posts.
dateFromFormat: 'YYYY-MM-DD', // Date format used in the frontmatter.
dateFormat: 'YYYY/MM/DD', // Date format for display.
postsPerPage: 4, // Amount of posts displayed per listing page.
username: "L'organisation du Saglac IO", // Username to display in the author segment.
email: 'info@saglac.io', // Email used for RSS feed's author segment
twitter: 'saglacio',
userLocation: 'Saguenay, Qc, CA', // User location to display in the author segment.
// userAvatar: 'https://api.adorable.io/avatars/150/test.png', // User avatar to display in the author segment.
// userDescription:
// "Yeah, I like animals better than people sometimes... Especially dogs. Dogs are the best. Every time you come home, they act like they haven't seen you in a year. And the good thing about dogs... is they got different dogs for different people.", // User description to display in the author segment.
facebookPage: 'https://www.facebook.com/saglacio', // Facebook Page URL.
twitterPage: 'https://twitter.com/saglacio', // Twitter Page URL.
linkedInPage: 'https://www.linkedin.com/company/saglac-io', // LinkedIn Page URL.
discordUrl: 'https://discord.gg/8pY5XVhvYM', // Discord URL
// TO REMOVE: Links to social profiles/projects you want to display in the author segment/navigation bar.
// userLinks: [
// {
// label: 'GitHub',
// url: 'https://github.com/Vagr9K/gatsby-advanced-starter',
// iconClassName: 'fa fa-github',
// },
// {
// label: 'Twitter',
// url: 'https://twitter.com/Vagr9K',
// iconClassName: 'fa fa-twitter',
// },
// {
// label: 'Email',
// url: 'mailto:vagr9k@gmail.com',
// iconClassName: 'fa fa-envelope',
// },
// ],
// Copyright string for the footer of the website and RSS feed.
copyright: `Copyright © 2013-${new Date().getFullYear()}. SagLacIO`,
themeColor: '#7ecdc3', // Used for setting manifest and progress theme colors.
backgroundColor: '#161843e6', // Used for setting manifest background color.
};
// Validate
// Make sure pathPrefix is empty if not needed
if (config.pathPrefix === '/') {
config.pathPrefix = '';
} else {
// Make sure pathPrefix only contains the first forward slash
config.pathPrefix = `/${config.pathPrefix.replace(/^\/|\/$/g, '')}`;
}
// Make sure siteUrl doesn't have an ending forward slash
if (config.siteUrl.substr(-1) === '/') {
config.siteUrl = config.siteUrl.slice(0, -1);
}
// Make sure siteRss has a starting forward slash
if (config.siteRss && config.siteRss[0] !== '/') {
config.siteRss = `/${config.siteRss}`;
}
module.exports = config;