重定向到Jekyll中的页面 [英] Redirect to page in Jekyll
本文介绍了重定向到Jekyll中的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Jekyll页面中重定向到页面时遇到问题.
I got a problem with redirection to page in Jekyll page.
我无法redirect_to
翻页我通过语法定义的内容:
I can't redirect_to
page what I defined by syntax:
---
permalink: /live/
redirect_to: https://www.youtube.com/c/PiotrKowalskiPiecioshka/live
---
推荐答案
任何尝试使用语法redirect_to
的页面都应放置在/redirects/
目录中.
Any page which try use syntax redirect_to
should be placed in /redirects/
directory.
当我有:
redirects/
├── live.md
...重定向有效!
这篇关于重定向到Jekyll中的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文