~xdavidwu/xdavidwu.link

dabbbd4abf782c6c9472a263b67fd414e320a285 — xdavidwu 2 years ago a4c4f1a
disable pagination
3 files changed, 3 insertions(+), 6 deletions(-)

M _config.yml
M _layouts/home.html
M minimal-mistakes-jekyll.gemspec
M _config.yml => _config.yml +0 -4
@@ 192,14 192,11 @@ sass:

# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: "Asia/Taipei" # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones


# Plugins (previously gems:)
plugins:
  - jekyll-paginate
  - jekyll-sitemap
  - jekyll-feed
  - jekyll-include-cache


@@ 207,7 204,6 @@ plugins:

# mimic GitHub Pages with --safe
whitelist:
  - jekyll-paginate
  - jekyll-sitemap
  - jekyll-feed
  - jekyll-include-cache

M _layouts/home.html => _layouts/home.html +3 -1
@@ 17,4 17,6 @@ layout: archive_notitle
  {% include archive-single.html type=entries_layout %}
{% endfor %}

{% include paginator.html %}
{% if paginator %}
  {% include paginator.html %}
{% endif %}

M minimal-mistakes-jekyll.gemspec => minimal-mistakes-jekyll.gemspec +0 -1
@@ 16,7 16,6 @@ Gem::Specification.new do |spec|
  end

  spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0"
  spec.add_runtime_dependency "jekyll-paginate", ">= 1.1"
  spec.add_runtime_dependency "jekyll-sitemap", ">= 1.3"
  spec.add_runtime_dependency "jekyll-feed", ">= 0.1"
  spec.add_runtime_dependency "jekyll-include-cache", ">= 0.1"