Commit graph

5 commits

Author SHA1 Message Date
14abe07a4a
Remove unnecessary use of "safe" template tag.
This tag marks a variable as not requiring escaping by the template engine,
potentially creating cross-site scripting vulnerabilities, so shouldn't be used
unless absolutely necessary. In these cases, I don't think it's necessary.
2021-12-17 21:55:47 +11:00
Bradley M. Kuhn
477e9f4c02 Blog: typo fix in template.
Template had a typo from last commit.
2017-09-13 09:46:38 -07:00
Bradley M. Kuhn
bea2e11108 Blog: add permalink on partial entries.
I noticed there is no link on the blog pages (other than on the front
page) to get the link to the blog post itself.  This adds a permalink at
the end near the tags.

I considered making the title itself a link, which is what's done on the
frontpage, but I figured this might look nicer.  Feel free to change
this if you're looking this commit message and feel I didn't DTRT
here. :)
2017-09-13 09:42:08 -07:00
Brett Smith
170aa38bb5 blog: Headlines clear floats.
This avoids a situation where multiple summaries have floats that stack on
top of each other vertically, which end up getting far away from the actual
text.

In order to make this work, we had to change the styling of #mainContent on
blog pages (and others with a sidebar).  Otherwise, headlines with
class="clear" would clear the sidebar as well.
2016-12-30 23:12:09 -05:00
Brett Smith
e7c1171b6e blog: Refactor entry rendering into a partial.
This helps ensure that entries are rendered consistently wherever they
appear.
2016-12-30 23:12:09 -05:00