Skip to content

Commit 45e7d6b

Browse files
authored
Merge pull request TheAlgorithms#1031 from DirtyF/redirects
Fix redirects
2 parents aed39a4 + 15c6d74 commit 45e7d6b

11 files changed

+457
-539
lines changed

Gemfile.lock

Lines changed: 68 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (4.2.9)
4+
activesupport (4.2.10)
55
i18n (~> 0.7)
66
minitest (~> 5.1)
77
thread_safe (~> 0.3, >= 0.3.4)
@@ -13,79 +13,81 @@ GEM
1313
execjs
1414
coffee-script-source (1.11.1)
1515
colorator (1.1.0)
16-
commonmarker (0.17.9)
16+
commonmarker (0.17.13)
1717
ruby-enum (~> 0.5)
1818
concurrent-ruby (1.0.5)
19+
dnsruby (1.61.2)
20+
addressable (~> 2.5)
1921
em-websocket (0.5.1)
2022
eventmachine (>= 0.12.9)
2123
http_parser.rb (~> 0.6.0)
2224
ethon (0.11.0)
2325
ffi (>= 1.3.0)
24-
eventmachine (1.2.5)
26+
eventmachine (1.2.7)
2527
execjs (2.7.0)
26-
faraday (0.14.0)
28+
faraday (0.15.3)
2729
multipart-post (>= 1.2, < 3)
28-
ffi (1.9.23)
30+
ffi (1.9.25)
2931
forwardable-extended (2.6.0)
3032
gemoji (3.0.0)
31-
github-pages (180)
32-
activesupport (= 4.2.9)
33-
github-pages-health-check (= 1.4.0)
34-
jekyll (= 3.7.3)
35-
jekyll-avatar (= 0.5.0)
33+
github-pages (192)
34+
activesupport (= 4.2.10)
35+
github-pages-health-check (= 1.8.1)
36+
jekyll (= 3.7.4)
37+
jekyll-avatar (= 0.6.0)
3638
jekyll-coffeescript (= 1.1.1)
3739
jekyll-commonmark-ghpages (= 0.1.5)
3840
jekyll-default-layout (= 0.1.4)
39-
jekyll-feed (= 0.9.3)
41+
jekyll-feed (= 0.10.0)
4042
jekyll-gist (= 1.5.0)
4143
jekyll-github-metadata (= 2.9.4)
42-
jekyll-mentions (= 1.3.0)
44+
jekyll-mentions (= 1.4.1)
4345
jekyll-optional-front-matter (= 0.3.0)
4446
jekyll-paginate (= 1.1.0)
4547
jekyll-readme-index (= 0.2.0)
46-
jekyll-redirect-from (= 0.13.0)
48+
jekyll-redirect-from (= 0.14.0)
4749
jekyll-relative-links (= 0.5.3)
48-
jekyll-remote-theme (= 0.2.3)
50+
jekyll-remote-theme (= 0.3.1)
4951
jekyll-sass-converter (= 1.5.2)
50-
jekyll-seo-tag (= 2.4.0)
52+
jekyll-seo-tag (= 2.5.0)
5153
jekyll-sitemap (= 1.2.0)
5254
jekyll-swiss (= 0.4.0)
53-
jekyll-theme-architect (= 0.1.0)
54-
jekyll-theme-cayman (= 0.1.0)
55-
jekyll-theme-dinky (= 0.1.0)
56-
jekyll-theme-hacker (= 0.1.0)
57-
jekyll-theme-leap-day (= 0.1.0)
58-
jekyll-theme-merlot (= 0.1.0)
59-
jekyll-theme-midnight (= 0.1.0)
60-
jekyll-theme-minimal (= 0.1.0)
61-
jekyll-theme-modernist (= 0.1.0)
62-
jekyll-theme-primer (= 0.5.2)
63-
jekyll-theme-slate (= 0.1.0)
64-
jekyll-theme-tactile (= 0.1.0)
65-
jekyll-theme-time-machine (= 0.1.0)
55+
jekyll-theme-architect (= 0.1.1)
56+
jekyll-theme-cayman (= 0.1.1)
57+
jekyll-theme-dinky (= 0.1.1)
58+
jekyll-theme-hacker (= 0.1.1)
59+
jekyll-theme-leap-day (= 0.1.1)
60+
jekyll-theme-merlot (= 0.1.1)
61+
jekyll-theme-midnight (= 0.1.1)
62+
jekyll-theme-minimal (= 0.1.1)
63+
jekyll-theme-modernist (= 0.1.1)
64+
jekyll-theme-primer (= 0.5.3)
65+
jekyll-theme-slate (= 0.1.1)
66+
jekyll-theme-tactile (= 0.1.1)
67+
jekyll-theme-time-machine (= 0.1.1)
6668
jekyll-titles-from-headings (= 0.5.1)
67-
jemoji (= 0.9.0)
68-
kramdown (= 1.16.2)
69+
jemoji (= 0.10.1)
70+
kramdown (= 1.17.0)
6971
liquid (= 4.0.0)
7072
listen (= 3.1.5)
7173
mercenary (~> 0.3)
72-
minima (= 2.4.0)
73-
nokogiri (>= 1.8.1, < 2.0)
74+
minima (= 2.5.0)
75+
nokogiri (>= 1.8.2, < 2.0)
7476
rouge (= 2.2.1)
7577
terminal-table (~> 1.4)
76-
github-pages-health-check (1.4.0)
78+
github-pages-health-check (1.8.1)
7779
addressable (~> 2.3)
78-
net-dns (~> 0.8)
80+
dnsruby (~> 1.60)
7981
octokit (~> 4.0)
8082
public_suffix (~> 2.0)
8183
typhoeus (~> 1.3)
82-
html-pipeline (2.7.1)
84+
html-pipeline (2.8.4)
8385
activesupport (>= 2)
8486
nokogiri (>= 1.4)
8587
http_parser.rb (0.6.0)
8688
i18n (0.9.5)
8789
concurrent-ruby (~> 1.0)
88-
jekyll (3.7.3)
90+
jekyll (3.7.4)
8991
addressable (~> 2.4)
9092
colorator (~> 1.0)
9193
em-websocket (~> 0.5)
@@ -98,12 +100,12 @@ GEM
98100
pathutil (~> 0.9)
99101
rouge (>= 1.7, < 4)
100102
safe_yaml (~> 1.0)
101-
jekyll-avatar (0.5.0)
103+
jekyll-avatar (0.6.0)
102104
jekyll (~> 3.0)
103105
jekyll-coffeescript (1.1.1)
104106
coffee-script (~> 2.2)
105107
coffee-script-source (~> 1.11.1)
106-
jekyll-commonmark (1.1.0)
108+
jekyll-commonmark (1.2.0)
107109
commonmarker (~> 0.14)
108110
jekyll (>= 3.0, < 4.0)
109111
jekyll-commonmark-ghpages (0.1.5)
@@ -112,104 +114,100 @@ GEM
112114
rouge (~> 2)
113115
jekyll-default-layout (0.1.4)
114116
jekyll (~> 3.0)
115-
jekyll-feed (0.9.3)
117+
jekyll-feed (0.10.0)
116118
jekyll (~> 3.3)
117119
jekyll-gist (1.5.0)
118120
octokit (~> 4.2)
119121
jekyll-github-metadata (2.9.4)
120122
jekyll (~> 3.1)
121123
octokit (~> 4.0, != 4.4.0)
122-
jekyll-mentions (1.3.0)
123-
activesupport (~> 4.0)
124+
jekyll-mentions (1.4.1)
124125
html-pipeline (~> 2.3)
125126
jekyll (~> 3.0)
126127
jekyll-optional-front-matter (0.3.0)
127128
jekyll (~> 3.0)
128129
jekyll-paginate (1.1.0)
129130
jekyll-readme-index (0.2.0)
130131
jekyll (~> 3.0)
131-
jekyll-redirect-from (0.13.0)
132+
jekyll-redirect-from (0.14.0)
132133
jekyll (~> 3.3)
133134
jekyll-relative-links (0.5.3)
134135
jekyll (~> 3.3)
135-
jekyll-remote-theme (0.2.3)
136+
jekyll-remote-theme (0.3.1)
136137
jekyll (~> 3.5)
137138
rubyzip (>= 1.2.1, < 3.0)
138-
typhoeus (>= 0.7, < 2.0)
139139
jekyll-sass-converter (1.5.2)
140140
sass (~> 3.4)
141-
jekyll-seo-tag (2.4.0)
141+
jekyll-seo-tag (2.5.0)
142142
jekyll (~> 3.3)
143143
jekyll-sitemap (1.2.0)
144144
jekyll (~> 3.3)
145145
jekyll-swiss (0.4.0)
146-
jekyll-theme-architect (0.1.0)
146+
jekyll-theme-architect (0.1.1)
147147
jekyll (~> 3.5)
148148
jekyll-seo-tag (~> 2.0)
149-
jekyll-theme-cayman (0.1.0)
149+
jekyll-theme-cayman (0.1.1)
150150
jekyll (~> 3.5)
151151
jekyll-seo-tag (~> 2.0)
152-
jekyll-theme-dinky (0.1.0)
152+
jekyll-theme-dinky (0.1.1)
153153
jekyll (~> 3.5)
154154
jekyll-seo-tag (~> 2.0)
155-
jekyll-theme-hacker (0.1.0)
155+
jekyll-theme-hacker (0.1.1)
156156
jekyll (~> 3.5)
157157
jekyll-seo-tag (~> 2.0)
158-
jekyll-theme-leap-day (0.1.0)
158+
jekyll-theme-leap-day (0.1.1)
159159
jekyll (~> 3.5)
160160
jekyll-seo-tag (~> 2.0)
161-
jekyll-theme-merlot (0.1.0)
161+
jekyll-theme-merlot (0.1.1)
162162
jekyll (~> 3.5)
163163
jekyll-seo-tag (~> 2.0)
164-
jekyll-theme-midnight (0.1.0)
164+
jekyll-theme-midnight (0.1.1)
165165
jekyll (~> 3.5)
166166
jekyll-seo-tag (~> 2.0)
167-
jekyll-theme-minimal (0.1.0)
167+
jekyll-theme-minimal (0.1.1)
168168
jekyll (~> 3.5)
169169
jekyll-seo-tag (~> 2.0)
170-
jekyll-theme-modernist (0.1.0)
170+
jekyll-theme-modernist (0.1.1)
171171
jekyll (~> 3.5)
172172
jekyll-seo-tag (~> 2.0)
173-
jekyll-theme-primer (0.5.2)
173+
jekyll-theme-primer (0.5.3)
174174
jekyll (~> 3.5)
175175
jekyll-github-metadata (~> 2.9)
176-
jekyll-seo-tag (~> 2.2)
177-
jekyll-theme-slate (0.1.0)
176+
jekyll-seo-tag (~> 2.0)
177+
jekyll-theme-slate (0.1.1)
178178
jekyll (~> 3.5)
179179
jekyll-seo-tag (~> 2.0)
180-
jekyll-theme-tactile (0.1.0)
180+
jekyll-theme-tactile (0.1.1)
181181
jekyll (~> 3.5)
182182
jekyll-seo-tag (~> 2.0)
183-
jekyll-theme-time-machine (0.1.0)
183+
jekyll-theme-time-machine (0.1.1)
184184
jekyll (~> 3.5)
185185
jekyll-seo-tag (~> 2.0)
186186
jekyll-titles-from-headings (0.5.1)
187187
jekyll (~> 3.3)
188188
jekyll-watch (2.0.0)
189189
listen (~> 3.0)
190-
jemoji (0.9.0)
191-
activesupport (~> 4.0, >= 4.2.9)
190+
jemoji (0.10.1)
192191
gemoji (~> 3.0)
193192
html-pipeline (~> 2.2)
194193
jekyll (~> 3.0)
195-
kramdown (1.16.2)
194+
kramdown (1.17.0)
196195
liquid (4.0.0)
197196
listen (3.1.5)
198197
rb-fsevent (~> 0.9, >= 0.9.4)
199198
rb-inotify (~> 0.9, >= 0.9.7)
200199
ruby_dep (~> 1.2)
201200
mercenary (0.3.6)
202201
mini_portile2 (2.3.0)
203-
minima (2.4.0)
202+
minima (2.5.0)
204203
jekyll (~> 3.5)
205204
jekyll-feed (~> 0.9)
206205
jekyll-seo-tag (~> 2.1)
207206
minitest (5.11.3)
208207
multipart-post (2.0.0)
209-
net-dns (0.8.0)
210-
nokogiri (1.8.2)
208+
nokogiri (1.8.4)
211209
mini_portile2 (~> 2.3.0)
212-
octokit (4.8.0)
210+
octokit (4.12.0)
213211
sawyer (~> 0.8.0, >= 0.5.3)
214212
pathutil (0.16.1)
215213
forwardable-extended (~> 2.6)
@@ -221,9 +219,9 @@ GEM
221219
ruby-enum (0.7.2)
222220
i18n
223221
ruby_dep (1.5.0)
224-
rubyzip (1.2.1)
222+
rubyzip (1.2.2)
225223
safe_yaml (1.0.4)
226-
sass (3.5.6)
224+
sass (3.6.0)
227225
sass-listen (~> 4.0.0)
228226
sass-listen (4.0.0)
229227
rb-fsevent (~> 0.9, >= 0.9.4)
@@ -238,7 +236,7 @@ GEM
238236
ethon (>= 0.9.0)
239237
tzinfo (1.2.5)
240238
thread_safe (~> 0.1)
241-
unicode-display_width (1.3.0)
239+
unicode-display_width (1.4.0)
242240

