Fixed subpath base template
This commit is contained in:
@@ -41,7 +41,7 @@ func Article(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
ta := tmplArticle{
|
||||
Title: article.Title,
|
||||
BasePath: config.Address + path.Join("/", config.SubPath),
|
||||
BasePath: config.Address + path.Join("/", config.SubPath) + "/",
|
||||
Summary: article.Summary,
|
||||
Image: article.Image,
|
||||
Authors: authors,
|
||||
|
||||
Reference in New Issue
Block a user