1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-13 09:35:13 +02:00

Deleted security log

This commit is contained in:
trendschau
2022-05-29 13:59:55 +02:00
parent 9f64b75d78
commit 48ab1963a9
7 changed files with 357 additions and 50 deletions

View File

@@ -1,5 +1,5 @@
name: Cyanine Theme
version: 1.1.11
version: 1.1.12
description: Cyanine is a modern and flexible multi-purpose theme and the standard theme for typemill.
author: Trendschau
homepage: https://trendschau.net
@@ -505,3 +505,15 @@ forms:
label: Color for notices
checkboxlabel: Use grayscale color schema for notices
fieldsize: half
metatabs:
meta:
fields:
fieldsetGlossary:
type: fieldset
legend: Glossary Style
fields:
glossary:
type: checkbox
label: Glossary List (only for folders)
checkboxlabel: List pages or posts of this folder as glossary (only for folders)

View File

@@ -16,7 +16,7 @@
{{ assets.activateTachyons() }}
<link rel="stylesheet" href="{{ base_url }}/themes/cyanine/css/style.css?20220108" />
<link rel="stylesheet" href="{{ base_url }}/themes/cyanine/css/style.css?20220527" />
<style>

View File

@@ -109,15 +109,19 @@
{% endif %}
{% if item.elementType == 'folder' and item.contains == 'pages' %}
{% if item.elementType == 'folder' and metatabs.meta.glossary %}
<nav class="f4-l f5">
{% include 'partials/navigationGlossary.twig' with {'glossary': item.folderContent} %}
</nav>
{% elseif item.elementType == 'folder' and item.contains == 'pages' %}
<nav class="f4-l f5">
{% include 'partials/navigationFlat.twig' with {'flatnavi': item.folderContent} %}
</nav>
{% endif %}
{% if item.elementType == 'folder' and item.contains == 'posts' %}
{% elseif item.elementType == 'folder' and item.contains == 'posts' %}
{% include 'partials/posts.twig' %}

View File

@@ -0,0 +1,21 @@
{% macro loop_over(navigation) %}
{% import _self as macros %}
{% set alphabet = 'ß' %}
{% for element in navigation|sort((a, b) => a.name <=> b.name) %}
{% if element.name|first|upper != alphabet %}
{% set alphabet = element.name|first|upper %}
<h2>{{ alphabet }}</h2>
{% endif %}
<li class="w-100 pa3 pa0-l">
<a class="link relative dib w-100" href="{{ element.urlAbs }}">{{ element.name }}</a>
</li>
{% endfor %}
{% endmacro %}
{% import _self as macros %}
<ul class="list pa0 flex-m flex-l flex-wrap tl justify-between">
{{ macros.loop_over(glossary) }}
</ul>