mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX namespaced includes
This commit is contained in:
parent
3936ddcaff
commit
5d516ea678
@ -1,5 +1,5 @@
|
||||
# Configuring pagination
|
||||
To customise the look and feel of the pagination component, simply override the template located
|
||||
at `/blog/templates/Includes/Pagination.ss`
|
||||
at `/blog/templates/SilverStripe/Blog/Includes/Pagination.ss`
|
||||
|
||||
If you have comments enabled, comment pagination is configurable via the [SilverStripe Comments Module configuration](https://github.com/silverstripe/silverstripe-comments/blob/master/docs/en/Configuration.md).
|
@ -23,5 +23,5 @@
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<% include EntryMeta %>
|
||||
<% include SilverStripe\\Blog\\EntryMeta %>
|
||||
</div>
|
@ -26,7 +26,7 @@
|
||||
|
||||
<% if $PaginatedList.Exists %>
|
||||
<% loop $PaginatedList %>
|
||||
<% include PostSummary %>
|
||||
<% include SilverStripe\\Blog\\PostSummary %>
|
||||
<% end_loop %>
|
||||
<% else %>
|
||||
<p><%t Blog.NoPosts 'There are no posts' %></p>
|
||||
@ -37,8 +37,8 @@
|
||||
$CommentsForm
|
||||
|
||||
<% with $PaginatedList %>
|
||||
<% include Pagination %>
|
||||
<% include SilverStripe\\Blog\\Pagination %>
|
||||
<% end_with %>
|
||||
</div>
|
||||
|
||||
<% include BlogSideBar %>
|
||||
<% include SilverStripe\\Blog\\BlogSideBar %>
|
||||
|
@ -10,11 +10,11 @@
|
||||
|
||||
<div class="content">$Content</div>
|
||||
|
||||
<% include EntryMeta %>
|
||||
<% include SilverStripe\\Blog\\EntryMeta %>
|
||||
</article>
|
||||
|
||||
$Form
|
||||
$CommentsForm
|
||||
</div>
|
||||
|
||||
<% include BlogSideBar %>
|
||||
<% include SilverStripe\\Blog\\BlogSideBar %>
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
|
||||
|
||||
<% include MemberDetails %>
|
||||
<% include SilverStripe\\Blog\\MemberDetails %>
|
||||
|
||||
<% if $PaginatedList.Exists %>
|
||||
<h2>Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:</h2>
|
||||
<% loop $PaginatedList %>
|
||||
<% include PostSummary %>
|
||||
<% include SilverStripe\\Blog\\PostSummary %>
|
||||
<% end_loop %>
|
||||
<% end_if %>
|
||||
|
||||
@ -15,9 +15,9 @@
|
||||
$CommentsForm
|
||||
|
||||
<% with $PaginatedList %>
|
||||
<% include Pagination %>
|
||||
<% include SilverStripe\\Blog\\Pagination %>
|
||||
<% end_with %>
|
||||
|
||||
</div>
|
||||
|
||||
<% include BlogSideBar %>
|
||||
<% include SilverStripe\\Blog\\BlogSideBar %>
|
||||
|
Loading…
Reference in New Issue
Block a user