mirror of
https://github.com/typemill/typemill.git
synced 2025-08-04 13:17:29 +02:00
Cyanine: Footer hidden if empty, Landingpage fullscreen option, bold font, markdown for contrast
This commit is contained in:
@@ -6,8 +6,6 @@ Typemill provides detailed settings, and you have access to nearly all settings
|
||||
|
||||
You will find all configurations and settings under the main navigation point `settings` with the following sub-navigation:
|
||||
|
||||
[favicon io (ZIP, 21.53 KB)](media/files/favicon-io.zip){.tm-download file-zip}
|
||||
|
||||
* System settings
|
||||
* Theme settings
|
||||
* Plugin settings
|
||||
@@ -15,10 +13,16 @@ You will find all configurations and settings under the main navigation point `s
|
||||
|
||||
All settings are stored in the `\settings` folder of Typemill. It is not recommended to edit the settings manually, because it might crash the system if done wrong.
|
||||
|
||||
[:replace text="hallo" color="green":]
|
||||
|
||||
[:replace text="hallo" color="red":]
|
||||
|
||||
## Developer Settings
|
||||
|
||||
As of version 1.4.0 you will find some advanced developer settings in the author panel under `settings`. See the details below.
|
||||
|
||||
[:ebookproduct id="unknown":]
|
||||
|
||||
! **Only for devs**
|
||||
!
|
||||
! These options are for developers only. Make sure that you fully understand what happens. For example, you should never activate the error reporting on live systems because this is a security risk.
|
||||
|
@@ -108,8 +108,8 @@ tr{
|
||||
th,td{
|
||||
padding: .5em 1em;
|
||||
}
|
||||
p b, p strong{
|
||||
font-weight: bold;
|
||||
main b, main strong{
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/************************************
|
||||
|
@@ -1,5 +1,5 @@
|
||||
name: Cyanine Theme
|
||||
version: 1.1.9
|
||||
version: 1.1.10
|
||||
description: Cyanine is a modern and flexible multi-purpose theme and the standard theme for typemill.
|
||||
author: Trendschau
|
||||
homepage: https://trendschau.net
|
||||
@@ -81,6 +81,10 @@ forms:
|
||||
type: text
|
||||
label: Label for startbutton
|
||||
placeholder: my label
|
||||
introFullsize:
|
||||
type: checkbox
|
||||
label: Full Screen
|
||||
checkboxlabel: Use full screen for the intro segment
|
||||
introImage:
|
||||
type: checkbox
|
||||
label: Background Image
|
||||
|
@@ -1,9 +1,11 @@
|
||||
<section class="landingpagecontrast w-100 dib tc bl br bb">
|
||||
|
||||
<div class="mw7 pv6 ph3 center">
|
||||
<div class="f4 f4-ns mw7 pv6 ph3 fw3 lh-copy center">
|
||||
<h2 class="f2">{{ settings.themes.cyanine.contrastTitle }}</h2>
|
||||
<p class="f5 f4-ns fw3 lh-copy">{{ settings.themes.cyanine.contrastText }}</p>
|
||||
<a class="button link ba dim ph4 pv3 mt3 dib" href="{{ settings.themes.cyanine.contrastLink }}">{{ settings.themes.cyanine.contrastLabel }}</a>
|
||||
<p class="f5 f4-ns fw3 lh-copy">{{ markdown(settings.themes.cyanine.contrastText) }}</p>
|
||||
{% if settings.themes.cyanine.contrastLink %}
|
||||
<a class="button link ba dim ph4 pv3 mt3 dib" href="{{ settings.themes.cyanine.contrastLink }}">{{ settings.themes.cyanine.contrastLabel }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
@@ -1,8 +1,18 @@
|
||||
{% if settings.themes.cyanine.introFullsize %}
|
||||
<section class="landingpageintro vh-100 dt w-100 tc bt bl br bb">
|
||||
|
||||
<div class="cover dtc v-mid bg-left bg-center-l" {% if settings.themes.cyanine.introImage %}style="background-image: url({{metatabs.meta.heroimage}});background-color:rgba(255,255,255,{{settings.themes.cyanine.introImageOpacity|default('0.8')}});background-blend-mode: lighten;" {% endif%} >
|
||||
|
||||
<div class="mw7 ph3 center">
|
||||
|
||||
{% else %}
|
||||
<section class="landingpageintro w-100 dib tc bt bl br bb">
|
||||
|
||||
<div class="cover bg-left bg-center-l" {% if settings.themes.cyanine.introImage %}style="background-image: url({{metatabs.meta.heroimage}});background-color:rgba(255,255,255,{{settings.themes.cyanine.introImageOpacity|default('0.8')}});background-blend-mode: lighten;" {% endif%} >
|
||||
|
||||
<div class="mw7 pb7 pt6 ph3 center">
|
||||
|
||||
{% endif %}
|
||||
<div class="introbg pa4">
|
||||
<header>
|
||||
{% if logo %}
|
||||
@@ -30,4 +40,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
@@ -1,28 +1,29 @@
|
||||
{% set nowYear = "now"|date("Y") %}
|
||||
{% if (settings.themes.cyanine.footercolumns.footer1 or settings.themes.cyanine.footercolumns.footer2 or settings.themes.cyanine.footercolumns.footer3) %}
|
||||
|
||||
<footer class="w-100 bl br bb lh-copy">
|
||||
<div class="grid-container center pv3 flex-l">
|
||||
{% for column,key in settings.themes.cyanine.footercolumns %}
|
||||
{% if settings.themes.cyanine[column] %}
|
||||
<div class="w-100 pv3 ph3 ph4-l">
|
||||
{{ markdown(settings.themes.cyanine[column]) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="center pv3 tc-l w100">
|
||||
{% if settings.year is empty or settings.year == nowYear %}
|
||||
{% set copyrightYears = nowYear %}
|
||||
{% else %}
|
||||
{% set copyrightYears = settings.year ~ ' - ' ~ nowYear %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</footer>
|
||||
<footer class="w-100 bl br bb lh-copy">
|
||||
<div class="grid-container center pv3 flex-l">
|
||||
{% for column,key in settings.themes.cyanine.footercolumns %}
|
||||
{% if settings.themes.cyanine[column] %}
|
||||
<div class="w-100 pv3 ph3 ph4-l">
|
||||
{{ markdown(settings.themes.cyanine[column]) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<div class="w-100 center f6">
|
||||
{% if settings.themes.cyanine.copyrightline %}
|
||||
{{ markdown(settings.themes.cyanine.copyrightlinetext) }}
|
||||
{% else %}
|
||||
{% set nowYear = "now"|date("Y") %}
|
||||
{% if settings.year is empty or settings.year == nowYear %}
|
||||
{% set copyrightYears = nowYear %}
|
||||
{% else %}
|
||||
{% set copyrightYears = settings.year ~ ' - ' ~ nowYear %}
|
||||
{% endif %}
|
||||
<p class="f6">{{ settings.copyright }} {{ __('by') }} {{ settings.author }}, {{ copyrightYears }}. {{ __('All Rights Reserved') }}. {{ __('Built with') }} <a class="link underline f-secondary" href="https://typemill.net">Typemill</a>.</p>
|
||||
{% endif %}
|
||||
</div>
|
Reference in New Issue
Block a user