Merge branch 'hotfix/3.4.1' into develop
This commit is contained in:
commit
b5472d33c0
4 changed files with 14 additions and 3 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue