~xdavidwu/xdavidwu.link

1580e9d3c49cc0e473465025eb51e6e05d50cf1e — xdavidwu 11 months ago 384133a
meta: make read estimation cjk friendly
2 files changed, 2 insertions(+), 2 deletions(-)

M _includes/page__meta.html
M minimal-mistakes-jekyll.gemspec
M _includes/page__meta.html => _includes/page__meta.html +1 -1
@@ 13,7 13,7 @@

    {% if document.read_time %}
      {% assign words_per_minute = document.words_per_minute | default: site.words_per_minute | default: 200 %}
      {% assign words = document.content | strip_html | number_of_words %}
      {% assign words = document.content | strip_html | number_of_words: "auto" %}

      <span class="page__meta-readtime">
        <i class="fa fa-fw fa-clock-o" aria-hidden="true"></i>

M minimal-mistakes-jekyll.gemspec => minimal-mistakes-jekyll.gemspec +1 -1
@@ 15,7 15,7 @@ Gem::Specification.new do |spec|
    f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i)
  end

  spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0"
  spec.add_runtime_dependency "jekyll", ">= 4.1", "< 5.0"
  spec.add_runtime_dependency "jekyll-sass-converter", ">= 2.0", "< 3.0"
  spec.add_runtime_dependency "jekyll-sitemap", ">= 1.3"
  spec.add_runtime_dependency "jekyll-feed", ">= 0.1"