Skip to content

Commit

Permalink
Merge branch 'release/3.2.12'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Jun 24, 2016
2 parents 356121e + c259fe9 commit b8076e1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [3.2.12](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.12)

### Enhancements

- Remove window width "magic number" from sticky sidebar check in `main.js` for improved flexibility. [#375](https://github.com/mmistakes/minimal-mistakes/pull/375)

### Bug Fixes

- Fix author override conditional where a missing `authors.yml` would show broken sidebar content. Defaults to `site.author`. [#376](https://github.com/mmistakes/minimal-mistakes/pull/376)

## [3.2.11](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.11)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion _includes/author-profile.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% include base_path %}

{% if page.author %}
{% if page.author and site.data.authors[page.author] %}
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
{% endif %}

Expand Down
7 changes: 3 additions & 4 deletions assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ $(document).ready(function(){
$(".sticky").Stickyfill();

var stickySideBar = function(){
var windowWidth = $(window).width();
if (windowWidth > 1024) {
if (!$(".author__urls-wrapper button").is(":visible")) {
// fix
Stickyfill.rebuild();
Stickyfill.init();
$(".author__urls").show()
$(".author__urls").show();
} else {
// unfix
Stickyfill.stop();
$(".author__urls").hide()
$(".author__urls").hide();
}
};

Expand Down
2 changes: 1 addition & 1 deletion assets/js/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "3.2.11",
"version": "3.2.12",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": {
"type": "git",
Expand Down

0 comments on commit b8076e1

Please sign in to comment.