Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5615f4c67f | ||
|
|
469fb46786 | ||
|
|
f509db2177 | ||
|
|
6bd7f637f3 | ||
|
|
a0082b1e1b | ||
|
|
01cfcf0f3b | ||
|
|
763ee0bfff | ||
|
|
1510947bf6 | ||
|
|
1b384c2016 | ||
|
|
1b142507c3 | ||
|
|
9d27604578 | ||
|
|
fba1cb3ffa |
@@ -1,3 +1,16 @@
|
|||||||
|
## [3.2.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.6)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix error `Liquid Exception: divided by 0 in _includes/archive-single.html, included in _layouts/single.html` caused by null `words_per_minute` in `_config.yml`. [#345](https://github.com/mmistakes/minimal-mistakes/pull/345)
|
||||||
|
|
||||||
|
## [3.2.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.5)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix link color in hero overlay to be white.
|
||||||
|
- Remove underlines from archive item titles.
|
||||||
|
|
||||||
## [3.2.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.4)
|
## [3.2.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.4)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|||||||
[![Minimal Mistakes live preview][2]][1]
|
[![Minimal Mistakes live preview][2]][1]
|
||||||
|
|
||||||
[1]: https://mmistakes.github.io/minimal-mistakes/
|
[1]: https://mmistakes.github.io/minimal-mistakes/
|
||||||
[2]: https://cloud.githubusercontent.com/assets/1376749/14562643/d83b96c0-02eb-11e6-98d6-473fbfd3bff6.jpg (live preview)
|
[2]: images/mm-browser-mockups.png (live preview)
|
||||||
|
|
||||||
The theme includes responsive layouts (`single`, `archive`, and `splash` pages) that look great on mobile and desktop browsers.
|
The theme includes responsive layouts (`single`, `archive`, and `splash` pages) that look great on mobile and desktop browsers.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/)
|
## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/)
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ en: &DEFAULT_EN
|
|||||||
website_label : "Website"
|
website_label : "Website"
|
||||||
email_label : "Email"
|
email_label : "Email"
|
||||||
recent_posts : "Recent Posts"
|
recent_posts : "Recent Posts"
|
||||||
|
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
||||||
en-US:
|
en-US:
|
||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
en-UK:
|
en-UK:
|
||||||
@@ -59,6 +60,7 @@ es: &DEFAULT_ES
|
|||||||
website_label : "Sitio web"
|
website_label : "Sitio web"
|
||||||
email_label : "Email"
|
email_label : "Email"
|
||||||
recent_posts : "Entradas recientes"
|
recent_posts : "Entradas recientes"
|
||||||
|
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
|
||||||
es-ES:
|
es-ES:
|
||||||
<<: *DEFAULT_ES
|
<<: *DEFAULT_ES
|
||||||
es-CO:
|
es-CO:
|
||||||
|
|||||||
@@ -4,10 +4,14 @@
|
|||||||
{% assign words = page.content | strip_html | number_of_words %}
|
{% assign words = page.content | strip_html | number_of_words %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if words < 180 %}
|
{% if site.words_per_minute %}
|
||||||
{{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
|
{% if words < 180 %}
|
||||||
{% elsif words < 360 %}
|
{{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
|
||||||
1 {{ site.data.ui-text[site.locale].minute_read }}
|
{% elsif words < 360 %}
|
||||||
|
1 {{ site.data.ui-text[site.locale].minute_read }}
|
||||||
|
{% else %}
|
||||||
|
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
|
||||||
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
|
{{ site.data.ui-text[site.locale].undefined_wpm }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -35,7 +35,15 @@
|
|||||||
.archive__item-title {
|
.archive__item-title {
|
||||||
margin-bottom: 0.25em;
|
margin-bottom: 0.25em;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
// font-size: $type-size-5;
|
}
|
||||||
|
|
||||||
|
// remove border
|
||||||
|
.page__content {
|
||||||
|
|
||||||
|
.archive__item-title {
|
||||||
|
margin-top: 1em;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-excerpt {
|
.archive__item-excerpt {
|
||||||
|
|||||||
@@ -125,6 +125,10 @@
|
|||||||
animation: intro 0.3s both;
|
animation: intro 0.3s both;
|
||||||
animation-delay: 0.25s;
|
animation-delay: 0.25s;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 206 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "3.2.4",
|
"version": "3.2.6",
|
||||||
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user