build:调整URL以及翻页逻辑。
This commit is contained in:
parent
0ecde3a29a
commit
8b483fffa4
|
@ -13,12 +13,12 @@ timezone: 'Asia/Shanghai'
|
|||
|
||||
# URL
|
||||
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
||||
url: http://example.com
|
||||
url: http://www.archgrid.com
|
||||
permalink: :year/:month/:hash.html
|
||||
permalink_defaults:
|
||||
pretty_urls:
|
||||
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
|
||||
trailing_html: true # Set to false to remove trailing '.html' from permalinks
|
||||
trailing_index: false # Set to false to remove trailing 'index.html' from permalinks
|
||||
trailing_html: false # Set to false to remove trailing '.html' from permalinks
|
||||
|
||||
# Directory
|
||||
source_dir: source
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<% if (page.total > 1) { %>
|
||||
<div class="uk-flex uk-flex-between p-1">
|
||||
<a class="<% if (page.prev == 0) { %>uk-disabled<% } %>"
|
||||
href="<%- page.prev_link %>"
|
||||
href="/<%- page.prev_link %>"
|
||||
uk-slidenav-previous></a>
|
||||
<a class="<% if (page.next == 0) { %>uk-disabled<% } %>"
|
||||
href="<%- page.next_link %>"
|
||||
href="/<%- page.next_link %>"
|
||||
uk-slidenav-next
|
||||
></a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user