initial commit

This commit is contained in:
origin
2023-12-04 16:40:27 +01:00
commit 813b2d3da4
133 changed files with 50635 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
<f:variable name="metatype" value="default" />
<f:render partial="Meta/Rendering/Section" arguments="{_all}" />

View File

@@ -0,0 +1,31 @@
<f:variable name="name">authors</f:variable>
<f:variable name="icon"><f:render partial="General/BlogIcons" section="Author" optional="true" /></f:variable>
<f:variable name="prefix"><f:translate key="meta.authors.author"/></f:variable>
<f:if condition="{post.authors}">
<f:if condition="{post.authors -> f:count()} > 1">
<f:variable name="prefix"><f:translate key="meta.authors.authors"/></f:variable>
</f:if>
<f:render partial="Meta/Rendering/Item" arguments="{name: name, icon: icon, prefix: prefix}" contentAs="content">
<ul class="postmetagroup__list">
<f:for each="{post.authors}" as="author">
<li>
<span class="postmetagroup__listitem" data-blog-author="{author.uid}">
<f:if condition="{avatarSettings.enable}">
<f:variable name="avatarsize" value="{avatarSettings.size as integer}" />
<f:if condition="{avatarsize}"><f:else><f:variable name="avatarsize" value="24" /></f:else></f:if>
<span class="postmetagroup__listprefix"><img loading="lazy" class="postmetagroup__listavatar blogavatar" height="{avatarsize}" width="{avatarsize}" src="{author.avatar}" itemprop="image"></span>
</f:if>
<span class="postmetagroup__listtext" data-prefix="{f:translate(key:'meta.authors.author')}"><f:render section="ProfileLink" arguments="{author: author}" contentAs="content">{author.name}</f:render></span>
</span>
</li>
</f:for>
</ul>
</f:render>
</f:if>
<f:section name="ProfileLink">
<f:if condition="{author.detailsPage} || {settings.authorUid}">
<f:then><blogvh:link.author rel="author" author="{author}"><span itemprop="name">{content}</span></blogvh:link.author></f:then>
<f:else><span itemprop="name">{content}</span></f:else>
</f:if>
</f:section>

View File

@@ -0,0 +1,20 @@
<f:variable name="name">categories</f:variable>
<f:variable name="icon"><f:render partial="General/BlogIcons" section="Category" optional="true" /></f:variable>
<f:variable name="prefix"><f:translate key="meta.categories.category"/></f:variable>
<f:if condition="{post.categories}">
<f:if condition="{post.categories -> f:count()} > 1">
<f:variable name="prefix"><f:translate key="meta.categories.categories"/></f:variable>
</f:if>
<f:render partial="Meta/Rendering/Item" arguments="{name: name, icon: icon, prefix: prefix}" contentAs="content">
<ul class="postmetagroup__list">
<f:for each="{post.categories}" as="postCategory">
<li>
<span class="postmetagroup__listitem" data-blog-category="{postCategory.uid}">
<span class="postmetagroup__listtext"><blogvh:link.category category="{postCategory}" /></span>
</span>
</li>
</f:for>
</ul>
</f:render>
</f:if>

View File

@@ -0,0 +1,23 @@
<f:variable name="name">comments</f:variable>
<f:variable name="icon"><f:render partial="General/BlogIcons" section="Comment" optional="true" /></f:variable>
<f:variable name="prefix"><f:translate key="meta.comments.join_conversation"/></f:variable>
<f:variable name="text"><f:translate key="meta.comments.comments"/></f:variable>
<f:if condition="{settings.comments.active} && {post.commentsActive}">
<f:variable name="commentCount" value="{post.activeComments -> f:count()}" />
<f:if condition="{settings.comments.disqus._typoScriptNodeValue} != 1">
<f:if condition="{commentCount} == 0">
<f:variable name="prefix"><f:translate key="meta.comments.start_conversation"/></f:variable>
<f:variable name="text"><f:translate key="meta.comments.has_comments" arguments="{0: commentCount}"/></f:variable>
</f:if>
<f:if condition="{commentCount} == 1">
<f:variable name="text"><f:translate key="meta.comments.has_comment" arguments="{0: commentCount}"/></f:variable>
</f:if>
<f:if condition="{commentCount} >= 1">
<f:variable name="text"><f:translate key="meta.comments.has_comments" arguments="{0: commentCount}"/></f:variable>
</f:if>
</f:if>
<f:render partial="Meta/Rendering/Item" arguments="{name: name, icon: icon, prefix: prefix}" contentAs="content">
<blogvh:link.post post="{post}" section="comments">{text}</blogvh:link.post>
</f:render>
</f:if>

View File

