flatpress/fp-interface/themes/leggero/entry-default.tpl
Fraenkiman 752998e30b Please merge the following changes
Fixes #201 and #144

 * In the admin area of the style Flatmaas-Rev is no longer tried via stylesheet to include the image nib-logo.png.
 * In the preview of the Leggero style "Posted by + time" is now displayed right-aligned - as in the blog.
 * The heading for posts and pages has received its own CSS class "entry-title".
 * In all three styles, both heading sizes are now displayed correctly; as in the blog, so in the preview.
 * The publication date is truncated from h2 and now uses h6.
 * Font size h4 can now also be conveniently set via BBCode button.
 * Long single line code in leggero-v2 style is now wrapped when printing.
2023-02-09 01:12:36 +01:00

42 lines
1.3 KiB
Smarty

<div itemscope itemtype="http://schema.org/BlogPosting" id="{$id}" class="entry {$date|date_format:"y-%Y m-%m d-%d"}">
{* using the following way to print the date, if more *}
{* than one entry have been written the same day, *}
{* the date will be printed only once *}
{$date|date_format_daily:"<h2 class=\"date\">`$fp_config.locale.dateformat`</h2>"}
<h2 itemprop="name" class="entry-title">
<a href="{$id|link:post_link}">
{$subject|tag:the_title}
</a>
</h2>
{include file="shared:entryadminctrls.tpl"}
<div itemprop="articleBody">
{$content|tag:the_content}
</div>
<ul class="entry-footer">
<li class="entry-info">{$lang.entryauthor.posted_by} <span itemprop="author">{$author}</span> {$lang.entryauthor.at}
{$date|date_format}
<span itemprop="articleSection">
{if ($categories)} {$lang.plugin.categories.in} {$categories|@filed}{/if}
</span>
</li>
{if !(in_array('commslock', $categories) && !$comments)}
<li class="link-comments">
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number}
{if isset($views)}(<strong>{$views}</strong> {$lang.postviews.views}){/if}
</a>
</li>
{/if}
</ul>
</div>