Try to use dotty for template

This commit is contained in:
Jean-Christian Paul Denis 2021-11-03 01:31:44 +01:00
parent 8282beef7a
commit c2410cc89d
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -1,30 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" {{tpl:extends parent="__layout.html"}}
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <tpl:Block name="head-title">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}"> <title>{{tpl:c2PageTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}
<head> </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </tpl:Block>
<meta name="MSSmartTagsPreventParsing" content="TRUE" /> <tpl:Block name="meta-robots">
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
<title>{{tpl:c2PageTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> </tpl:Block>
<tpl:Block name="meta-entry">
<meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" encode_html="1"}}" /> <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1" cut_string="180" remove_html="1"}}" />
<meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
</tpl:Block>
<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> <tpl:Block name="head-linkrel">
<meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}} - {{tpl:c2PageTitle encode_html="1"}}" /> <link rel="contents" href="{{tpl:c2PageURL}}" title="{{tpl:lang Cinecturlink}}" />
<meta name="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1"}}" /> <tpl:c2Entries no_content="1">
<meta name="dc.language" content="{{tpl:BlogLanguage}}" />
<meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
<meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
<meta name="dc.type" content="text" />
<meta name="dc.format" content="text/html" />
<link rel="contents" title="{{tpl:lang Cinecturlink}}" href="{{tpl:c2PageURL}}" />
<tpl:c2Entries>
<tpl:c2EntriesHeader> <tpl:c2EntriesHeader>
<tpl:c2Pagination> <tpl:c2Pagination>
<tpl:c2PaginationIf end="0"> <tpl:c2PaginationIf end="0">
@ -36,70 +25,121 @@
</tpl:c2PaginationIf> </tpl:c2PaginationIf>
</tpl:c2Pagination> </tpl:c2Pagination>
</tpl:c2EntriesHeader> </tpl:c2EntriesHeader>
<link rel="chapter" href="{{tpl:c2EntryURL}}" title="{{tpl:c2EntryTitle encode_html="1"}}" />
</tpl:c2Entries> </tpl:c2Entries>
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:c2PageFeedURL type="atom"}}" />
</tpl:Block>
{{tpl:include src="_head.html"}} <tpl:Block name="body-tag">
</head> <body class="dc-post dc-cinecturlink">
</tpl:Block>
<body class="dc-post"> <tpl:Block name="main-content">
<div id="page"> <tpl:Block name="main-content-before"></tpl:Block>
{{tpl:include src="_top.html"}} <tpl:Block name="main-content-main">
<div id="wrapper"> <tpl:Block name="main-content-header">
<header id="content-info">
<div id="main"> <tpl:Block name="main-content-header-title">
<div id="content">
<div id="content-info">
<h2>{{tpl:c2PageTitle encode_html="1"}}</h2> <h2>{{tpl:c2PageTitle encode_html="1"}}</h2>
<p>{{tpl:c2PageDescription}}</p> </tpl:Block>
<tpl:c2If operator="or" request_link="1" request_cat="1"><p><a href="{{tpl:c2PageURL}}" title="{{tpl:lang view all links}}">{{tpl:lang view all links}}</a></p></tpl:c2If> <tpl:Block name="main-content-header-feed">
<p> <tpl:c2CategoryIf has_entries="1">
<a type="application/atom+xml" href="{{tpl:c2PageFeedURL type="atom"}}" title="{{tpl:lang These entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a> <ul class="content-info__feed">
<li><a type="application/atom+xml" href="{{tpl:c2PageFeedURL type="atom"}}"
title="{{tpl:lang This entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a></li>
<tpl:c2Categories> <tpl:c2Categories>
<tpl:c2CategoryIf current="1"> - <a type="application/atom+xml" href="{{tpl:c2CategoryFeedURL type="atom"}}" title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Category's entries feed}}</a></p></tpl:c2CategoryIf> <tpl:c2CategoryIf current="1">
<li><a type="application/atom+xml" href="{{tpl:c2CategoryFeedURL type="atom"}}"
title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Category's entries feed}}</a></li>
</tpl:c2CategoryIf>
</tpl:c2Categories> </tpl:c2Categories>
</p> </ul>
</tpl:c2CategoryIf>
</tpl:Block>
<tpl:Block name="main-content-header-desc">
<div class="content-info__cat-desc">
{{tpl:c2PageDescription}}
</div> </div>
</tpl:Block>
<tpl:Block name="main-content-header-subcats">
<tpl:c2Categories> <tpl:c2Categories>
<tpl:c2CategoriesHeader> <tpl:c2CategoriesHeader>
<div id="content-info cinecturlink-categories"> <div id="subcategories" class="content-info__sub-cat">
<h2>{{tpl:lang Categories}}</h2> <h3>{{tpl:lang Categories}}</h3>
<ul> <ul>
<tpl:c2If operator="or" request_link="1" request_cat="1">
<li class="post-cat"><a href="{{tpl:c2PageURL}}" title="{{tpl:lang view all links}}">{{tpl:lang view all links}}</a></li>
</tpl:c2If>
</tpl:c2CategoriesHeader> </tpl:c2CategoriesHeader>
<tpl:c2CategoryIf current="1"><li>{{tpl:c2CategoryTitle}}</li></tpl:c2CategoryIf> <tpl:c2CategoryIf current="1">
<tpl:c2CategoryIf current="0"><li><a href="{{tpl:c2CategoryURL}}" title="{{tpl:c2CategoryDescription remove_html="1"}}">{{tpl:c2CategoryTitle}}</a> </li></tpl:c2CategoryIf> <li class="post-cat">{{tpl:c2CategoryTitle}}</li>
</tpl:c2CategoryIf>
<tpl:c2CategoryIf current="0">
<li class="post-cat"><a href="{{tpl:c2CategoryURL}}" title="{{tpl:c2CategoryDescription remove_html="1"}}">{{tpl:c2CategoryTitle}}</a> </li>
</tpl:c2CategoryIf>
<tpl:c2CategoriesFooter> <tpl:c2CategoriesFooter>
</ul> </ul>
</div> </div>
</tpl:c2CategoriesFooter> </tpl:c2CategoriesFooter>
</tpl:c2Categories> </tpl:c2Categories>
</tpl:Block>
</header> <!-- # End #content-info -->
</tpl:Block>
<div class="content-inner cinecturlink-entries"> <tpl:Block name="main-content-inner"></tpl:Block>
<div class="content-inner">
<tpl:c2Entries order="link_creadt" sort="desc"> <tpl:c2Entries order="link_creadt" sort="desc">
<div id="p{{tpl:c2EntryID}}" class="post {{tpl:c2EntryIfOdd}} {{tpl:c2EntryIfFirst}}" lang="{{tpl:c2EntryLang}}" xml:lang="{{tpl:c2EntryLang}}" style="clear:both;">
<tpl:Block name="_entry-full-before"></tpl:Block>
<tpl:Block name="_entry-full-main">
<article id="p{{tpl:c2EntryID}}" class="post {{tpl:c2EntryIfOdd}} {{tpl:c2EntryIfFirst}} full" lang="{{tpl:c2EntryLang}}" role="article">
<tpl:Block name="_entry-full-header">
<header>
<tpl:Block name="_entry-full-header-date"></tpl:Block>
<tpl:Block name="_entry-full-header-title">
<h2 class="post-title"><a href="{{tpl:c2EntryURL}}">{{tpl:c2EntryTitle encode_html="1"}}</a></h2> <h2 class="post-title"><a href="{{tpl:c2EntryURL}}">{{tpl:c2EntryTitle encode_html="1"}}</a></h2>
</tpl:Block>
<p class="post-info">{{tpl:lang By}} {{tpl:c2EntryFromAuthor}} - <a href="{{tpl:c2EntryURL}}" title="{{tpl:lang link}}">{{tpl:lang link}}</a> </header>
({{tpl:lang on}} {{tpl:c2EntryDate}}, {{tpl:c2EntryTime}} {{tpl:lang by}} {{tpl:c2EntryAuthorLink}} <tpl:c2EntryIf has_category="1"> - <a href="{{tpl:c2EntryCategoryURL}}" title="{{tpl:lang category}}">{{tpl:c2EntryCategory encode_html="1"}}</a></tpl:c2EntryIf>)</p> </tpl:Block>
<tpl:Block name="_entry-full-behavior-before-content">
<!-- # --BEHAVIOR-- publicC2EntryBeforeContent --> <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
{{tpl:SysBehavior behavior="publicC2EntryBeforeContent"}} {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
</tpl:Block>
<div class="post-content"> <tpl:Block name="_entry-full-content">
<p> <tpl:Block name="_entry-full-content-excerpt">
{{tpl:c2EntryImg style="float:left; margin: 0 1em 1em 0;"}} {{tpl:c2EntryImg style="float:left; margin: 0 1em 1em 0;"}}
{{tpl:c2EntryDescription remove_html="1"}} </tpl:Block>
<tpl:Block name="_entry-full-content-main">
<div class="post-content">{{tpl:c2EntryDescription remove_html="1"}}</div>
</tpl:Block>
</tpl:Block>
<tpl:Block name="_entry-full-behavior-after-content">
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
</tpl:Block>
<tpl:Block name="_entry-full-footer">
<footer class="post-meta">
<tpl:Block name="_entry-full-footer-info">
<tpl:Block name="_entry-full-footer-post-info">
<p class="post-info">
<span class="post-author">{{tpl:lang By}} {{tpl:c2EntryFromAuthor}} (<a href="{{tpl:c2EntryURL}}" title="{{tpl:lang link}}">{{tpl:lang link}}</a>), </span>
<span class="post-author">{{tpl:lang By}} {{tpl:c2EntryFromAuthor}}, </span>
<span class="post-date"><time datetime="{tpl:c2EntryDate}}, {{tpl:c2EntryTime}}">{{tpl:c2EntryDate}}</time>.</span>
<tpl:c2EntryIf has_category="1">
<span class="post-cat"><a href="{{tpl:c2EntryCategoryURL}}">{{tpl:c2EntryCategory encode_html="1"}}</a></span>
</tpl:c2EntryIf>
</p> </p>
</div> </tpl:Block>
<tpl:Block name="_entry-full-footer-post-tags"></tpl:Block>
</tpl:Block>
<tpl:Block name="_entry-full-footer-counters"></tpl:Block>
</footer>
</tpl:Block>
</article>
</tpl:Block>
<tpl:Block name="_entry-full-after"></tpl:Block>
<!-- # --BEHAVIOR-- publicC2EntryAfterContent -->
{{tpl:SysBehavior behavior="publicC2EntryAfterContent"}}
</div>
<tpl:c2EntriesFooter> <tpl:c2EntriesFooter>
<tpl:c2Pagination> <tpl:c2Pagination>
<p class="pagination"><tpl:c2PaginationIf end="0"><a href="{{tpl:c2PaginationURL offset="+1"}}" class="prev">&#171; <p class="pagination"><tpl:c2PaginationIf end="0"><a href="{{tpl:c2PaginationURL offset="+1"}}" class="prev">&#171;
@ -110,24 +150,9 @@
</tpl:c2Pagination> </tpl:c2Pagination>
</tpl:c2EntriesFooter> </tpl:c2EntriesFooter>
</tpl:c2Entries> </tpl:c2Entries>
</div> </div> <!-- # End #content-inner -->
</tpl:Block>
</div> </tpl:Block>
</div> <!-- End #main --> <tpl:Block name="main-content-after"></tpl:Block>
</tpl:Block>
<div id="sidebar">
<div id="blognav">
{{tpl:Widgets type="nav"}}
</div> <!-- End #blognav -->
<div id="blogextra">
{{tpl:Widgets type="extra"}}
</div> <!-- End #blogextra -->
</div>
</div> <!-- End #wrapper -->
{{tpl:include src="_footer.html"}}
</div> <!-- End #page -->
</body>
</html>