Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uglyurls with tag and categories terms #129

Merged
merged 1 commit into from
Mar 31, 2019
Merged

Conversation

creaink
Copy link
Contributor

@creaink creaink commented Jan 13, 2019

在设置里使用 uglyurl = true,即使用类 /post/note.html 的 url 的时候,tag 和 catalog 页面下的 term? 的
url 还是原来的样式。gohugoio/hugo#1989 ,但是 hugo 作者好像没有给出在模板里获取 uglyurl 配置的方法,就只能在 params.uglyURLs 里冗余一份。也有可能有更好的方式,还请多多指教。

@olOwOlo olOwOlo merged commit f14d7b5 into olOwOlo:master Mar 31, 2019
@olOwOlo
Copy link
Owner

olOwOlo commented Mar 31, 2019

Thank you for your pull request. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants