File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
<% const isChildPage = page .type === ' child' %>
2
- <% const setting = isChildPage ? Object .assign (theme, page) : theme %>
2
+ <% const setting = isChildPage ? Object .assign ({}, theme, page) : theme %>
3
3
<% # console .log (page .path ) %>
4
4
<body class =" page-body" >
5
5
<div class =" page-container" >
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
<html lang =" <%= config.language %>" >
3
- <% const setting = page ? Object .assign (theme, page) : theme %>
3
+ <% const setting = page ? Object .assign ({}, theme, page) : theme %>
4
4
<head >
5
5
<% - partial (' common/head' , {setting: setting}) %>
6
6
</head >
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hexo-theme-webstack" ,
3
- "version" : " 2.0.3 " ,
3
+ "version" : " 2.0.4 " ,
4
4
"description" : " A hexo theme based on webstack." ,
5
5
"keywords" : [
6
6
" hexo" ,
You can’t perform that action at this time.
0 commit comments