Skip to content

Commit

Permalink
fix: replace Netlify redirects with Hugo aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Sep 17, 2019
1 parent 567feff commit b5b8405
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 21 deletions.
Expand Up @@ -4,6 +4,7 @@ tags = ["hexo"]
date = "2018-07-18T10:21:39+08:00"
description = "今年 5 月 1 号,GitHub Pages 支持自定义域名 Enforce HTTPS 了,并且有原生的 CDN 支持"
slug = "custom-domains-on-github-pages"
aliases = ["/technology/computer/computer-aided-art/2018/07/18/custom-domains-on-github-pages.html"]
+++

![custom-domains-on-github-pages.png](/images/custom-domains-on-github-pages.png "HTTPS")
Expand Down
1 change: 1 addition & 0 deletions content/zh/tech/Google Fonts 已支持思源宋体!.md
Expand Up @@ -3,6 +3,7 @@ title = "Google Fonts 已支持思源宋体!"
tags = ["hexo", "typography"]
date = "2018-12-11T15:12:04+08:00"
slug = "noto-serif-sc-added-on-google-fonts"
aliases = ["/beautiful/share/2018/12/11/noto-serif-sc-added-on-google-fonts.html"]
+++

![noto-serif-sc-added-on-google-fonts.png](/images/noto-serif-sc-added-on-google-fonts.png "Google Fonts 网站出现了汉字")
Expand Down
1 change: 1 addition & 0 deletions content/zh/tech/Hello, Arch Linux!.md
Expand Up @@ -5,6 +5,7 @@ date = "2018-12-11T01:46:06+08:00"
toc = true
description = "Keep it Simple"
slug = "hello-arch-linux"
aliases = ["/technology/computer/system-software/2018/12/11/hello-arch-linux.html"]
+++

![hello-arch-linux.jpg](/images/hello-arch-linux.jpg)
Expand Down
1 change: 1 addition & 0 deletions content/zh/tech/加速 Hexo 博客.md
Expand Up @@ -4,6 +4,7 @@ date = "2018-05-30T13:10:50+08:00"
tags = ["hexo"]
slug = "speed-up-hexo"
gitinfo = true
aliases = ["/technology/computer/computer-aided-art/2018/05/30/speed-up-hexo.html"]
+++

![speed-up-hexo.png](/images/speed-up-hexo.png)
Expand Down
Expand Up @@ -5,6 +5,7 @@ tags = ["hexo"]
toc = true
slug = "hexo-next-optimization"
gitinfo = true
aliases = ["/technology/computer/computer-aided-art/2017/06/09/hexo-next-optimization.html"]
+++

![hexo-next-optimization-title.jpg](/images/hexo-next-optimization-title.jpg "Coldplay")
Expand Down
Expand Up @@ -7,6 +7,7 @@ slug = "the-philosophy-of-web-typography-text-indent-or-margin"
displayCopyright = true
badge = true
gitinfo = true
aliases = ["/the-philosophy-of-web-typography/text-indent-or-margin.html"]
+++

![the-philosophy-of-web-typography-text-indent-or-margin.png](/images/the-philosophy-of-web-typography-text-indent-or-margin.png)
Expand Down
1 change: 1 addition & 0 deletions content/zh/tech/零网(ZeroNet)初探.md
Expand Up @@ -3,6 +3,7 @@ title = "零网(ZeroNet)初探"
date = "2017-09-01T09:33:18+08:00"
tags = ["zeronet"]
slug = "first-exploration-of-the-zeronet"
aliases = ["/technology/internet/zeronet/2017/09/01/first-exploration-of-the-zeronet.html"]
+++

<video src="QmRJasFuuyKG1RUEsz7k9A2ai6F7KHQwUXVYLaq4DXfkBc" controls></video>
Expand Down
21 changes: 0 additions & 21 deletions netlify.toml
Expand Up @@ -11,24 +11,3 @@ HUGO_ENABLEGITINFO = "true"
from = "https://io-oi.netlify.com/*"
to = "https://io-oi.me/:splat"
force = true
[[redirects]]
from = "/technology/computer/computer-aided-art/2017/06/09/hexo-next-optimization.html"
to = "/tech/hexo-next-optimization/"
[[redirects]]
from = "/technology/internet/zeronet/2017/09/01/first-exploration-of-the-zeronet.html"
to = "/tech/first-exploration-of-the-zeronet/"
[[redirects]]
from = "/technology/computer/system-software/2018/12/11/hello-arch-linux.html"
to = "/tech/hello-arch-linux/"
[[redirects]]
from = "/technology/computer/computer-aided-art/2018/05/30/speed-up-hexo.html"
to = "/tech/speed-up-hexo/"
[[redirects]]
from = "/technology/computer/computer-aided-art/2018/07/18/custom-domains-on-github-pages.html"
to = "/tech/custom-domains-on-github-pages/"
[[redirects]]
from = "/beautiful/share/2018/12/11/noto-serif-sc-added-on-google-fonts.html"
to = "/tech/noto-serif-sc-added-on-google-fonts/"
[[redirects]]
from = "/the-philosophy-of-web-typography/text-indent-or-margin.html"
to = "/tech/the-philosophy-of-web-typography-text-indent-or-margin/"

0 comments on commit b5b8405

Please sign in to comment.