fix development mode
This commit is contained in:
1 parent
a69aaed2c2
commit
3eabbe70e7
4 files changed
+5
-5
No files matched your search
@@ -1,6 +1,6 @@
|
||||
head
|
||||
title=title
|
||||
link(rel="shortcut icon" href=`${cogear.config.baseUrl || "/"}favicon.ico` type="image/png")
|
||||
link(rel="shortcut icon" href=`${cogear.baseUrl}favicon.ico` type="image/png")
|
||||
body
|
||||
.navbar
|
||||
.container
|
||||
|
||||
@@ -8,7 +8,7 @@ mixin post(post)
|
||||
a(href=`${post.author.link}`)= post.author.login
|
||||
header
|
||||
if post.teaser
|
||||
h2: a(href=`${cogear.config.baseUrl || "/"}${post.uri}`)= post.title
|
||||
h2: a(href=`${cogear.baseUrl}${post.uri}`)= post.title
|
||||
else
|
||||
h1= post.title
|
||||
.post-content!= post.teaser ? post.teaser : post.content
|
||||
|
||||
@@ -3,11 +3,11 @@ head
|
||||
block head
|
||||
title= title
|
||||
meta(content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=1" name="viewport")
|
||||
link(rel="shortcut icon" href=`${cogear.config.baseUrl || "/"}favicon.png` type="image/png")
|
||||
link(rel="shortcut icon" href=`${cogear.baseUrl}favicon.png` type="image/png")
|
||||
link(rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' integrity='sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T' crossorigin='anonymous')
|
||||
body
|
||||
nav.navbar.navbar-dark.bg-success
|
||||
a.ml-3.navbar-brand(href=cogear.config.baseUrl || "/")= cogear.config.blog.title || "BLOG"
|
||||
a.ml-3.navbar-brand(href=cogear.baseUrl)= cogear.config.blog.title || "BLOG"
|
||||
.container.mt-3
|
||||
.row
|
||||
.col-lg-8.col-md-12
|
||||
|
||||
@@ -3,7 +3,7 @@ if paginator
|
||||
ul.pagination
|
||||
if paginator.prev !== null
|
||||
li.page-item
|
||||
a.page-link(href=`${cogear.config.baseUrl || "/"}${paginator.prev}`) ← Prev
|
||||
a.page-link(href=`${cogear.baseUrl}${paginator.prev}`) ← Prev
|
||||
- let page = 1
|
||||
while page <= paginator.total
|
||||
- let range = 2
|
||||
|
||||
Reference in new issue
Block a user