mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
blog theme
This commit is contained in:
parent
23e817fe6b
commit
d38dc82be5
@ -1,3 +1,4 @@
|
||||
<h3>Dates</h3>
|
||||
<% if DisplayMode == month %>
|
||||
<ul class="archiveMonths">
|
||||
<% control Dates %>
|
||||
|
@ -1,14 +1,28 @@
|
||||
<div class="blogSummary">
|
||||
<h2 class="postTitle"><a href="$Link" title="<% _t('VIEWFULL', 'View full post titled -') %> '$Title'">$MenuTitle</a></h2>
|
||||
<p class="authorDate"><% _t('POSTEDBY', 'Posted by') %> $Author.XML <% _t('POSTEDON', 'on') %> $Date.Long | <a href="$Link#PageComments_holder" title="View Comments Posted">$Comments.Count <% _t('COMMENTS', 'Comments') %></a></p>
|
||||
<% if TagsCollection %>
|
||||
<p class="tags">
|
||||
Tags:
|
||||
<% control TagsCollection %>
|
||||
<a href="$Link" title="View all posts tagged '$Tag'" rel="tag">$Tag</a><% if Last %><% else %>,<% end_if %>
|
||||
<% end_control %>
|
||||
</p>
|
||||
<% end_if %>
|
||||
$ParagraphSummary
|
||||
<p class="blogVitals"><a href="$Link#PageComments_holder" class="comments" title="View Comments for this post">$Comments.Count comments</a> | <a href="$Link" class="readmore" title="Read Full Post">Read the full post</a></p>
|
||||
<div class="section clearfix blogSummary">
|
||||
<div class="col6 pink-border first left">
|
||||
<div class="col1 first left"></div>
|
||||
<div class="col5 first left">
|
||||
<h3 class="postTitle"><a href="$Link" title="<% _t('VIEWFULL', 'View full post titled -') %> '$Title'">$MenuTitle</a></h3>
|
||||
|
||||
<div class="left icon icon-s16 icon-employee"></div><p class="authorDate"> by: $Author.XML</p>
|
||||
<p>$Date.Long</p>
|
||||
<p><a href="$Link#PageComments_holder" title="View Comments Posted">$Comments.Count <% _t('COMMENTS', 'Comments') %></a></p>
|
||||
<p>
|
||||
<% if TagsCollection %>
|
||||
<p class="tags">
|
||||
Tags:
|
||||
<% control TagsCollection %>
|
||||
<a href="$Link" title="View all posts tagged '$Tag'" rel="tag">$Tag</a><% if Last %><% else %>,<% end_if %>
|
||||
<% end_control %>
|
||||
</p>
|
||||
<% end_if %>
|
||||
</p>
|
||||
<p class="top-anchor"><a href="contact/#ContactPageClass">↑ top</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col10 left">
|
||||
$ParagraphSummary
|
||||
<p class="blogVitals"><a href="$Link" class="readmore" title="Read Full Post">Read the full post</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -1,21 +1,39 @@
|
||||
<% include BlogSideBar %>
|
||||
|
||||
<div id="BlogContent" class="blogcontent typography">
|
||||
|
||||
<% include BreadCrumbs %>
|
||||
|
||||
<% if Tag %>
|
||||
<h3><% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$Tag'</h3>
|
||||
<% end_if %>
|
||||
|
||||
<% if BlogEntries %>
|
||||
<% control BlogEntries %>
|
||||
<% include BlogSummary %>
|
||||
<% end_control %>
|
||||
<% else %>
|
||||
<h3><% _t('NOENTRIES', 'There are no blog entries') %></h3>
|
||||
<% end_if %>
|
||||
|
||||
<% include BlogPagination %>
|
||||
|
||||
<div id="banner">
|
||||
<div class="standard"><!-- --></div>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<div class="container typography">
|
||||
<% include PageTitle %>
|
||||
|
||||
<div class="clear"><!-- --></div>
|
||||
|
||||
<% if Tag %>
|
||||
<h3><% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$Tag'</h3>
|
||||
<% end_if %>
|
||||
|
||||
<% if BlogEntries %>
|
||||
<% control BlogEntries %>
|
||||
<% include BlogSummary %>
|
||||
<% end_control %>
|
||||
<% else %>
|
||||
<h3><% _t('NOENTRIES', 'There are no blog entries') %></h3>
|
||||
<% end_if %>
|
||||
<% include BlogPagination %>
|
||||
<% include BlogSideBar %>
|
||||
<% include BreadCrumbs %>
|
||||
</div>
|
||||
|
||||
<% control ContentElements %>
|
||||
<div class="section clearfix" id="$Anchor">
|
||||
$ContentReplaceIcon
|
||||
</div>
|
||||
<% end_control %>
|
||||
|
||||
<div class="section faint-border">
|
||||
<div class="col10 right">
|
||||
$BottomText
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user