1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Bjørn Erik Pedersen 5185fb065b hugolib: Allow relative URLs in front matter
Before this commit you would have to do this in multilingual setups:

```
---
title: "Custom!"
url: "/jp/custom/foo"
---
```

This commit allows for relative URLs, e.g:

```
---
title: "Custom!"
url: "custom/foo"
---
```

Which is obviously easier and more portable.

The meaning of relative may change to include more in the future (e.g. role based access).

Fixes #5704
2019-04-02 10:33:15 +02:00
..
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00