setting names, css adjustment

This commit is contained in:
Kris 2018-04-26 14:01:28 -04:00
parent 02f0f05e90
commit 7f440532fc
3 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
justify-content: center; justify-content: center;
.category-title-contents { .category-title-contents {
max-width: 500px; max-width: 500px;
padding: 40px 0; padding: 40px;
h1 { h1 {
text-transform: capitalize; text-transform: capitalize;
} }

View File

@ -17,8 +17,8 @@
if(/^\/c\//.test(path)) { if(/^\/c\//.test(path)) {
const hideMobile = (!settings.show_mobile && this.site.mobileView) ? "true" : hideMobile; const hideMobile = (!settings.show_mobile && this.site.mobileView) ? "true" : hideMobile;
const subCat = (!settings.show_subcat && category.parentCategory) ? "true" : subCat; const subCat = (!settings.show_subcategory && category.parentCategory) ? "true" : subCat;
const noDesc = (settings.show_nodesc && !category.description_text) ? "true" : noDesc; const noDesc = (settings.hide_if_no_description && !category.description_text) ? "true" : noDesc;
if(!isException && !noDesc && !subCat && !hideMobile) { if(!isException && !noDesc && !subCat && !hideMobile) {
$("body").addClass("category-header"); $("body").addClass("category-header");

View File

@ -6,13 +6,13 @@ show_mobile:
default: true default: true
description: 'Show banners on mobile' description: 'Show banners on mobile'
show_subcat: show_subcategory:
default: true default: true
description: 'Show banners for subcategories' description: 'Show banners for subcategories'
show_nodesc: hide_if_no_description:
default: false default: true
description: 'Hide banners if description is not set' description: 'Hide banners if category description is not set'
exceptions: exceptions:
default: "" default: ""