Skip to content

Commit 09235cc

Browse files
committed
Add a sample 'config.toml'
1 parent 70594f5 commit 09235cc

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

sample-config.toml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
baseURL = "https://yourdomain.org/your-blog"
2+
publishDir = "/path/to/your/web/root"
3+
languageCode = "en-us"
4+
title = "blahgetty blahg"
5+
copyright = "Copyright © 2019 - Your Name"
6+
theme = "current"
7+
pygmentsStyle = "solarized-dark"
8+
#pygmentsOptions = "nowrap"
9+
pygmentsCodefences = true
10+
#staticDir =
11+
12+
[author]
13+
name = "Kevin Ernst"
14+
homepage = "https://yourdomain.org/your-blog"
15+
email = "your.email%20-at-%20yourdomain.org"
16+
17+
[params]
18+
showSearch = true
19+
searchEndpoint = "https://yourdomain.org/api/search"
20+
[[params.searchParams]]
21+
name = "search_code"
22+
value = "true"
23+
[[params.searchParams]]
24+
name = "project_id"
25+
value = "83"
26+
27+
[permalinks]
28+
# better policy than ':title', since you may change the title in the YAML
29+
# front matter, thereby breaking the permalink
30+
post = "/:year/:month/:filename/"
31+
32+
[menu]
33+
[[menu.main]]
34+
name = "code"
35+
title = "my projects on GitHub"
36+
url = "https://github.com/YourGitHubUser"
37+
[[menu.main]]
38+
name = "twitter"
39+
title = "hit me up on twitter"
40+
url = "https://twitter.com/YourTwitterUser"
41+
[[menu.main]]
42+
name = "email"
43+
title = "hit me up with an email"
44+
url = "mailto:your.email%20-at-%20yourdomain.org"

0 commit comments

Comments
 (0)