-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Description
When page url metadata is utf8 string, page's URL retrun 404 error.
Becase hugo command generate URL encoded directory in public dir.
The generated directory should be unencoded.
How to reproduce:
- Create and edit content/post/ramen.md.
+++
date = "2015-03-14T14:44:15+09:00"
draft = false
title = "ramen"
url = "ラーメン"
+++
# Ramen is a Japanese noodle soup.
## My favorite ramens
hugo server -T hydehttp://localhost:1313/%E3%83%A9%E3%83%BC%E3%83%A1%E3%83%B3return 404
generated public files:
$ tree public/
public/
├── 404.html
├── css
│ ├── hyde.css
│ ├── poole.css
│ └── syntax.css
├── %E3%83%A9%E3%83%BC%E3%83%A1%E3%83%B3
│ └── index.html
├── favicon.png
├── index.html
├── index.xml
├── post
│ ├── index.html
│ └── index.xml
├── sitemap.xml
└── touch-icon-144-precomposed.png
Not %E3%83%A9%E3%83%BC%E3%83%A1%E3%83%B3 but ラーメン dir should be generated