-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the other templates to for the most parts the ones being shipp…
…ed with the latest version of quickblog
- Loading branch information
1 parent
1154f27
commit 2e0a8c1
Showing
3 changed files
with
59 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
{% for post in posts %} | ||
<div> | ||
<article> | ||
<h1><a href="{{post.post-link}}">{{post.title}}</a></h1> | ||
{{post.body | safe}} | ||
{% if post.truncated %} | ||
<p><a href="{{post.post-link}}">Continue reading</a></p> | ||
{% endif %} | ||
<p><i>Published: {{post.date}}</i></p> | ||
{% if post.tags %} | ||
<p><i> | ||
Tagged: | ||
{% for tag in post.tags %} | ||
<span class="tag"> | ||
<a href="tags/{{tag|escape-tag}}.html">{{tag}}</a> | ||
</span> | ||
{% endfor %} | ||
</i></p> | ||
{% endif %} | ||
</article> | ||
</div> | ||
<div> | ||
<article> | ||
<h1><a href="{{post.post-link}}">{{post.title}}</a></h1> | ||
{{post.body | safe}} | ||
{% if post.truncated %} | ||
<p><a href="{{post.post-link}}">Continue reading</a></p> | ||
{% endif %} | ||
{% if post.discuss %} | ||
<p>Discuss this post <a href="{{post.discuss}}">here</a>.</p> | ||
{% endif %} | ||
<p><i>Published: {{post.date}}</i></p> | ||
{% if post.tags %} | ||
<p><i> | ||
Tagged: | ||
{% for tag in post.tags %} | ||
<span class="tag"> | ||
<a href="tags/{{tag|escape-tag}}{{page-suffix}}">{{tag}}</a> | ||
</span> | ||
{% endfor %} | ||
</i></p> | ||
{% endif %} | ||
</article> | ||
</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,26 +1,28 @@ | ||
<article> | ||
<h1> | ||
{% if post-link %} | ||
<a href="{{post-link}}"> | ||
{% endif %} | ||
{{title}} | ||
{% if post-link %} | ||
</a> | ||
{% endif %} | ||
</h1> | ||
|
||
{{body | safe}} | ||
<p><i>Published: {{date}}</i></p> | ||
{% if tags %} | ||
<p> | ||
<i> | ||
Tagged: | ||
{% for tag in tags %} | ||
<span class="tag"> | ||
<a href="tags/{{tag|escape-tag}}.html">{{tag}}</a> | ||
</span> | ||
{% endfor %} | ||
</i> | ||
</p> | ||
<h1> | ||
{% if post-link %} | ||
<a href="{{post-link}}"> | ||
{% endif %} | ||
{{title}} | ||
{% if post-link %} | ||
</a> | ||
{% endif %} | ||
</h1> | ||
{{body | safe}} | ||
{% if discuss-link %} | ||
<p>Discuss this post <a href="{{discuss}}">here</a>.</p> | ||
{% endif %} | ||
<p><i>Published: {{date}}</i></p> | ||
{% if tags %} | ||
<p> | ||
<i> | ||
Tagged: | ||
{% for tag in tags %} | ||
<span class="tag"> | ||
<a href="tags/{{tag|escape-tag}}{{page-suffix}}">{{tag}}</a> | ||
</span> | ||
{% endfor %} | ||
</i> | ||
</p> | ||
{% endif %} | ||
</article> |