@@ -0,0 +1,10 @@
<f:variable name="name">published</f:variable>
<f:variable name="icon"><f:render partial="General/BlogIcons" section="Published" optional="true" /></f:variable>
<f:variable name="prefix"><f:translate key="meta.published.published"/></f:variable>
<f:render partial="Meta/Rendering/Item" arguments="{name: name, icon: icon, prefix: prefix}" contentAs="content">
<blogvh:link.post post="{post}" rel="bookmark">
<f:if condition="!{publishDateFormat}"><f:variable name="dateformat" value="%d.%m.%Y" /></f:if>
<time datetime="{f:format.date(format: '%Y-%m-%dT%H:%M:%S-%z', date: post.publishDate)}" itemprop="datepublished">{f:format.date(format: publishDateFormat, date: post.publishDate)}</time>
</blogvh:link.post>
</f:render>

View File

@@ -0,0 +1,20 @@
<f:variable name="name">tags</f:variable>
<f:variable name="icon"><f:render partial="General/BlogIcons" section="Tag" optional="true" /></f:variable>
<f:variable name="prefix"><f:translate key="meta.tags.tag"/></f:variable>
<f:if condition="{post.tags}">
<f:if condition="{post.tags -> f:count()} > 1">
<f:variable name="prefix"><f:translate key="meta.tags.tags"/></f:variable>
</f:if>
<f:render partial="Meta/Rendering/Item" arguments="{name: name, icon: icon, prefix: prefix}" contentAs="content">
<ul class="postmetagroup__list">
<f:for each="{post.tags}" as="postTag">
<li>
<span class="postmetagroup__listitem" data-blog-tag="{postTag.uid}">
<span class="postmetagroup__listtext"><blogvh:link.tag tag="{postTag}" /></span>
</span>
</li>
</f:for>
</ul>
</f:render>
</f:if>

View File

@@ -0,0 +1,2 @@
<f:variable name="metatype" value="listfooter" />
<f:render partial="Meta/Rendering/Section" arguments="{_all}" />

View File

@@ -0,0 +1,2 @@
<f:variable name="metatype" value="listheader" />
<f:render partial="Meta/Rendering/Section" arguments="{_all}" />

View File

@@ -0,0 +1,2 @@
<f:variable name="metatype" value="postfooter" />
<f:render partial="Meta/Rendering/Section" arguments="{_all}" />

View File

@@ -0,0 +1,2 @@
<f:variable name="metatype" value="postheader" />
<f:render partial="Meta/Rendering/Section" arguments="{_all}" />

View File

@@ -0,0 +1,3 @@
<div class="postmetagroup postmetagroup--{settings.meta.{metatype}.modifier} postmetagroup--type-{metatype}">
{content -> f:format.raw()}
</div>

View File

@@ -0,0 +1,12 @@
<f:if condition="!{name}"><f:variable name="name">default</f:variable></f:if>
<div class="postmetagroup__item postmetagroup__item--{name}">
<f:if condition="{icon}">
<div class="postmetagroup__icon">
<span class="blogicon">{icon -> f:format.raw()}</span>
</div>
</f:if>
<div class="postmetagroup__body">
<f:if condition="{prefix}"><div class="postmetagroup__prefix">{prefix -> f:format.raw()}</div></f:if>
<f:if condition="{content}"><div class="postmetagroup__content">{content -> f:format.raw()}</div></f:if>
</div>
</div>

View File

@@ -0,0 +1,23 @@
<f:if condition="!{metatype}"><f:variable name="metatype" value="default" /></f:if>
<f:variable name="modifier" value="{settings.meta.{metatype}.modifier}" />
<f:if condition="{settings.meta.{metatype}.enable}">
<f:render partial="Meta/Rendering/Group" arguments="{_all}" contentAs="content">
<f:if condition="{settings.meta.{metatype}.elements.authors.enable}">
<f:variable name="avatarSettings" value="{settings.meta.{metatype}.elements.authors.avatar}" />
<f:render partial="Meta/Elements/Authors" arguments="{_all}" />
</f:if>
<f:if condition="{settings.meta.{metatype}.elements.categories.enable}">
<f:render partial="Meta/Elements/Categories" arguments="{_all}" />
</f:if>
<f:if condition="{settings.meta.{metatype}.elements.tags.enable}">
<f:render partial="Meta/Elements/Tags" arguments="{_all}" />
</f:if>
<f:if condition="{settings.meta.{metatype}.elements.published.enable}">
<f:variable name="publishDateFormat" value="{settings.meta.{metatype}.elements.published.format}" />
<f:render partial="Meta/Elements/Published" arguments="{_all}" />
</f:if>
<f:if condition="{settings.meta.{metatype}.elements.comments.enable}">
<f:render partial="Meta/Elements/Comments" arguments="{_all}" />
</f:if>
</f:render>
</f:if>

View File

@@ -0,0 +1,2 @@
<f:variable name="metatype" value="teaserfooter" />
<f:render partial="Meta/Rendering/Section" arguments="{_all}" />

View File

@@ -0,0 +1,2 @@
<f:variable name="metatype" value="teaserheader" />
<f:render partial="Meta/Rendering/Section" arguments="{_all}" />