mirror of
https://github.com/typemill/typemill.git
synced 2025-08-23 06:02:53 +02:00
Version 1.4.6: collapse navi, image for blogposts, overwrite copyright
This commit is contained in:
@@ -61,6 +61,11 @@
|
||||
|
||||
<li class="post-entry">
|
||||
<header>
|
||||
{% if settings.themes.cyanine.blogimage and post.meta.heroimage != '' %}
|
||||
<figure>
|
||||
<img src="{{ assets.image(post.meta.heroimage).resize(820,500).src() }}"{% if post.meta.heroimage != '' %} alt="{{ post.meta.heroimage }}"{% endif %} />
|
||||
</figure>
|
||||
{% endif %}
|
||||
<a class="link f-link underline-hover" href="{{ element.urlAbs }}"><h2 class="mt4 mb2">{{ post.meta.title }}</h2></a>
|
||||
<div class="mt3"><small><time datetime="{{date}}">{{ date | date("d.m.Y") }}</time> | {{ post.meta.author }}</small></div>
|
||||
</header>
|
||||
|
@@ -26,30 +26,35 @@ forms:
|
||||
large: Large
|
||||
full: Full Width
|
||||
|
||||
posts:
|
||||
type: fieldset
|
||||
legend: Configure Posts
|
||||
fields:
|
||||
blogimage:
|
||||
type: checkbox
|
||||
label: Post-Images
|
||||
checkboxlabel: Generally show hero images in all lists of posts
|
||||
|
||||
blog:
|
||||
type: checkbox
|
||||
checkboxlabel: Activate a List of Posts on the Homepage
|
||||
checkboxlabel: Activate a list of posts on the homepage
|
||||
|
||||
blogdetails:
|
||||
bloghomepage:
|
||||
type: fieldset
|
||||
legend: Configure List of Posts
|
||||
legend: Posts on Homepage
|
||||
fields:
|
||||
blogintro:
|
||||
type: checkbox
|
||||
label: Intro Page
|
||||
checkboxlabel: Show the content of the homepage before the list of posts
|
||||
label: Intro Content
|
||||
checkboxlabel: Show the content of the homepage before the posts get listed
|
||||
blogfolder:
|
||||
type: text
|
||||
label: Enter the folder path with the posts
|
||||
placeholder: /blog
|
||||
blogimage:
|
||||
type: checkbox
|
||||
label: Post-Images
|
||||
checkboxlabel: Display the hero images from meta in the list of blog-posts
|
||||
|
||||
landingpage:
|
||||
type: checkbox
|
||||
checkboxlabel: Activate a Landing Page on the Homepage
|
||||
checkboxlabel: Activate a landing page with segments on the homepage
|
||||
|
||||
landingpageIntro:
|
||||
type: fieldset
|
||||
@@ -292,7 +297,7 @@ forms:
|
||||
options:
|
||||
footer1: Column 1
|
||||
footer2: Column 2
|
||||
footer3: Column 3
|
||||
footer3: Column 3
|
||||
footer1:
|
||||
type: textarea
|
||||
label: footer column 1 (use markdown)
|
||||
@@ -303,6 +308,19 @@ forms:
|
||||
type: textarea
|
||||
label: footer column 3 (use markdown)
|
||||
|
||||
|
||||
fieldsetcopyrightline:
|
||||
type: fieldset
|
||||
legend: Copyright Line
|
||||
fields:
|
||||
copyrightline:
|
||||
type: checkbox
|
||||
checkboxlabel: Overwrite the copyright line
|
||||
copyrightlinetext:
|
||||
type: textarea
|
||||
label: Overwrite Copyright Line (use markdown)
|
||||
description: If overwrite the copyright line with the link to typemill, then please support Typemill e.g. with a link in the imprint, a blog-post, a social media mention or a recommendation.
|
||||
|
||||
fieldsetFonts:
|
||||
type: fieldset
|
||||
legend: Font Families
|
||||
|
@@ -59,7 +59,7 @@
|
||||
|
||||
{% endif %}
|
||||
|
||||
<a href="{{ settings.themes.cyanine.newsFolder }}" class="button link dim dib pa3 ma1 ba">{{ settings.themes.cyanine.newsLabel }}</a>
|
||||
<a href="{{base_url}}{{ settings.themes.cyanine.newsFolder }}" class="button link dim dib pa3 ma1 ba">{{ settings.themes.cyanine.newsLabel }}</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -20,5 +20,9 @@
|
||||
</footer>
|
||||
|
||||
<div class="w-100 center f6">
|
||||
<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>
|
||||
{% if settings.themes.cyanine.copyrightline %}
|
||||
{{ markdown(settings.themes.cyanine.copyrightlinetext) }}
|
||||
{% else %}
|
||||
<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>
|
@@ -12,6 +12,11 @@
|
||||
|
||||
<li class="post-entry">
|
||||
<header>
|
||||
{% if settings.themes.cyanine.blogimage and post.meta.heroimage != '' %}
|
||||
<figure>
|
||||
<img src="{{ assets.image(post.meta.heroimage).resize(820,500).src() }}"{% if post.meta.heroimage != '' %} alt="{{ post.meta.heroimage }}"{% endif %} />
|
||||
</figure>
|
||||
{% endif %}
|
||||
<a class="link f-link underline-hover" href="{{ element.urlAbs }}"><h2 class="mt4 mb2">{{ post.meta.title }}</h2></a>
|
||||
<div class="mt3"><small><time datetime="{{date}}">{{ date | date("d.m.Y") }}</time> | {{ post.meta.author }}</small></div>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user