243241
PLATFORMS
244242
ruby
@@ -247,4 +245,4 @@ DEPENDENCIES
247245
github-pages (>= 180)
248246

249247
BUNDLED WITH
250-
1.16.1
248+
1.16.5

_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ description: Liquid is a template language and accompanying rendering engine. It
33

44
# Build settings
55
baseurl: /liquid # the subpath of your site, e.g. /blog/
6-
url: http://liquidmarkup.org # the base hostname & protocol for your site
6+
url: https://shopify.github.io # the base hostname & protocol for your site
77
permalink: pretty
88
exclude:
99
- README.md
1010
- CNAME
1111
- Gemfile
12+
- Gemfile.lock
1213
- Gruntfile.js
1314
- package.json
15+
- package-lock.json
1416
- node_modules
1517
keep_files: ["css"]
1618

basics/index.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

basics/introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Introduction
33
description: An overview of objects, tags, and filters in the Liquid template language.
4+
redirect_from: /basics/
45
---
56

67
Liquid code can be categorized into [**objects**](#objects), [**tags**](#tags), and [**filters**](#filters).

filters/abs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: abs
33
description: Liquid filter that gets the absolute value of a number.
4+
redirect_from: /filters/
45
---
56

67
Returns the absolute value of a number.

filters/index.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

filters/prepend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ You can also `prepend` variables:
2222
<p class="code-label">Input</p>
2323
```liquid
2424
{% raw %}
25-
{% assign url = "liquidmarkup.com" %}
25+
{% assign url = "example.com" %}
2626
2727
{{ "/index.html" | prepend: url }}
2828
{% endraw %}
2929
```
3030

3131
<p class="code-label">Output</p>
3232
```text
33-
{% assign url = "liquidmarkup.com" %}
33+
{% assign url = "example.com" %}
3434
3535
{{ "/index.html" | prepend: url }}
3636
```

0 commit comments

Comments
 (0)