You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
### Enhancements
4
4
5
+
- Add support for [utterances](https://utteranc.es/) comments. [#1909](https://github.com/mmistakes/minimal-mistakes/issues/1909)
5
6
- Use privacy aware embed options for YouTube and Vimeo in [responsive video helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#responsive-video-embed). [#1964](https://github.com/mmistakes/minimal-mistakes/pull/1964)
6
7
- Add `rel="nofollow noopener noreferrer"` to author profile links. [#1924](https://github.com/mmistakes/minimal-mistakes/pull/1924)
7
8
- Improve color contrast of primary buttons and links.
Copy file name to clipboardExpand all lines: docs/_docs/05-configuration.md
+32-11
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Configuration"
3
3
permalink: /docs/configuration/
4
4
excerpt: "Settings for configuring and customizing the theme."
5
-
last_modified_at: 2018-11-19T15:35:29-05:00
5
+
last_modified_at: 2018-11-21T14:46:33-05:00
6
6
toc: true
7
7
---
8
8
@@ -274,7 +274,7 @@ To disable reading time for a post, add `read_time: false` its YAML Front Matter
274
274
275
275
### Comments
276
276
277
-
[**Disqus**](https://disqus.com/), [**Discourse**](https://www.discourse.org/), [**Facebook**](https://developers.facebook.com/docs/plugins/comments), **Google+**, and static-based commenting via [**Staticman**](https://staticman.net/) are built into the theme. First set the comment provider you'd like to use:
277
+
[**Disqus**](https://disqus.com/), [**Discourse**](https://www.discourse.org/), [**Facebook**](https://developers.facebook.com/docs/plugins/comments), **Google+**, [**utterances**](https://utteranc.es/), and static-based commenting via [**Staticman**](https://staticman.net/) are built into the theme. First set the comment provider you'd like to use:
278
278
279
279
| Name | Comment Provider |
280
280
| ---------------- | ------------------------- |
@@ -284,6 +284,7 @@ To disable reading time for a post, add `read_time: false` its YAML Front Matter
284
284
| **google-plus** | Google+ Comments |
285
285
| **staticman_v2** | Staticman v2 |
286
286
| **staticman** | Staticman v1 (deprecated) |
287
+
| **utterances** | utterances |
287
288
| **custom** | Other |
288
289
289
290
Then add `comments: true` to each document you want comments visible on.
@@ -323,9 +324,9 @@ For guidance on how to set up Discourse for embedding comments from a topic on a
323
324
324
325
```yaml
325
326
comments:
326
-
provider: "discourse"
327
+
provider: "discourse"
327
328
discourse:
328
-
server: # meta.discourse.org
329
+
server: # meta.discourse.org
329
330
```
330
331
331
332
**Note:** Do not include `http://` or `https://` when setting your Discourse `server`. The theme automatically prepends the URL `//`, following a scheme-less pattern.
@@ -337,11 +338,31 @@ To enable Facebook Comments choose how many comments you'd like visible per post
337
338
338
339
```yaml
339
340
comments:
340
-
provider: "facebook"
341
+
provider: "facebook"
341
342
facebook:
342
-
appid : # optional
343
-
num_posts : # 5 (default)
344
-
colorscheme : # "light" (default), "dark"
343
+
appid: # optional
344
+
num_posts: # 5 (default)
345
+
colorscheme: # "light" (default), "dark"
346
+
```
347
+
348
+
#### utterances Comments
349
+
350
+
To use utterances you will need to [install the app](https://github.com/apps/utterances) to your GitHub repository by adding the following to `_config.yml`:
351
+
352
+
```yaml
353
+
repository: # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
354
+
```
355
+
356
+
**Note:** Make sure the repo is public, otherwise your readers will not be able to view the issues/comments. The [issues feature](https://guides.github.com/features/issues/) also needs to be active on your repo.
357
+
{: .notice--warning}
358
+
359
+
To enable utterances on the front end set `comments.provider` and the color theme of the widget.
360
+
361
+
```yaml
362
+
comments:
363
+
provider: "utterances"
364
+
utterances:
365
+
theme: "github-light" # "github-dark"
345
366
```
346
367
347
368
#### Static-Based Comments via Staticman
@@ -361,11 +382,11 @@ Transform user comments into `_data` files that live inside of your GitHub repos
361
382
362
383
##### Configure Staticman
363
384
364
-
**Staticman v3**
385
+
###### Staticman v3
365
386
366
387
Due to the support for GitLab, the URL scheme has been changed. Bewteen `v3` and `/entry`, one needs to input a Git service provider (either `github` or `gitlab`). Apart from that, the setup for GitHub remains the same.
367
388
368
-
**Staticman v2**
389
+
###### Staticman v2
369
390
370
391
Default settings have been provided in [`staticman.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/staticman.yml) and are commented to guide you through setup. View the [full list of configurations](https://staticman.net/docs/configuration).
371
392
@@ -406,7 +427,7 @@ comments:
406
427
**Note:** Staticman is currently compatible with GitHub and GitLab based repositories. [Support for GitLab Pages](https://github.com/eduardoboucas/staticman/issues/22) is already available at [Staticman v3](https://github.com/eduardoboucas/staticman/pull/219).
407
428
{: .notice--warning}
408
429
409
-
**Staticman v1 (deprecated)**
430
+
###### Staticman v1 (deprecated)
410
431
411
432
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://staticman.net/docs/configuration).
Copy file name to clipboardExpand all lines: docs/_docs/18-history.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,15 @@ permalink: /docs/history/
4
4
excerpt: "Change log of enhancements and bug fixes made to the theme."
5
5
sidebar:
6
6
nav: docs
7
-
last_modified_at: 2018-11-21T14:16:10-05:00
7
+
last_modified_at: 2018-11-21T14:55:38-05:00
8
8
toc: true
9
9
---
10
10
11
11
## Unreleased
12
12
13
13
### Enhancements
14
14
15
+
- Add support for [utterances](https://utteranc.es/) comments. [#1909](https://github.com/mmistakes/minimal-mistakes/issues/1909)
15
16
- Use privacy aware embed options for YouTube and Vimeo in [responsive video helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#responsive-video-embed). [#1964](https://github.com/mmistakes/minimal-mistakes/pull/1964)
16
17
- Add `rel="nofollow noopener noreferrer"` to author profile links. [#1924](https://github.com/mmistakes/minimal-mistakes/pull/1924)
17
18
- Improve color contrast of primary buttons and links.
Copy file name to clipboardExpand all lines: docs/_pages/about.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ layouts_gallery:
12
12
- url: /assets/images/mm-layout-archive.png
13
13
image_path: /assets/images/mm-layout-archive.png
14
14
alt: "archive layout example"
15
-
last_modified_at: 2018-06-04T12:04:24-04:00
15
+
last_modified_at: 2018-11-21T14:49:33-05:00
16
16
toc: true
17
17
---
18
18
@@ -31,7 +31,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
31
31
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
32
32
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
33
33
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
34
-
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
34
+
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Punjabi (ਪੰਜਾਬੀ) Romanian, Russian, Slovak, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
0 commit comments