diff --git a/system/Assets.php b/system/Assets.php index c4b6612..7699819 100644 --- a/system/Assets.php +++ b/system/Assets.php @@ -16,7 +16,7 @@ class Assets $this->inlineJS = array(); $this->inlineCSS = array(); $this->editorJS = array(); - $this->editorCSS = array(); + $this->editorCSS = array(); $this->editorInlineJS = array(); $this->svgSymbols = array(); $this->imageUrl = false; @@ -136,7 +136,12 @@ class Assets public function src() { - return $this->baseUrl . '/' . $this->imageUrl; + # when we finish it, we shoud reset all settings + $imagePath = $this->baseUrl . '/' . $this->imageUrl; + $this->imageUrl = false; + $this->imageFolder = 'original'; + + return $imagePath; } public function addCSS($CSS) diff --git a/system/author/css/style.css b/system/author/css/style.css index b60069b..2e8a9a2 100644 --- a/system/author/css/style.css +++ b/system/author/css/style.css @@ -516,6 +516,7 @@ span.level-2{ padding-left: 40px; } span.level-3{ padding-left: 50px; } span.level-4{ padding-left: 60px; } span.level-5{ padding-left: 70px; } +span.level-6{ padding-left: 80px; } .addBaseItem{ margin-left: -10px; diff --git a/themes/cyanine/layout.twig b/themes/cyanine/layout.twig index a0d5360..bbdffeb 100644 --- a/themes/cyanine/layout.twig +++ b/themes/cyanine/layout.twig @@ -155,7 +155,7 @@ background: {{ settings.themes.cyanine.contentnavihoverbackground|default('lightseagreen') }}; color: {{ settings.themes.cyanine.contentnavihovercolor|default('white') }}; } - .landingpagenews li{ + .landingpagenews li, .newsbox{ background: {{ settings.themes.cyanine.newsbackground|default('white') }}; } .landingpagenews li a{ diff --git a/themes/cyanine/partials/posts.twig b/themes/cyanine/partials/posts.twig index e6f5173..2cfc800 100644 --- a/themes/cyanine/partials/posts.twig +++ b/themes/cyanine/partials/posts.twig @@ -10,18 +10,28 @@ {% set post = getPageMeta(settings, element) %} {% set date = element.order[0:4] ~ '-' ~ element.order[4:2] ~ '-' ~ element.order[6:2] %} -
  • -
    - {% if settings.themes.cyanine.blogimage and post.meta.heroimage != '' %} -
    - {{ post.meta.heroimage }} -
    - {% endif %} -

    {{ post.meta.title }}

    -
    | {{ post.meta.author }}
    -
    -

    {{ post.meta.description }}

    -
  • + {% if settings.themes.cyanine.blogimage and post.meta.heroimage != '' %} +
  • +
    + {{ post.meta.heroimagealt }} +
    +
    +
    +

    {{ post.meta.title }}

    +
    | {{ post.meta.author }}
    +
    +

    {{ post.meta.description }}

    +
    +
  • + {% else %} +
  • +
    +

    {{ post.meta.title }}

    +
    | {{ post.meta.author }}
    +
    +

    {{ post.meta.description }}

    +
  • + {% endif %} {% endfor %}