~xdavidwu/xdavidwu.link

5b93fd7730ef5cd172c0bf38f9491951cd01709b — Michael Rose 8 years ago f098a12 + 69a6961
Merge branch 'release/4.0.5' into develop
M CHANGELOG.md => CHANGELOG.md +15 -0
@@ 1,3 1,18 @@
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)

### Enhancements

- Update gems: `jekyll-sitemap` (0.12), `jekyll-feed` (0.8).
- Improve next/previous pager links visibility by changing gray color to blue (`$link-color`).

### Bug Fixes

- Fix `.sidebar` flicker/jump when hovered. [#583](https://github.com/mmistakes/minimal-mistakes/issues/583)

### Maintenance

- Move contents of `gh-pages` branch to `master` inside of the `/docs` folder.

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

### Enhancements

M _includes/comments-providers/discourse.html => _includes/comments-providers/discourse.html +1 -2
@@ 1,6 1,5 @@
{% 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 %}
{% capture canonical %}{% if site.permalink contains '.html' %}{{ page.url | absolute_url }}{% else %}{{ page.url | absolute_url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<script type="text/javascript">
    DiscourseEmbed = { discourseUrl: '//{{ site.comments.discourse.server }}/',
                       discourseEmbedUrl: '{{ canonical }}' };

M _includes/paginator.html => _includes/paginator.html +2 -2
@@ 54,12 54,12 @@
    {% if paginator.page == paginator.total_pages %}
      <li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
    {% else %}
      <li><a href="{{ base_path }}/page{{ paginator.total_pages }}/">{{ paginator.total_pages }}</a></li>
      <li><a href="{{ '/page' | absolute_url }}{{ paginator.total_pages }}/">{{ paginator.total_pages }}</a></li>
    {% endif %}

    {% comment %} Link next page {% endcomment %}
    {% if paginator.next_page %}
      <li><a href="{{ base_path }}/page{{ paginator.next_page }}/">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
      <li><a href="{{ '/page' | absolute_url }}{{ paginator.next_page }}/">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
    {% else %}
      <li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
    {% endif %}

M _layouts/home.html => _layouts/home.html +0 -2
@@ 2,8 2,6 @@
layout: archive
---

{% include base_path %}

<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>

{% for post in paginator.posts %}

M minimal-mistakes-jekyll.gemspec => minimal-mistakes-jekyll.gemspec +1 -1
@@ 2,7 2,7 @@

Gem::Specification.new do |spec|
  spec.name                    = "minimal-mistakes-jekyll"
  spec.version                 = "4.0.4"
  spec.version                 = "4.0.5"
  spec.authors                 = ["Michael Rose"]

  spec.summary                 = %q{A flexible two-column Jekyll theme.}

M package.json => package.json +1 -1
@@ 1,6 1,6 @@
{
  "name": "minimal-mistakes",
  "version": "4.0.4",
  "version": "4.0.5",
  "description": "Minimal Mistakes Jekyll theme npm build scripts",
  "repository": {
    "type": "git",