mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 23:20:49 +03:00
parent
282f6035e7
commit
de37455ec7
2 changed files with 5 additions and 0 deletions
|
@ -464,6 +464,8 @@ Loop:
|
|||
for {
|
||||
switch r := l.next(); {
|
||||
case isAlphaNumericOrHyphen(r):
|
||||
// Allow forward slash inside names to make it possible to create namespaces.
|
||||
case r == '/':
|
||||
default:
|
||||
l.backup()
|
||||
word := l.input[l.start:l.pos]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue