diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-07-06 12:06:18 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-07-06 12:19:17 +0300 |
commit | 907f9a7ae4e253589ea28a6610d1c0cc96f12007 (patch) | |
tree | 6c8a8c1fac6fa8c969db88076b3ce6d9eca04f1b | |
parent | 09d0c5de0c3ac3804c68c24842a0df03f32cb238 (diff) |
Update gems.
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Gemfile.lock | 8 | ||||
-rw-r--r-- | _layouts/redirect.html | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -2,7 +2,7 @@ source 'https://rubygems.org' group :development, :test do gem 'jekyll', '~> 3.8.3' - gem 'jekyll-redirect-from', '~> 0.13.0' + gem 'jekyll-redirect-from', '~> 0.14.0' gem 'jekyll-sitemap', '~> 1.2.0' gem 'jekyll-toc', '~> 0.6.0' end diff --git a/Gemfile.lock b/Gemfile.lock index c4ec8f07d9..ffb84288d4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -29,7 +29,7 @@ GEM pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0) - jekyll-redirect-from (0.13.0) + jekyll-redirect-from (0.14.0) jekyll (~> 3.3) jekyll-sass-converter (1.5.2) sass (~> 3.4) @@ -47,9 +47,9 @@ GEM ruby_dep (~> 1.2) mercenary (0.3.6) mini_portile2 (2.3.0) - nokogiri (1.8.3) + nokogiri (1.8.4) mini_portile2 (~> 2.3.0) - nokogiri (1.8.3-x64-mingw32) + nokogiri (1.8.4-x64-mingw32) mini_portile2 (~> 2.3.0) pathutil (0.16.1) forwardable-extended (~> 2.6) @@ -72,7 +72,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 3.8.3) - jekyll-redirect-from (~> 0.13.0) + jekyll-redirect-from (~> 0.14.0) jekyll-sitemap (~> 1.2.0) jekyll-toc (~> 0.6.0) diff --git a/_layouts/redirect.html b/_layouts/redirect.html index 6cf445d682..a30e77bf4a 100644 --- a/_layouts/redirect.html +++ b/_layouts/redirect.html @@ -5,6 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Bootstrap ยท Content moved</title> <link rel="canonical" href="{{ page.redirect.to }}"> + <script>window.location="{{ page.redirect.to }}";</script> <meta http-equiv="refresh" content="0; url={{ page.redirect.to }}"> <meta name="robots" content="noindex"> <style> @@ -33,6 +34,5 @@ <body> <h1>Redirecting…</h1> <a href="{{ page.redirect.to }}">Click here if you are not redirected</a> - <script>window.location="{{ page.redirect.to }}";</script> </body> </html> |