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:
@@ -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)
|
@@ -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>
|
||||
|
||||
|
@@ -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' %}
|
||||
|
||||
|
21
themes/cyanine/partials/navigationGlossary.twig
Normal file
21
themes/cyanine/partials/navigationGlossary.twig
Normal 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>
|
Reference in New Issue
Block a user