Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine granularity of tpl:Blocks in dotty template set, will simplify…
… inheritance and overload of themes
- Loading branch information
1 parent
974503f
commit 3647f19
Showing
23 changed files
with
946 additions
and
606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<audio controls preload="auto"> | ||
<source src="{{tpl:MediaURL}}"> | ||
</audio> | ||
<tpl:Block name="_audio_player-before"></tpl:Block> | ||
<tpl:Block name="_audio_player-content"> | ||
<audio controls preload="auto"> | ||
<source src="{{tpl:MediaURL}}"> | ||
</audio> | ||
</tpl:Block> | ||
<tpl:Block name="_audio_player-after"></tpl:Block> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,80 @@ | ||
<article class="post simple" id="p{{tpl:EntryID}}" role="article" lang="{{tpl:EntryLang}}"> | ||
<header> | ||
<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> | ||
<div class="post-meta"> | ||
<p class="post-info"> | ||
<span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> | ||
<span class="post-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time>. </span> | ||
<span class="post-permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> | ||
<tpl:EntryIf has_category="1"> | ||
<span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a | ||
href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a | ||
href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> | ||
<tpl:Block name="_entry-content-before"></tpl:Block> | ||
<tpl:Block name="_entry-content-main"> | ||
<article class="post simple" id="p{{tpl:EntryID}}" role="article" lang="{{tpl:EntryLang}}"> | ||
<tpl:Block name="_entry-content-header"> | ||
<header> | ||
<tpl:Block name="_entry-content-header-title"> | ||
<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> | ||
</tpl:Block> | ||
<tpl:Block name="_entry-content-header-info"> | ||
<div class="post-meta"> | ||
<p class="post-info"> | ||
<span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> | ||
<span class="post-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time>. </span> | ||
<span class="post-permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> | ||
<tpl:EntryIf has_category="1"> | ||
<span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a | ||
href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a | ||
href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> | ||
</tpl:EntryIf> | ||
</p> | ||
<tpl:EntryTags> | ||
<tpl:TagsHeader> | ||
<ul class="post-tags-list"> | ||
</tpl:TagsHeader> | ||
<li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> | ||
<tpl:TagsFooter> | ||
</ul> | ||
</tpl:TagsFooter> | ||
</tpl:EntryTags> | ||
</div> | ||
</tpl:Block> | ||
</header> | ||
</tpl:Block> | ||
<tpl:Block name="_entry-content-behavior-before-content"> | ||
<!-- # --BEHAVIOR-- publicEntryBeforeContent --> | ||
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}} | ||
</tpl:Block> | ||
<tpl:Block name="_entry-content-content"> | ||
<tpl:Block name="_entry-content-content-excerpt"> | ||
<!-- # Entry with an excerpt --> | ||
<tpl:EntryIf extended="1"> | ||
<div class="post-excerpt">{{tpl:EntryExcerpt}}</div> | ||
</tpl:EntryIf> | ||
</p> | ||
<tpl:EntryTags> | ||
<tpl:TagsHeader> | ||
<ul class="post-tags-list"> | ||
</tpl:TagsHeader> | ||
<li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> | ||
<tpl:TagsFooter> | ||
</tpl:Block> | ||
<tpl:Block name="_entry-content-content-main"> | ||
<div class="post-content">{{tpl:EntryContent}}</div> | ||
</tpl:Block> | ||
</tpl:Block> | ||
<tpl:Block name="_entry-content-behavior-after-content"> | ||
<!-- # --BEHAVIOR-- publicEntryAfterContent --> | ||
{{tpl:SysBehavior behavior="publicEntryAfterContent"}} | ||
</tpl:Block> | ||
<tpl:Block name="_entry-content-attachments"> | ||
<!-- # Attachments --> | ||
<tpl:Attachments> | ||
<tpl:AttachmentsHeader> | ||
<footer class="post-attachments" id="attachments"> | ||
<h3 class="post-attachments-title">{{tpl:lang Attachments}}</h3> | ||
<ul class="post-attachments-list"> | ||
</tpl:AttachmentsHeader> | ||
<li class="post-attachments-item {{tpl:AttachmentType}}"> | ||
<tpl:AttachmentIf is_audio="1"> | ||
{{tpl:include src="_audio_player.html"}} | ||
</tpl:AttachmentIf> | ||
<tpl:AttachmentIf is_video="1"> | ||
{{tpl:include src="_video_player.html"}} | ||
</tpl:AttachmentIf> | ||
<tpl:AttachmentIf is_audio="0" is_video="0"> | ||
<a href="{{tpl:AttachmentURL}}" title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> | ||
</tpl:AttachmentIf> | ||
</li> | ||
<tpl:AttachmentsFooter> | ||
</ul> | ||
</tpl:TagsFooter> | ||
</tpl:EntryTags> | ||
</div> | ||
</header> | ||
<!-- # --BEHAVIOR-- publicEntryBeforeContent --> | ||
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}} | ||
<!-- # Entry with an excerpt --> | ||
<tpl:EntryIf extended="1"> | ||
<div class="post-excerpt">{{tpl:EntryExcerpt}}</div> | ||
</tpl:EntryIf> | ||
<div class="post-content">{{tpl:EntryContent}}</div> | ||
<!-- # --BEHAVIOR-- publicEntryAfterContent --> | ||
{{tpl:SysBehavior behavior="publicEntryAfterContent"}} | ||
<!-- # Attachments --> | ||
<tpl:Attachments> | ||
<tpl:AttachmentsHeader> | ||
<footer class="post-attachments" id="attachments"> | ||
<h3 class="post-attachments-title">{{tpl:lang Attachments}}</h3> | ||
<ul class="post-attachments-list"> | ||
</tpl:AttachmentsHeader> | ||
<li class="post-attachments-item {{tpl:AttachmentType}}"> | ||
<tpl:AttachmentIf is_audio="1"> | ||
{{tpl:include src="_audio_player.html"}} | ||
</tpl:AttachmentIf> | ||
<tpl:AttachmentIf is_video="1"> | ||
{{tpl:include src="_video_player.html"}} | ||
</tpl:AttachmentIf> | ||
<tpl:AttachmentIf is_audio="0" is_video="0"> | ||
<a href="{{tpl:AttachmentURL}}" title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> | ||
</tpl:AttachmentIf> | ||
</li> | ||
<tpl:AttachmentsFooter> | ||
</ul> | ||
</footer> | ||
</tpl:AttachmentsFooter> | ||
</tpl:Attachments> | ||
</article> | ||
</footer> | ||
</tpl:AttachmentsFooter> | ||
</tpl:Attachments> | ||
</tpl:Block> | ||
</article> | ||
</tpl:Block> | ||
<tpl:Block name="_entry-content-after"></tpl:Block> |
Oops, something went wrong.