Fixes on permalinks

This commit is contained in:
Diego Najar 2015-06-21 21:47:07 -03:00
parent c2477901ff
commit 212ca39a81
2 changed files with 8 additions and 0 deletions

View File

@ -130,6 +130,10 @@ class Page extends fileContent
return $url.'/'.$tmp;
}
if(empty($htmlPath)) {
return '/'.$tmp;
}
return '/'.$htmlPath.'/'.$tmp;
}

View File

@ -120,6 +120,10 @@ class Post extends fileContent
return $url.'/'.$tmp;
}
if(empty($htmlPath)) {
return '/'.$tmp;
}
return '/'.$htmlPath.'/'.$tmp;
}