mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
Fix aliases with relativeURLs
This commit is contained in:
parent
01e249e97c
commit
145b3fcce3
7 changed files with 54 additions and 43 deletions
|
@ -88,8 +88,8 @@ schemaless: <img srcset='//img.jpg' src='//basic.jpg'>
|
|||
schemaless2: <img srcset="//img.jpg" src="//basic.jpg2> POST
|
||||
`
|
||||
|
||||
relPathVariations = `PRE. a href="/img/small.jpg" input action="/foo.html" POST.`
|
||||
relPathVariationsCorrect = `PRE. a href="../../img/small.jpg" input action="../../foo.html" POST.`
|
||||
relPathVariations = `PRE. a href="/img/small.jpg" input action="/foo.html" meta url=/redirect/to/page/ POST.`
|
||||
relPathVariationsCorrect = `PRE. a href="../../img/small.jpg" input action="../../foo.html" meta url=../../redirect/to/page/ POST.`
|
||||
|
||||
testBaseURL = "http://base/"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue