Use custom path
This commit is contained in:
parent
4aedd06c11
commit
4da7ef52c4
@ -249,6 +249,9 @@ final class FileResource: Item {
|
|||||||
The result is an absolute path from the output folder for use in HTML.
|
The result is an absolute path from the output folder for use in HTML.
|
||||||
*/
|
*/
|
||||||
var absoluteUrl: String {
|
var absoluteUrl: String {
|
||||||
|
if let customOutputPath {
|
||||||
|
return customOutputPath
|
||||||
|
}
|
||||||
let path = pathPrefix + "/" + id
|
let path = pathPrefix + "/" + id
|
||||||
return makeCleanAbsolutePath(path)
|
return makeCleanAbsolutePath(path)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user