Skip to content

Commit

Permalink
fix: Remove hexo cache to solve some problem
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyib committed Sep 20, 2019
1 parent 4b7c152 commit 2807baa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# Theme Core Configuration Settings
# ---------------------------------------------------------------

# Allow to cache content generation. Introduced in Stun v1.4.0
cache: true

# Remove unnecessary files after hexo generate. Introduced in Stun v1.4.0
shake_file: true

Expand Down
6 changes: 3 additions & 3 deletions layout/_layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ html(lang=config.language)
div#container.container
header#header.header
div.header-inner
!= partial('./_partials/header/header.pug', null, { cache: theme.cache })
include ./_partials/header/header.pug

main#main.main
div.main-inner
Expand All @@ -29,13 +29,13 @@ html(lang=config.language)
if theme.sidebar.enable
aside#sidebar.sidebar
div.sidebar-inner
!= partial('./_partials/sidebar/sidebar.pug', null, { cache: theme.cache })
include ./_partials/sidebar/sidebar.pug

div.clearfix

footer#footer.footer
div.footer-inner
!= partial('./_partials/footer/footer.pug', null, { cache: theme.cache })
include ./_partials/footer/footer.pug

include ./_partials/widgets/loading-bar.pug

Expand Down

0 comments on commit 2807baa

Please sign in to comment.