Compare commits

..
20 Commits
Author SHA1 Message Date
Michael Rose 32d2c7db0d Merge branch 'release/3.4.7' 2016-09-15 14:55:24 -04:00
Michael Rose 8756c27704 Update CHANGELOG.md and bump version to 3.4.7 2016-09-15 14:55:06 -04:00
Vince Chu 57449b37ca Add classnames to body element (#526)
* Expose layout type as class name on body element

* Add ability to add classes to body via front matter
2016-09-15 14:46:04 -04:00
Michael Rose a60257de3d Merge branch 'feature/zh-cn-translations' into develop 2016-09-15 14:36:15 -04:00
Michael Rose 0c13d0446d Merge branch 'master' of https://github.com/martinliu/minimal-mistakes into feature/zh-cn-translations 2016-09-15 14:35:37 -04:00
Martin Liu a1d508d53b Add zh-CN
Add Simplified Chinese UI text.
2016-09-15 19:56:46 +08:00
Vince Chu 54b2da3022 Remove duplicate include of base_path in category-list.html (#522) 2016-09-13 09:30:52 -04:00
Michael Rose 921f4411c3 Merge branch 'release/3.4.6' into develop 2016-09-09 10:37:37 -04:00
Michael Rose 4092d08c8c Merge branch 'release/3.4.6' 2016-09-09 10:37:32 -04:00
Michael Rose f12a902372 Update CHANGELOG.md and bump version to 3.4.6 2016-09-09 10:37:06 -04:00
Michael Rose 6db88b709a Disable compress layout by default
- Due to several issues related to content and JavaScript HTML compression has been disabled.
- To enable add `layout: compress` to _layout/default.html YAML Front Matter
2016-09-09 10:33:42 -04:00
nmiglio f5cf9d8fd8 Completed Italian translation (#514)
cc/ #449
2016-09-09 10:29:15 -04:00
Michael Rose 6617549249 Merge branch 'release/3.4.5' into develop 2016-09-09 10:12:30 -04:00
Michael Rose 233dcde6f9 Merge branch 'release/3.4.5' 2016-09-09 10:12:25 -04:00
Michael Rose 3889ff311e Update CHANGELOG.md and bump version to 3.4.5 2016-09-09 10:12:07 -04:00
Michael Rose 3c034e59f4 Improve styling of {% highlight %} tag code blocks
- Fix alignment in issues in Firefox
- Remove table borders from `linenos`
- Harmonize padding and font-sizes
- Close #513 and close #512
2016-09-09 09:58:27 -04:00
Roger Schaerer 0c2d3bbb9f get Follow-Button label from ui-text and default to "Follow" (#496) 2016-09-02 08:33:54 -04:00
Michael Rose a718162d96 Merge branch 'uru-ch-clarified-comment-stackoverflow-author-profile' into develop
* uru-ch-clarified-comment-stackoverflow-author-profile:
  clarified comment for author.stackoverflow value
2016-08-29 21:46:06 -04:00
rschaerer d3ac1123da clarified comment for author.stackoverflow value 2016-08-29 01:39:27 +02:00
Michael Rose a40e93fa41 Merge branch 'release/3.4.4' into develop 2016-08-25 14:34:08 -04:00
8 changed files with 134 additions and 25 deletions
+41
View File
@@ -1,3 +1,44 @@
## [3.4.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.7)
### Enhancements
- Add `layout` based and user-defined class names to `<body>` element for added CSS hooks. [#526](https://github.com/mmistakes/minimal-mistakes/pull/526)
- Add simplified Chinese localized UI text. [#532](https://github.com/mmistakes/minimal-mistakes/pull/532)
### Bug Fixes
- Remove duplicate include of `base_path` in category-list.html [#522](https://github.com/mmistakes/minimal-mistakes/pull/522)
### Maintenance
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
### Enhancements
- Add Italian "comments" related localized UI text. [#514](https://github.com/mmistakes/minimal-mistakes/pull/514)
### Bug Fixes
- Disable `compress` HTML layout by default. To enable add `layout: compress` to `_layouts/default.html`.
## [3.4.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.5)
### Enhancements
- Improve line numbered code block styling when using `{% highlight linenos %}` tag. [#513](https://github.com/mmistakes/minimal-mistakes/issues/513)
- Add English fallback to "Follow" button label. [#496](https://github.com/mmistakes/minimal-mistakes/pull/496)
### Bug Fixes
- Fix Firefox alignment issues with code blocks generated with the `{% highlight %}` tag. [#512](https://github.com/mmistakes/minimal-mistakes/issues/512)
### Maintenance
- Clarified comment for `author.stackoverflow` value used in author sidebar links. [#487](https://github.com/mmistakes/minimal-mistakes/pull/487)
- Add list of localized text strings. [#488](https://github.com/mmistakes/minimal-mistakes/pull/488)
- Add `{% highlight %}` code block examples to demo site.
- Add documentation for using custom sidebar navigation menus. [#476](https://github.com/mmistakes/minimal-mistakes/issues/476)
## [3.4.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.4) ## [3.4.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.4)
### Enhancements ### Enhancements
+1 -1
View File
@@ -97,7 +97,7 @@ author:
linkedin : linkedin :
pinterest : pinterest :
soundcloud : soundcloud :
stackoverflow : # http://stackoverflow.com/users/123456/username stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
steam : steam :
tumblr : tumblr :
twitter : twitter :
+59 -11
View File
@@ -253,19 +253,67 @@ it: &DEFAULT_IT
email_label : "Email" email_label : "Email"
recent_posts : "Articoli Recenti" recent_posts : "Articoli Recenti"
undefined_wpm : "Parametro words_per_minute non definito in _config.yml" undefined_wpm : "Parametro words_per_minute non definito in _config.yml"
comment_form_info : comment_form_info : "Il tuo indirizzo email non sarà pubblicato. Sono segnati i campi obbligatori"
comment_form_comment_label : comment_form_comment_label : "Commenta"
comment_form_md_info : comment_form_md_info : "Il linguaggio Markdown è supportato"
comment_form_name_label : comment_form_name_label : "Nome"
comment_form_email_label : comment_form_email_label : "Indirizzo email"
comment_form_website_label : comment_form_website_label : "Sito Web (opzionale)"
comment_btn_submit : comment_btn_submit : "Invia commento"
comment_btn_submitted : comment_btn_submitted : "Inviato"
comment_success_msg : comment_success_msg : "Grazie per il tuo commento! Verrà visualizzato nel sito una volta che sarà approvato."
comment_error_msg : comment_error_msg : "C'è stato un errore con il tuo invio. Assicurati che tutti i campi richiesti siano stati completati e riprova."
loading_label : loading_label : "Caricamento..."
it-IT: it-IT:
<<: *DEFAULT_IT <<: *DEFAULT_IT
# Chinese (zh-CN Chinese - China)
# -----------------
zh: &DEFAULT_ZH
page : "页面"
pagination_previous : "向前"
pagination_next : "向后"
breadcrumb_home_label : "首页"
breadcrumb_separator : "/"
toc_label : "在本页上"
ext_link_label : "直接链接"
less_than : "少于"
minute_read : "分钟 阅读"
share_on_label : "分享"
meta_label :
tags_label : "标签:"
categories_label : "分类:"
date_label : "最新的:"
comments_label : "留下评论"
comments_title : "评论"
more_label : "了解更多"
related_label : "猜您还喜欢"
follow_label : "关注:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "网站"
email_label : "Email"
recent_posts : "最新文章"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
comment_form_info : "Your email address will not be published. Required fields are marked"
comment_form_comment_label : "Comment"
comment_form_md_info : "Markdown is supported."
comment_form_name_label : "Name"
comment_form_email_label : "Email address"
comment_form_website_label : "Website (optional)"
comment_btn_submit : "Submit Comment"
comment_btn_submitted : "Submitted"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..."
zh-CN:
<<: *DEFAULT_ZH
zh-HK:
<<: *DEFAULT_ZH
zh-SG:
<<: *DEFAULT_ZH
zh-TW:
<<: *DEFAULT_ZH
# Another locale # Another locale
# -------------- # --------------
+1 -1
View File
@@ -20,7 +20,7 @@
</div> </div>
<div class="author__urls-wrapper"> <div class="author__urls-wrapper">
<button class="btn btn--inverse">Follow</button> <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li> <li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
-2
View File
@@ -1,7 +1,5 @@
{% include base_path %} {% include base_path %}
{% include base_path %}
{% case site.category_archive.type %} {% case site.category_archive.type %}
{% when "liquid" %} {% when "liquid" %}
{% assign path_type = "#" %} {% assign path_type = "#" %}
+1 -2
View File
@@ -1,5 +1,4 @@
--- ---
layout: compress
--- ---
{% include base_path %} {% include base_path %}
@@ -11,7 +10,7 @@ layout: compress
{% include head/custom.html %} {% include head/custom.html %}
</head> </head>
<body> <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
{% include browser-upgrade.html %} {% include browser-upgrade.html %}
{% include masthead.html %} {% include masthead.html %}
+30 -7
View File
@@ -2,9 +2,13 @@
Syntax highlighting Syntax highlighting
========================================================================== */ ========================================================================== */
div.highlighter-rouge, figure.highlight { div.highlighter-rouge,
figure.highlight {
position: relative; position: relative;
margin-bottom: 1em; margin-bottom: 1em;
font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background-color: $code-background-color; background-color: $code-background-color;
@@ -18,7 +22,6 @@ div.highlighter-rouge, figure.highlight {
background-color: $lighter-gray; background-color: $lighter-gray;
content: "\f121"; content: "\f121";
font-family: "fontawesome" !important; font-family: "fontawesome" !important;
font-size: $type-size-6;
line-height: 1; line-height: 1;
text-transform: none; text-transform: none;
speak: none; speak: none;
@@ -27,15 +30,35 @@ div.highlighter-rouge, figure.highlight {
.highlight { .highlight {
margin: 0; margin: 0;
padding: 1em; padding: 1em;
font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
} }
} }
.highlight table td { padding: 5px; } figure.highlight {
.highlight table pre { margin: 0; } padding-left: 1em;
padding-right: 1em;
}
.highlight table {
font-size: 1em;
border: 0;
td {
padding: 5px;
border: 0;
// line numbers
&.gutter {
padding-right: 1em;
color: $light-gray;
}
}
pre {
margin: 0;
}
}
.highlight pre { width: 100%; }
/* /*
Solarized Light Solarized Light
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "minimal-mistakes", "name": "minimal-mistakes",
"version": "3.4.4", "version": "3.4.7",
"description": "Minimal Mistakes Jekyll theme npm build scripts", "description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": { "repository": {
"type": "git", "type": "git",