diff --git a/.gitignore b/.gitignore index 45c150536..b9ff5471a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ _site .sass-cache .jekyll-metadata +.jekyll-cache +.bundle +vendor diff --git a/Gemfile b/Gemfile index 63f23e7b9..ad2c87a87 100644 --- a/Gemfile +++ b/Gemfile @@ -8,11 +8,11 @@ source "https://rubygems.org" # # This will help ensure the proper Jekyll version is running. # Happy Jekylling! -gem "jekyll", "~> 3.8.4" +gem "jekyll", "~> 4.0.0" # If you have any plugins, put them here! group :jekyll_plugins do - gem "jekyll-paginate" + gem "jekyll-paginate-v2" gem "jekyll-sitemap" gem "octopress-autoprefixer" end diff --git a/Gemfile.lock b/Gemfile.lock index 2d0ed6888..8dcbaac72 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,76 +1,84 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.6.0) - public_suffix (>= 2.0.2, < 4.0) - autoprefixer-rails (9.4.8) + addressable (2.7.0) + public_suffix (>= 2.0.2, < 5.0) + autoprefixer-rails (9.7.6) execjs colorator (1.1.0) - concurrent-ruby (1.1.4) + concurrent-ruby (1.1.6) em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.7) execjs (2.7.0) - ffi (1.10.0) + ffi (1.12.2) forwardable-extended (2.6.0) http_parser.rb (0.6.0) - i18n (0.9.5) + i18n (1.8.2) concurrent-ruby (~> 1.0) - jekyll (3.8.5) + jekyll (4.0.1) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) + i18n (>= 0.9.5, < 2) + jekyll-sass-converter (~> 2.0) jekyll-watch (~> 2.0) - kramdown (~> 1.14) + kramdown (~> 2.1) + kramdown-parser-gfm (~> 1.0) liquid (~> 4.0) mercenary (~> 0.3.3) pathutil (~> 0.9) - rouge (>= 1.7, < 4) + rouge (~> 3.0) safe_yaml (~> 1.0) - jekyll-paginate (1.1.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-sitemap (1.2.0) - jekyll (~> 3.3) - jekyll-watch (2.1.2) + terminal-table (~> 1.8) + jekyll-paginate-v2 (3.0.0) + jekyll (>= 3.0, < 5.0) + jekyll-sass-converter (2.1.0) + sassc (> 2.0.1, < 3.0) + jekyll-sitemap (1.4.0) + jekyll (>= 3.7, < 5.0) + jekyll-watch (2.2.1) listen (~> 3.0) - kramdown (1.17.0) - liquid (4.0.1) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) + kramdown (2.2.1) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.3) + listen (3.2.1) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - octopress-autoprefixer (2.0.1) + octopress-autoprefixer (1.0.2) autoprefixer-rails - jekyll (~> 3.0) + jekyll (>= 2.0) + octopress-hooks (~> 2.0) + octopress-hooks (2.6.2) + jekyll (>= 2.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (3.0.3) - rb-fsevent (0.10.3) - rb-inotify (0.10.0) + public_suffix (4.0.5) + rb-fsevent (0.10.4) + rb-inotify (0.10.1) ffi (~> 1.0) - rouge (3.3.0) - ruby_dep (1.5.0) + rexml (3.2.4) + rouge (3.19.0) safe_yaml (1.0.5) - sass (3.7.3) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) + sassc (2.3.0) + ffi (~> 1.9) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + unicode-display_width (1.7.0) PLATFORMS ruby DEPENDENCIES - jekyll (~> 3.8.4) - jekyll-paginate + jekyll (~> 4.0.0) + jekyll-paginate-v2 jekyll-sitemap octopress-autoprefixer tzinfo-data BUNDLED WITH - 1.16.1 + 2.1.2 diff --git a/_config.yml b/_config.yml index b6ca29b05..aed4f91af 100644 --- a/_config.yml +++ b/_config.yml @@ -14,13 +14,16 @@ default_img: name: profile_img: profile: -social: - github: +# social: +# github: + +# formats +date_format: "%b %-d, %Y" # Build settings markdown: kramdown plugins: - - jekyll-paginate + - jekyll-paginate-v2 - jekyll-sitemap - octopress-autoprefixer compress_html: @@ -36,8 +39,26 @@ exclude: - README.md # Pagination -paginate: 5 -paginate_path: "/blog/page-:num" +pagination: + enabled: true + per_page: 5 + permalink: "/blog/page-:num" + sort_field: 'date' + sort_reverse: true + +autopages: + enabled: true + categories: + layouts: + - 'category_index.html' + # Optional, the title that each category paginate page should get (:cat is replaced by the Category name) + title: ':cat' + # Optional, the permalink for the pagination page (:cat is replaced), + # the pagination permalink path is then appended to this permalink structure + permalink: '/category/:cat' + slugify: + mode: 'default' # :cat is slugified. Modes: default, raw, pretty, ascii, latin + case: false # Whether to replace all uppercase letters with their lowercase counterparts # Sass sass: diff --git a/_data/language.yml b/_data/language.yml new file mode 100644 index 000000000..1905d4227 --- /dev/null +++ b/_data/language.yml @@ -0,0 +1,12 @@ +archive: "Archive" +viewall: "View All" +posts: "Posts" +backto_cat: "Back to" +category: "Category" +categories: "Categories" +readmore: "Read More" +readnext: "Read Next" +postedin_cat: "Posted in" +pagination: + previous: "Previous" + next: "Next" diff --git a/_includes/archive-link.html b/_includes/archive-link.html index cfb0f287a..47099ac87 100644 --- a/_includes/archive-link.html +++ b/_includes/archive-link.html @@ -1,5 +1,5 @@