-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from opentechinstitute/blog-theming
Blog theming
- Loading branch information
Showing
47 changed files
with
1,869 additions
and
1,804 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 |
---|---|---|
|
@@ -7,4 +7,4 @@ url: "staging.commotionwireless.net" | |
port: 80 | ||
|
||
permalink: /blog/:year/:month/:day/:title | ||
|
||
pagination: 3 |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- This loops through the paginated posts --> | ||
{% for post in paginator.posts %} | ||
<div class="post-promo"> | ||
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3> | ||
<p class="author"> | ||
<span class="date">{{ post.date }}</span> | ||
</p> | ||
<div class="content"> | ||
{{ post.content }} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
|
||
<!-- Pagination links --> | ||
<div class="pagination"> | ||
{% if paginator.previous_page %} | ||
<a href="/page{{ paginator.previous_page }}" class="previous">Previous</a> | ||
{% else %} | ||
<span class="previous">Previous</span> | ||
{% endif %} | ||
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span> | ||
{% if paginator.next_page %} | ||
<a href="/page{{ paginator.next_page }}" class="next">Next</a> | ||
{% else %} | ||
<span class="next ">Next</span> | ||
{% endif %} | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% for post in site.categories.release limit:1 %} | ||
<div class="blog-post-promo"> | ||
<h4><a href="{{ post.url }}" class="blog-teaser-title">{{ post.title }}</a></h4> | ||
<p class="blog-pubdata">{{ post.date | date: "%B %d, %Y" }} {{ post.post_author }}</p> | ||
<p class="blog-excerpt">{{ post.content | split:'<!--miniteaser-->' | first }}</p> | ||
</div> | ||
{% endfor %} | ||
|
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,4 +1,4 @@ | ||
<h3>Tags:</h3> | ||
{% for category in site.categories %} | ||
<a href="/tags/siteindex#{{ category[0] }}">{{ category[0] }}</a><br /> | ||
<h3>Tags:</h3> | ||
{% for category in site.categories | sort %} | ||
<a href="/tags/siteindex#{{ category[0] }}">{{ category[0] }}</a> ({{ category[1].size }})<br /> | ||
{% endfor %} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% include header.html %} | ||
{% include header-nav.html %} | ||
{% include pageheadings.html %} | ||
{% include content-area-open.html %} | ||
{% include left-twothird-open.html %} | ||
{{ content }} | ||
{% include left-twothird-close.html %} | ||
{% include right-col-start.html %} | ||
{% include blog-release-post.html %} | ||
{% include site-tag-cloud.html %} | ||
{% include right-col-end.html %} | ||
{% include content-area-close.html %} | ||
{% include footer.html %} |
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
Oops, something went wrong.