Compare commits

...
44 Commits
Author SHA1 Message Date
Michael Rose e79d4e2a5a Merge branch 'release/3.2.7' 2016-06-10 14:21:54 -04:00
Michael Rose 0c86bb7e50 Update CHANGELOG and bump version to 3.2.7 2016-06-10 14:21:38 -04:00
Michael Rose 6f708cc505 Merge branch 'feature/yandex-alexa-patch' into develop 2016-06-10 14:18:27 -04:00
Michael Rose 427ff7d123 Merge branch 'patch-1' of https://github.com/jhabdas/minimal-mistakes into feature/yandex-alexa-patch 2016-06-10 14:17:56 -04:00
Michael Rose 866da4b829 Merge branch 'feature/fr-ui-text' into develop 2016-06-10 14:16:40 -04:00
Michael Rose 92faaaacdf Merge branch 'ui_texts' of https://github.com/flohw/minimal-mistakes into feature/fr-ui-text 2016-06-10 14:15:55 -04:00
Josh Habdas f3e5e0dafd Fix branch logic for Yandex and Alexa. Closes #347 2016-06-09 11:56:40 -05:00
Flohw 17eada19f7 Add missing translation 2016-06-08 19:27:09 +02:00
Flohw 5dc5156983 Add french translations 2016-06-08 19:07:38 +02:00
Michael Rose 66f0b6e099 Add Discourse link to README 2016-06-07 11:45:04 -04:00
Michael Rose 2c4f1d2614 Add Discourse link to README 2016-06-07 11:44:44 -04:00
Michael Rose d08f3fc6da Merge branch 'hotfix/3.2.6' into develop 2016-06-07 11:34:49 -04:00
Michael Rose 5615f4c67f Merge branch 'hotfix/3.2.6' 2016-06-07 11:34:45 -04:00
Michael Rose 469fb46786 Update CHANGELOG and bump version to 3.2.6 2016-06-07 11:34:30 -04:00
Michael Rose f509db2177 Rename undefined_words_per_minute variable to match one set in ui-text.yml
- Remove extra white-space
- Close #317
2016-06-07 11:32:11 -04:00
Michael Rose 6bd7f637f3 Merge branch 'develop' of https://github.com/Scot3004/new into hotfix/3.2.6 2016-06-07 11:29:54 -04:00
Michael Rose a0082b1e1b Update README screenshots 2016-06-07 09:01:55 -04:00
Michael Rose 17058f6075 Update README screenshots 2016-06-07 09:01:38 -04:00
Sergio C. Orozco Torres 01cfcf0f3b Undefined word_per_minutes parameter division by zero
If the parameter words_per_minute at _config.yml is not defined and the template says that must show read_time then will be divide a number by zero, a fix is verify that parameter and show a message when this is empty or zero. already localized for spanish
2016-06-07 01:03:59 -05:00
Michael Rose 763ee0bfff Merge branch 'hotfix/3.2.5' 2016-06-06 22:30:48 -04:00
Michael Rose 1510947bf6 Merge branch 'hotfix/3.2.5' into develop 2016-06-06 22:30:48 -04:00
Michael Rose 1b384c2016 Update CHANGELOG and bump version to 3.2.5 2016-06-06 22:30:18 -04:00
Michael Rose 1b142507c3 Fix link color in hero overlay 2016-06-06 22:28:51 -04:00
Michael Rose 9d27604578 Remove border from archive items' headings 2016-06-06 22:28:33 -04:00
Michael Rose c958701c50 Merge branch 'release/3.2.4' 2016-06-06 21:28:08 -04:00
Michael Rose fba1cb3ffa Merge branch 'release/3.2.4' into develop 2016-06-06 21:28:08 -04:00
Michael Rose e8596c5f62 Bump version to 3.2.4 2016-06-06 21:27:59 -04:00
Michael Rose a8715852bc Update CHANGELOG 2016-06-06 21:27:35 -04:00
Michael Rose ebccf63638 Merge branch 'feature/masthead-alignment' into develop 2016-06-06 21:17:23 -04:00
Michael Rose 4aa0631ac6 Build CSS 2016-06-06 21:17:06 -04:00
Michael Rose e6a5d24bc4 Add subtle border to <h2> elements in main content 2016-06-06 21:16:57 -04:00
Michael Rose b1c6d19acc Neutralize Font Awesome footer icons' color 2016-06-06 21:16:36 -04:00
Michael Rose a3322620ef Lighten font weight 2016-06-06 21:02:11 -04:00
Michael Rose 8cd5be2107 Add border and background color to page footer 2016-06-06 21:01:54 -04:00
Michael Rose 2e2e42d1f0 Move custom footer into <footer> 2016-06-06 15:16:43 -04:00
Michael Rose ad303b9484 Left align hero overlay and archive features to flow better with left aligned layouts 2016-06-06 15:16:24 -04:00
Michael Rose df86cb62c2 Left align masthead and footer 2016-06-06 15:15:20 -04:00
Michael Rose 972e55c938 Merge branch 'feature/css-edits' into develop 2016-06-06 12:16:41 -04:00
Michael Rose db869e8274 Increase font size of archive item titles in list view 2016-06-06 12:11:52 -04:00
Michael Rose f497183b2a Fix alignment of icons used in author profile sidebar links
- Close #341
2016-06-06 12:08:45 -04:00
Michael Rose 1c8bfa3fe6 Merge branch 'feature/spanish-localization' into develop 2016-06-06 12:03:19 -04:00
Sergio C. Orozco Torres dcb880ee9e Typo in locale es_CO and es_ES 2016-06-04 16:29:58 -05:00
Sergio C. Orozco Torres 5bd8ed99d6 Added spanish on ui-text.yml
on ui-text.yml
2016-06-04 04:33:00 -05:00
Michael Rose 4249b87c66 Merge branch 'release/3.2.3' into develop 2016-06-03 15:04:31 -04:00
15 changed files with 178 additions and 50 deletions
+42 -2
View File
@@ -1,14 +1,54 @@
## [3.2.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.7)
### Enhancements
- Add French localized UI text. [#346](https://github.com/mmistakes/minimal-mistakes/pull/346)
### Bug Fixes
- Fix branch logic for Yandex and Alexa in `seo.html`. [#348](https://github.com/mmistakes/minimal-mistakes/pull/348)
## [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)
### Enhancements
- Improve text alignment of masthead, hero overlay, page footer to be flush left and remove awkward white-space gaps. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
- Add Spanish localized UI text. [#338](https://github.com/mmistakes/minimal-mistakes/pull/338)
### Bug Fixes
- Fix alignment of icons in author sidebar [#341](https://github.com/mmistakes/minimal-mistakes/issues/341)
### Maintenance
- Add background color to page footer to set it apart from main content. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
- Add terms and privacy policy to theme's demo site. [#343](https://github.com/mmistakes/minimal-mistakes/issues/343)
- Update screenshots found in theme documentation.
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
### Enhancement
- Add [Discourse](https://www.discourse.org/) as a commenting provider [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
- Add [Discourse](https://www.discourse.org/) as a commenting provider. [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)
### Enhancement
- Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
- Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper. [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
## [3.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.1)
+4 -4
View File
@@ -5,11 +5,11 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
[![Minimal Mistakes live preview][2]][1]
[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.
![layout examples](https://cloud.githubusercontent.com/assets/1376749/14541626/dac474f4-0258-11e6-83f6-40e752028222.png)
![layout examples](images/mm-layout-examples.png)
## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/)
@@ -19,8 +19,8 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
- Several layout options (single, archive, splash pages)
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, and custom)
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom)
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom).
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
#### Demo Pages
+69
View File
@@ -27,10 +27,79 @@ en: &DEFAULT_EN
website_label : "Website"
email_label : "Email"
recent_posts : "Recent Posts"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
en-US:
<<: *DEFAULT_EN
en-UK:
<<: *DEFAULT_EN
# Spanish
# --------------
es: &DEFAULT_ES
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Siguiente"
breadcrumb_home_label : "Inicio"
breadcrumb_separator : "/"
toc_label : "Contenidos"
ext_link_label : "Enlace"
less_than : "menos de"
minute_read : "minuto de lectura"
minutes_read : "minutos de lectura"
share_on_label : "Compartir"
meta_label :
tags_label : "Etiquetas:"
categories_label : "Categorías:"
date_label : "Actualizado:"
comments_label : "Comentar"
more_label : "Ver más"
related_label : "Podrías ver también"
follow_label : "Seguir:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Sitio web"
email_label : "Email"
recent_posts : "Entradas recientes"
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
es-ES:
<<: *DEFAULT_ES
es-CO:
<<: *DEFAULT_ES
# French
# -----------------
fr: &DEFAULT_FR
page : "Page"
pagination_previous : "Précédent"
pagination_next : "Suivant"
breadcrumb_home_label : "Accueil"
breadcrumb_separator : "/"
toc_label : "Sur cette page"
ext_link_label : "Lien direct"
less_than : "plus petit que"
minute_read : "minute de lecture"
minutes_read : "minutes de lecture"
share_on_label : "Partager sur"
meta_label :
tags_label : "Tags :"
categories_label : "Catégories :"
date_label : "Mis à jour :"
comments_label : "Laisser un commentaire"
more_label : "Lire plus"
related_label : "Vous pourriez aimer"
follow_label : "Suivez moi"
feed_label : "Flux"
powered_by : "Propulsé par"
website_label : "Site"
email_label : "Email"
recent_posts : "Posts récents"
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
fr-FR:
<<: *DEFAULT_FR
fr-BE:
<<: *DEFAULT_FR
fr-CH:
<<: *DEFAULT_FR
# Another locale
# --------------
+9 -5
View File
@@ -4,10 +4,14 @@
{% assign words = page.content | strip_html | number_of_words %}
{% endif %}
{% if words < 180 %}
{{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
{% elsif words < 360 %}
1 {{ site.data.ui-text[site.locale].minute_read }}
{% if site.words_per_minute %}
{% if words < 180 %}
{{ site.data.ui-text[site.locale].less_than }} 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 %}
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
{{ site.data.ui-text[site.locale].undefined_wpm }}
{% endif %}
+3 -3
View File
@@ -127,10 +127,10 @@
{% if site.bing_site_verification %}
<meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
{% endif %}
{% if site.owner.alexa.verify %}
{% if site.alexa_site_verification %}
<meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
{% endif %}
{% if site.owner.yandex.verify %}
{% if site.yandex_site_verification %}
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
{% endif %}
<!-- end SEO -->
<!-- end SEO -->
+1 -1
View File
@@ -20,12 +20,12 @@ layout: compress
<div class="page__footer">
<footer>
{% include footer/custom.html %}
{% include footer.html %}
</footer>
</div>
{% include scripts.html %}
{% include footer/custom.html %}
</body>
</html>
+9 -10
View File
@@ -35,7 +35,15 @@
.archive__item-title {
margin-bottom: 0.25em;
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 {
@@ -149,7 +157,6 @@ a:hover {
@include breakpoint($small) {
margin-bottom: 0;
text-align: center;
@include gallery(4 of 12);
.feature__item-teaser {
@@ -158,14 +165,8 @@ a:hover {
}
}
.archive__item-body {
padding-left: 0.5em;
padding-right: 0.5em;
}
&--left {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;
.archive__item-teaser {
@@ -187,7 +188,6 @@ a:hover {
&--right {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;
.archive__item-teaser {
@@ -211,7 +211,6 @@ a:hover {
&--center {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;
.archive__item-teaser {
+16 -11
View File
@@ -3,16 +3,24 @@
========================================================================== */
.page__footer {
@include container;
@include full();
@include clearfix;
margin-top: 3em;
padding: 0 1em 3em;
color: mix(#fff, $gray, 25%);
animation: intro 0.3s both;
animation-delay: 0.45s;
background-color: $lighter-gray;
border-top: 1px solid $light-gray;
@include breakpoint($x-large) {
max-width: $x-large;
footer {
@include container;
@include clearfix;
margin-top: 2em;
padding: 0 1em 2em;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
a {
@@ -23,21 +31,18 @@
text-decoration: underline;
}
}
.fa {
color: mix(#fff, $gray, 25%);
}
}
.page__footer-copyright {
font-family: $global-font-family;
font-size: $type-size-7;
@include breakpoint($large) {
@include prefix(2.5 of 12);
}
}
.page__footer-follow {
@include breakpoint($large) {
@include prefix(2.5 of 12);
}
ul {
margin: 0;
+2 -7
View File
@@ -14,8 +14,6 @@
@include clearfix;
padding: 1em 1em 1em;
font-family: $sans-serif-narrow;
font-weight: 700;
text-transform: uppercase;
@include breakpoint($x-large) {
max-width: $x-large;
@@ -32,9 +30,6 @@
}
.masthead__menu {
@include breakpoint($large) {
@include prefix(2.5 of 12);
}
ul {
margin: 0;
@@ -47,10 +42,10 @@
.masthead__menu-item {
display: block;
list-style-type: none;
font-size: $type-size-6;
white-space: nowrap;
&--lg {
font-size: $type-size-5;
padding-right: 2em;
font-weight: 700;
}
}
+20 -3
View File
@@ -49,6 +49,12 @@
}
.page__content {
h2 {
padding-bottom: 0.5em;
border-bottom: 1px solid $border-color;
}
p, li, dl {
font-size: 1em;
}
@@ -113,16 +119,23 @@
margin-bottom: 2em;
padding: 3em 0;
@include clearfix;
text-align: center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
animation: intro 0.3s both;
animation-delay: 0.25s;
a {
color: #fff;
}
.wrapper {
padding-left: 2em;
padding-right: 2em;
padding-left: 1em;
padding-right: 1em;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
.page__title,
@@ -133,6 +146,10 @@
text-shadow: 1px 1px 4px rgba(#000, 0.5);
}
.page__lead {
max-width: $medium;
}
.page__title {
font-size: $type-size-2;
-1
View File
@@ -184,7 +184,6 @@ body:hover .visually-hidden button {
.social-icons {
.fa {
color: #000;
display: initial;
}
.fa-behance,
+2 -2
View File
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
View File
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "2.1.0",
"version": "3.2.7",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": {
"type": "git",