forked from EllisMin/gatsby-blog-mdx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomize.js
58 lines (52 loc) · 3.01 KB
/
customize.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
/* Customization Guide available on:
https://gatsby-blog-mdx.now.sh/2020/05/4-customize/
======================================== */
const config = {
/* Site
========================================= */
title: `gatsby-blog-mdx`, // Displayed in header
description: `This is my blog`, // Site description
maxWidth: "768px", // Max width of website
enableAbout: true, // Enables about page
siteUrl: `https://yourDomain.com/`, // For sitemap & RSS feed
useScrollIndicator: true, // Use scroll indicator on top of screen in posts
/* Profile
========================================= */
author: `Author Name`, // Name shows on profile
profileDescription: "{Edit me in customize.js}", // Shows under author name
profileImageName: `profile.jpeg`, // Place profile.jpg/.jpeg/.png in _assets folder
location: "", // Location under profileDescription. "" --> disabled
footerLink: "", // Link to page when you click footer name
/* Social Media Links
accountName & emailAddress: leave blank ("") to disable
showHeaderIcon: shows social media icon in header. When true, must have account name set
========================================= */
socialMediaLinks: {
email: { emailAddress: "", showHeaderIcon: true },
github: { accountName: "", showHeaderIcon: true },
facebook: { accountName: "", showHeaderIcon: true },
instagram: { accountName: "", showHeaderIcon: true },
twitter: { accountName: "", showHeaderIcon: true },
linkedIn: { accountName: "", showHeaderIcon: true }, // Use URL after "linkedin.com/"
medium: { accountName: "", showHeaderIcon: true }, // Use URL after "medium.com/@"
},
/* Social Media Share Buttons--available below every post
========================================= */
shareButtons: { email: false, facebook: true, twitter: true, reddit: false, linkedIn: false },
/* Comments
========================================= */
comments: {
facebook: { enabled: true, appId: "" }, // appId: optional, but used to moderate fb comments
disqus: { enabled: false, shortName: "" }, // Check your shortName on https://disqus.com
utterances: { enabled: false, repoUrl: "" }, // i.e. 'ellismin/gatsby-blog-mdx'
},
/* More Custom Settings
========================================= */
defaultTheme: "light", // Options: dark / light -- applied to first visitors
showTimeToRead: false, // Shows time to read for each post in main page
breakCodeLines: false, // Breaks long code lines instead of having horizontal scroll
faviconSrc: `_assets/icon-code.png`, // Favicon
gaTrackingId: ``, // Your google analytics tracking id--i.e. UA-*****
googleAdSenseId: ``, // Your google AdSense client id--i.e. ca-pub-****
}
module.exports = config