Compare commits

...
34 Commits
Author SHA1 Message Date
Michael Rose c958701c50 Merge branch 'release/3.2.4' 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
Michael Rose a7b749650e Merge branch 'release/3.2.3' 2016-06-03 15:04:27 -04:00
Michael Rose 89c252e347 Update CHANGELOG 2016-06-03 15:04:09 -04:00
Michael Rose 400111c58b Merge branch 'feature/discourse-comments' into develop 2016-06-03 12:03:34 -04:00
Michael Rose 5bbf801d8c Remove last blank line 2016-06-03 12:03:19 -04:00
Michael Rose d9ac4a7940 Merge branch 'feature-discourse-comments' of https://github.com/rriemann/minimal-mistakes into feature/discourse-comments 2016-06-03 12:01:08 -04:00
Michael Rose b3c0b79b92 Replace contains "http" with contains "://" 2016-06-03 11:59:19 -04:00
Robert Riemann e186ee3650 take into account an optional basepath 2016-06-03 10:57:52 +02:00
Robert Riemann f6f7d0cd97 javascript to embed comments from discourse forum
The comment system can be changed to embed topics from the Discourse
forum software: http://discourse.org/

More details: https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963
2016-06-03 00:34:14 +02:00
Michael Rose 9b833feb7d Update CHANGELOG 2016-06-01 21:53:35 -04:00
Michael Rose 8b793dde76 Update CHANGELOG 2016-06-01 21:53:03 -04:00
Michael Rose 449051d9c9 Merge branch 'release/3.2.2' into develop 2016-06-01 21:33:54 -04:00
Michael Rose 5bc7f00f91 Merge branch 'release/3.2.2'
# Conflicts:
#	CHANGELOG.md
2016-06-01 21:32:55 -04:00
Michael Rose 34d2bdf049 Update CHANGELOG 2016-06-01 21:31:45 -04:00
Michael Rose 2a05b6e907 Update CHANGELOG 2016-05-31 12:37:17 -04:00
Michael Rose 15f4ac9641 Merge branch 'hotfix/3.2.1' 2016-05-31 12:32:04 -04:00
23 changed files with 138 additions and 58 deletions
+29
View File
@@ -1,3 +1,32 @@
## [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)
## [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)
## [3.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.1)
### Bug Fixes
+3 -1
View File
@@ -18,9 +18,11 @@ teaser : # filename of teaser fallback teaser image placed in
# breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : # false (default), "disqus", "facebook", "google-plus", custom"
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
facebook:
# https://developers.facebook.com/docs/plugins/comments
appid :
+32
View File
@@ -32,5 +32,37 @@ en-US:
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"
es-ES:
<<: *DEFAULT_ES
es-CO:
<<: *DEFAULT_ES
# Another locale
# --------------
+1 -1
View File
@@ -16,7 +16,7 @@
{% if include.type == "grid" and teaser != blank %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "http" %}
{% if teaser contains "://" %}
"{{ teaser }}"
{% else %}
"{{ teaser | prepend: "/images/" | prepend: base_path }}"
+1 -1
View File
@@ -7,7 +7,7 @@
<div itemscope itemtype="http://schema.org/Person">
<div class="author__avatar">
{% if author.avatar contains "http" %}
{% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}">
{% else %}
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
@@ -0,0 +1,14 @@
{% if site.comments.discourse.server %}
{% include base_path %}
{% capture canonical %}{{ base_path }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<script type="text/javascript">
DiscourseEmbed = { discourseUrl: '//{{ site.comments.discourse.server }}/',
discourseEmbedUrl: '{{ canonical }}' };
(function () {
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
})();
</script>
<noscript>Please enable JavaScript to view the comments powered by [Discourse](http://forum.beta-europe.org/c/beta/website).</a></noscript>
{% endif %}
+1 -1
View File
@@ -19,4 +19,4 @@
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %}
{% endif %}
@@ -1,2 +1,2 @@
<script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script>
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
@@ -3,6 +3,8 @@
{% case site.comments.provider %}
{% when "disqus" %}
{% include /comments-providers/disqus.html %}
{% when "discourse" %}
{% include /comments-providers/discourse.html %}
{% when "facebook" %}
{% include /comments-providers/facebook.html %}
{% when "google-plus" %}
+2 -2
View File
@@ -10,7 +10,7 @@
{% for f in feature_row %}
{% if f.url contains "http" %}
{% if f.url contains "://" %}
{% capture f_url %}{{ f.url }}{% endcapture %}
{% else %}
{% capture f_url %}{{ f.url | prepend: base_path }}{% endcapture %}
@@ -21,7 +21,7 @@
{% if f.image_path %}
<div class="archive__item-teaser">
<img src=
{% if f.image_path contains "http" %}
{% if f.image_path contains "://" %}
"{{ f.image_path }}"
{% else %}
"{{ f.image_path | prepend: "/images/" | prepend: base_path }}"
+3 -3
View File
@@ -20,7 +20,7 @@
{% for img in gallery %}
{% if img.url %}
<a href=
{% if img.url contains "http" %}
{% if img.url contains "://" %}
"{{ img.url }}"
{% else %}
"{{ img.url | prepend: "/images/" | prepend: base_path }}"
@@ -28,7 +28,7 @@
{% if img.title %}title="{{ img.title }}"{% endif %}
>
<img src=
{% if img.image_path contains "http" %}
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
@@ -37,7 +37,7 @@
</a>
{% else %}
<img src=
{% if img.image_path contains "http" %}
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
+3 -5
View File
@@ -8,7 +8,7 @@
<li>
{% if nav.url %}
{% comment %}internal/external URL check{% endcomment %}
{% if nav.url contains "http" %}
{% if nav.url contains "://" %}
{% assign domain = "" %}
{% else %}
{% assign domain = base_path %}
@@ -23,7 +23,7 @@
<ul>
{% for child in nav.children %}
{% comment %}internal/external URL check{% endcomment %}
{% if child.url contains "http" %}
{% if child.url contains "://" %}
{% assign domain = "" %}
{% else %}
{% assign domain = base_path %}
@@ -43,6 +43,4 @@
</li>
{% endfor %}
</ul>
</nav>
</nav>
+4 -4
View File
@@ -1,18 +1,18 @@
{% include base_path %}
{% if page.header.image contains "http" %}
{% if page.header.image contains "://" %}
{% capture img_path %}{{ page.header.image }}{% endcapture %}
{% else %}
{% capture img_path %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
{% endif %}
{% if page.header.cta_url contains "http" %}
{% if page.header.cta_url contains "://" %}
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
{% else %}
{% capture cta_path %}{{ page.header.cta_url | prepend: base_path }}{% endcapture %}
{% endif %}
{% if page.header.overlay_image contains "http" %}
{% if page.header.overlay_image contains "://" %}
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
{% elsif page.header.overlay_image %}
{% capture overlay_img_path %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
@@ -52,4 +52,4 @@
{% if page.header.caption %}
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %}
</div>
</div>
+2 -2
View File
@@ -60,7 +60,7 @@
{% if page.header.image %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
<meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% else %}
<meta name="twitter:card" content="summary">
{% if site.og_image %}
@@ -84,7 +84,7 @@
{% endif %}
{% if page.header.image %}
<meta property="og:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
<meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% endif %}
{% if page.date %}
+1 -1
View File
@@ -7,7 +7,7 @@
{% for s in page.sidebar %}
{% if s.image %}
<img src=
{% if s.image contains "http" %}
{% if s.image contains "://" %}
"{{ s.image }}"
{% else %}
"{{ s.image | prepend: "/images/" | prepend: base_path }}"
+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>
+1 -10
View File
@@ -35,7 +35,7 @@
.archive__item-title {
margin-bottom: 0.25em;
font-family: $sans-serif-narrow;
font-size: $type-size-5;
// font-size: $type-size-5;
}
.archive__item-excerpt {
@@ -149,7 +149,6 @@ a:hover {
@include breakpoint($small) {
margin-bottom: 0;
text-align: center;
@include gallery(4 of 12);
.feature__item-teaser {
@@ -158,14 +157,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 +180,6 @@ a:hover {
&--right {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;
.archive__item-teaser {
@@ -211,7 +203,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;
}
}
+16 -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,7 +119,6 @@
margin-bottom: 2em;
padding: 3em 0;
@include clearfix;
text-align: center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
@@ -121,8 +126,12 @@
animation-delay: 0.25s;
.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 +142,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
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "2.1.0",
"version": "3.2.4",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": {
"type": "git",