1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-29 02:10:20 +02:00

V2.9 Improve landingpage listing

This commit is contained in:
trendschau
2024-09-01 14:41:57 +02:00
parent a40965dc5d
commit bb2da02182
3 changed files with 19 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
name: Cyanine Theme
version: 2.3.0
version: 2.3.1
description: 'Cyanine is a modern and flexible multi-purpose theme and the standard theme for Typemill.'
author: Trendschau
homepage: https://trendschau.net

View File

@@ -12,16 +12,21 @@
{% set pagelist = getPageList(navigation, settings.themes.cyanine.infoFolder, base_url) %}
<ul class="flex-l flex-wrap justify-between pa0">
<ul class="flex-l flex-wrap-l justify-between pa0">
{% for element in pagelist.folderContent %}
{% set page = getPageMeta(settings, element) %}
<li class="ba b--light-gray pa2 pa3-ns db list tl w-100 w-30-l mh0 mv2 mh2-l flex flex-column flex-grow">
<h3>{{ page.meta.shorttitle }}</h3>
<p class="f5 lh-copy flex-grow">{{ page.meta.description }}</p>
<a class="db link w-100 mv2 pa3 bg-near-black dim tc" href="{{ element.urlAbs }}">{{ page.meta.shorttitle }}</a>
<li class="db list tl pa0 w-100 w-30-l mh0 mv2 mh2-l shadow-2-hover flex flex-column flex-grow-0 flex-basis bg-white">
<div class="pa2 ph3-ns pb3-ns flex-grow">
<h3>{{ page.meta.shorttitle }}</h3>
<p class="f5 lh-copy">{{ page.meta.description }}</p>
</div>
<div class="pa2 ph3-ns pb3-ns">
<a href="{{ element.urlAbs }}" class="button link w-100 db dim pa3 ba w-100 white tc">{{ page.meta.shorttitle }}</a>
<div>
</li>
{% endfor %}

View File

@@ -54,10 +54,14 @@
{% set page = getPageMeta(settings, element) %}
<li class="ba b--light-gray pa2 pa3-ns db list tl w-100 w-30-l mh0 mv2 mh2-l flex flex-column flex-grow">
<h3>{{ page.meta.shorttitle }}</h3>
<p class="f5 lh-copy flex-grow">{{ page.meta.description }}</p>
<a class="db link white w-100 mv2 pa2 bg-near-black dim tc" href="{{ element.urlAbs }}">{{ page.meta.shorttitle }}</a>
<li class="db list tl pa0 w-100 w-30-l mh0 mv2 mh2-l shadow-2-hover flex flex-column flex-grow-0 flex-basis bg-white">
<div class="pa2 ph3-ns pb3-ns flex-grow">
<h3>{{ page.meta.shorttitle }}</h3>
<p class="f5 lh-copy">{{ page.meta.description }}</p>
</div>
<div class="pa2 ph3-ns pb3-ns">
<a href="{{ element.urlAbs }}" class="button link w-100 db dim pa3 ba w-100 white tc">{{ page.meta.shorttitle }}</a>
<div>
</li>
{% endfor %}