Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated template elements for 3.0. Made html follow proper heading hierarchy Optimized generated html so it can be more easily styled.
- Loading branch information
Naomi Guyer
committed
Aug 17, 2012
1 parent
448d347
commit d33e209
Showing
10 changed files
with
72 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<% if DisplayMode == month %> | ||
<ul class="archiveMonths"> | ||
<% control Dates %> | ||
<% loop Dates %> | ||
<li> | ||
<a href="$Link"> | ||
$Date.Format(F) $Date.Year | ||
</a> | ||
</li> | ||
<% end_control %> | ||
<% end_loop %> | ||
</ul> | ||
<% else %> | ||
<ul class="archiveYears"> | ||
<% control Dates %> | ||
<% loop Dates %> | ||
<li> | ||
<a href="$Link"> | ||
$Date.Year<% if Last %><% else %>,<% end_if %> | ||
$Date.Year<% if not Last %>,<% end_if %> | ||
</a> | ||
</li> | ||
<% end_control %> | ||
<% end_loop %> | ||
</ul> | ||
<% end_if %> |
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,27 +1,41 @@ | ||
<% if BlogEntries.MoreThanOnePage %> | ||
<div id="PageNumbers"> | ||
<p> | ||
<% if BlogEntries.NotFirstPage %> | ||
<a class="prev" href="$BlogEntries.PrevLink" title="View the previous page">Prev</a> | ||
<div class="pagination"> | ||
<ul class="PageNumbers"> | ||
<% if BlogEntries.NotFirstPage %> | ||
<li class="prev"> | ||
<a class="paginate-left" href="$BlogEntries.PrevLink" title="View the previous page"><</a> | ||
</li> | ||
<% else %> | ||
<li class="prev disabled"> | ||
<a class="paginate-left disabled"><</a> | ||
</li> | ||
<% end_if %> | ||
|
||
<% loop BlogEntries.PaginationSummary(4) %> | ||
<% if CurrentBool %> | ||
<li class="active"><a class="disabled">$PageNum</a></li> | ||
<% else %> | ||
<% if Link %> | ||
<li> | ||
<a class="<% if BeforeCurrent %>paginate-left<% else %>paginate-right<% end_if %>" href="$Link"> | ||
$PageNum | ||
</a> | ||
</li> | ||
<% else %> | ||
<li class="disabled"><a class="disabled">…</a></li> | ||
<% end_if %> | ||
<% end_if %> | ||
|
||
<span> | ||
<% control BlogEntries.PaginationSummary(4) %> | ||
<% if CurrentBool %> | ||
<span class="current">$PageNum</span> | ||
<% else %> | ||
<% if Link %> | ||
<a href="$Link" title="View page number $PageNum">$PageNum</a> | ||
<% else %> | ||
… | ||
<% end_if %> | ||
<% end_if %> | ||
<% end_control %> | ||
</span> | ||
|
||
<% if BlogEntries.NotLastPage %> | ||
<a class="next" href="$BlogEntries.NextLink" title="View the next page">Next</a> | ||
<% end_if %> | ||
</p> | ||
</div> | ||
<% end_loop %> | ||
|
||
<% if BlogEntries.NotLastPage %> | ||
<li class="next"> | ||
<a class="next paginate-right" href="$BlogEntries.NextLink" title="View the next page">></a> | ||
</li> | ||
<% else %> | ||
<li class="next disabled"> | ||
<a class="next paginate-right disabled">></a> | ||
</li> | ||
<% end_if %> | ||
</ul> | ||
</div> | ||
<% end_if %> |
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,5 +1,5 @@ | ||
<% if Level(2) %> | ||
<div id="Breadcrumbs"> | ||
<p>$Breadcrumbs</p> | ||
$Breadcrumbs | ||
</div> | ||
<% end_if %> |
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
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,7 +1,7 @@ | ||
<ul> | ||
<% control FeedItems %> | ||
<% loop FeedItems %> | ||
<li> | ||
<a href="$Link">$Title</a> | ||
</li> | ||
<% end_control %> | ||
<% end_loop %> | ||
</ul> |
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,5 +1,5 @@ | ||
<p class="tagcloud"> | ||
<% control TagsCollection %> | ||
<% loop TagsCollection %> | ||
<a href="$Link" class="$Class">$Tag</a> | ||
<% end_control %> | ||
<% end_loop %> | ||
</p> |