correct post links

This commit is contained in:
patarapolw committed 2019-08-12 01:22:06 +07:00
1 parent 379b9d1a62
commit a9b6fd060b
4 files changed
+255 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ mixin post(post)
a(href=`${post.author.link}`)= post.author.login
header
if post.teaser
h2: a(href=`/${post.uri}`)= post.title
h2: a(href=`${cogear.config.baseUrl || "/"}${post.uri}`)= post.title
else
h1= post.title
.post-content!= post.teaser ? post.teaser : post.content