mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Updated theme card asset default setting (#14789)
refs https://github.com/TryGhost/Team/issues/1611 - For Ghost 5.0 card assets will be included by default, including bookmark and gallery cards
This commit is contained in:
parent
725c2673ea
commit
78d1132b13
3 changed files with 6 additions and 14 deletions
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
"posts_per_page": 5,
|
||||
"card_assets": {
|
||||
"exclude": ["bookmark", "gallery"]
|
||||
}
|
||||
"card_assets": true
|
||||
}
|
||||
|
|
|
@ -113,8 +113,8 @@ describe('Card Asset Service', function () {
|
|||
});
|
||||
|
||||
cardAssets.generateGlobs().should.eql({
|
||||
'cards.min.css': 'css/!(bookmark|gallery).css',
|
||||
'cards.min.js': 'js/!(bookmark|gallery).js'
|
||||
'cards.min.css': 'css/*.css',
|
||||
'cards.min.js': 'js/*.js'
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -13,9 +13,7 @@ describe('Themes', function () {
|
|||
|
||||
config.should.eql({
|
||||
posts_per_page: 5,
|
||||
card_assets: {
|
||||
exclude: ['bookmark', 'gallery']
|
||||
}
|
||||
card_assets: true
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -24,9 +22,7 @@ describe('Themes', function () {
|
|||
|
||||
config.should.eql({
|
||||
posts_per_page: 5,
|
||||
card_assets: {
|
||||
exclude: ['bookmark', 'gallery']
|
||||
}
|
||||
card_assets: true
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -44,9 +40,7 @@ describe('Themes', function () {
|
|||
|
||||
config.should.eql({
|
||||
posts_per_page: 5,
|
||||
card_assets: {
|
||||
exclude: ['bookmark', 'gallery']
|
||||
}
|
||||
card_assets: true
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue