Merge branch 'hotfix/3.4.1' into develop

This commit is contained in:
Michael Rose 2016-08-11 15:23:31 -04:00
commit b5472d33c0
4 changed files with 14 additions and 3 deletions

View file

@ -1,3 +1,13 @@
## [3.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.1)
### Enhancements
- Add `staticman.filename` configuration with UNIX timestamp for sorting data files. example ~> `comment-1470943149`.
### Bug Fixes
- Don't add `<a>` to author name if URL is blank.
## [3.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.0)
### Enhancements

View file

@ -32,6 +32,7 @@ staticman:
allowedFields : ['name', 'email', 'url', 'message']
branch : # "master", "gh-pages"
commitMessage : "New comment."
filename : comment-{@timestamp}
format : "yml"
moderation : true
path : "_data/comments/{options.slug}"

View file

@ -4,11 +4,11 @@
</div>
<div class="comment__content-wrapper">
<h3 class="comment__author">
{% if (include.url) and (include.url != '@url') %}
{% unless include.url == blank %}
<a rel="nofollow" href="{{ include.url }}">{{ include.name }}</a>
{% else %}
{{ include.name }}
{% endif %}
{% endunless %}
</h3>
<p class="comment__date">
{% if include.date %}

View file

@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "3.4.0",
"version": "3.4.1",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": {
"type": "git",