Browse Source

add missing redirect old urls

master
sipp11 10 years ago
parent
commit
ccbf620231
  1. 7
      _layouts/refresh.html
  2. 4
      category/uncategorized/index.md
  3. 4
      category/uncategorized/page/2/index.md
  4. 4
      page/2/index.md
  5. 5
      tag/food/index.md
  6. 5
      tag/house/index.md
  7. 5
      tag/tpe/index.md

7
_layouts/refresh.html

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;url={{ page.refresh_to_post_id }}.html{% if page.hashtag %}#{{ page.hashtag }}{% endif %}" />
</head>
</html>

4
category/uncategorized/index.md

@ -0,0 +1,4 @@
---
layout: refresh
refresh_to_post_id: /tags
---

4
category/uncategorized/page/2/index.md

@ -0,0 +1,4 @@
---
layout: refresh
refresh_to_post_id: /tags
---

4
page/2/index.md

@ -0,0 +1,4 @@
---
layout: refresh
refresh_to_post_id: /post/page/2/index
---

5
tag/food/index.md

@ -0,0 +1,5 @@
---
layout: refresh
refresh_to_post_id: /tags
hashtag: Food
---

5
tag/house/index.md

@ -0,0 +1,5 @@
---
layout: refresh
refresh_to_post_id: /tags
hashtag: House
---

5
tag/tpe/index.md

@ -0,0 +1,5 @@
---
layout: refresh
refresh_to_post_id: /tags
hashtag: TPE
---
Loading…
Cancel
Save