Skip to content

Commit d3d2a4b

Browse files
authored
add comments and make it more usable
1 parent dd5a5f3 commit d3d2a4b

File tree

1 file changed

+53
-51
lines changed

1 file changed

+53
-51
lines changed

_config.yml

+53-51
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
locale : "en-US"
1010
title : "Your Name / Site Title"
1111
title_separator : "-"
12-
name : &name "Your Name"
13-
description : &description "personal description"
14-
url : https://academicpages.github.io # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
15-
baseurl : "" # the subpath of your site, e.g. "/blog"
12+
name : &name "Your Name" # keep the "&name"
13+
description : &description "personal description" # keep the "&description"
14+
url : https://academicpages.github.io # the base hostname for your site
15+
baseurl : "" # the subpath of your site, e.g. "/" for no subpath, or something like "/blog"
1616
repository : "academicpages/academicpages.github.io"
1717
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
1818
breadcrumbs : false # true, false (default)
19-
words_per_minute : 160
19+
words_per_minute : 160 # used for calculating Medium-style estimations of time to read posts
2020
comments:
2121
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom"
2222
disqus:
@@ -27,54 +27,11 @@ comments:
2727
appid :
2828
num_posts : # 5 (default)
2929
colorscheme : # "light" (default), "dark"
30-
staticman:
31-
allowedFields : ['name', 'email', 'url', 'message']
32-
branch : "gh-pages" # "master", "gh-pages"
33-
commitMessage : "New comment."
34-
filename : comment-{@timestamp}
35-
format : "yml"
36-
moderation : true
37-
path : "_data/comments/{options.slug}"
38-
requiredFields : ['name', 'email', 'message']
39-
transforms:
40-
email : "md5"
41-
generatedFields:
42-
date:
43-
type : "date"
44-
options:
45-
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
30+
4631
atom_feed:
4732
path : # blank (default) uses feed.xml
48-
49-
# SEO Related
50-
google_site_verification :
51-
bing_site_verification :
52-
alexa_site_verification :
53-
yandex_site_verification :
54-
55-
# Social Sharing
56-
twitter:
57-
username : &twitter
58-
facebook:
59-
username :
60-
app_id :
61-
publisher :
62-
og_image : # Open Graph/Twitter default site image
63-
# For specifying social profiles
64-
# - https://developers.google.com/structured-data/customize/social-profiles
65-
social:
66-
type : # Person or Organization (defaults to Person)
67-
name : # If the user or organization name differs from the site's name
68-
links: # An array of links to social media profiles
69-
70-
71-
# Analytics
72-
analytics:
73-
provider : "google-universal" # false (default), "google", "google-universal", "custom"
74-
google:
75-
tracking_id :
76-
77-
33+
34+
7835
# Site Author
7936
author:
8037
name : "Your Sidebar Name"
@@ -110,6 +67,51 @@ author:
11067
youtube :
11168
wikipedia :
11269

70+
# SEO Related
71+
google_site_verification :
72+
bing_site_verification :
73+
alexa_site_verification :
74+
yandex_site_verification :
75+
76+
# Social Sharing
77+
twitter:
78+
username : &twitter # no need to specify if you filled in twitter above
79+
facebook:
80+
username :
81+
app_id :
82+
publisher :
83+
og_image : # Open Graph/Twitter default site image
84+
# For specifying social profiles
85+
# - https://developers.google.com/structured-data/customize/social-profiles
86+
social:
87+
type : # Person or Organization (defaults to Person)
88+
name : # If the user or organization name differs from the site's name
89+
links: # An array of links to social media profiles
90+
91+
92+
# Analytics
93+
analytics:
94+
provider : "google-universal" # false (default), "google", "google-universal", "custom"
95+
google:
96+
tracking_id : # your tracking ID here
97+
98+
99+
staticman: #not used unless using staticman comments
100+
allowedFields : ['name', 'email', 'url', 'message']
101+
branch : "gh-pages" # "master", "gh-pages"
102+
commitMessage : "New comment."
103+
filename : comment-{@timestamp}
104+
format : "yml"
105+
moderation : true
106+
path : "_data/comments/{options.slug}"
107+
requiredFields : ['name', 'email', 'message']
108+
transforms:
109+
email : "md5"
110+
generatedFields:
111+
date:
112+
type : "date"
113+
options:
114+
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
113115

114116
# Reading Files
115117
include:

0 commit comments

Comments
 (0)