Skip to content

Commit 4e44f3c

Browse files
committed
Add Staticman default path
- Close #683
1 parent 0e6d532 commit 4e44f3c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ staticman:
3535
filename : comment-{@timestamp}
3636
format : "yml"
3737
moderation : true
38-
path : "docs/_data/comments/{options.slug}"
38+
path : "docs/_data/comments/{options.slug}" # "/_data/comments/{options.slug}" (default)
3939
requiredFields : ['name', 'email', 'message']
4040
transforms:
4141
email : "md5"

docs/_docs/05-configuration.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Configuration"
33
permalink: /docs/configuration/
44
excerpt: "Settings for configuring and customizing the theme."
5-
modified: 2016-11-03T10:42:01-04:00
5+
modified: 2016-11-29T08:44:22-05:00
66
---
77

88
Settings that affect your entire site can be changed in [Jekyll's configuration file](https://jekyllrb.com/docs/configuration/): `_config.yml`, found in the root of your project. If you don't have this file you'll need to copy or create one using the theme's [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) as a base.
@@ -206,7 +206,6 @@ comments:
206206
server : # meta.discourse.org
207207
```
208208

209-
210209
##### Facebook Comments
211210

212211
To enable Facebook Comments choose how many comments you'd like visible per post and the color scheme of the widget.
@@ -231,7 +230,7 @@ Transform user comments into `_data` files that live inside of your GitHub repos
231230

232231
###### Configure Staticman
233232

234-
Default settings have been provided in `_config.yml`. The important ones to set are `provider: "staticman"` and `branch`. View the [full list of configurations](https://github.com/eduardoboucas/staticman#jekyll-configuration).
233+
Default settings have been provided in `_config.yml`. The important ones to set are `provider: "staticman"`, `branch`, and `path`. View the [full list of configurations](https://github.com/eduardoboucas/staticman#jekyll-configuration).
235234

236235
**Branch setting:** This is the branch comment files will be sent to via pull requests. If you host your site on GitHub Pages it will likely be `master` unless your repo is setup as a project --- use `gh-pages` in that case.
237236
{: .notice--info}

0 commit comments

Comments
 (0)