Skip to content

Commit

Permalink
Merge pull request #46 from yanm1ng/develop
Browse files Browse the repository at this point in the history
Develop merge
  • Loading branch information
yanm1ng authored Oct 2, 2017
2 parents ccca729 + 271ec93 commit 7609a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/page.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
(function () {
var url = '<%= config.url %>/<%= page.path %>';
var banner = '<%= page.banner %>'
if (banner !== 'undefined') {
if (banner !== '' && banner !== 'undefined' && banner !== 'null') {
$('#article-banner').css({
'background-image': 'url(' + banner + ')'
})
Expand Down

0 comments on commit 7609a3d

Please sign in to comment.