Commit graph

13 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
1bf3877244 Link up news breadcrumbs. 2021-10-19 06:47:58 -07:00
eeba7a3154 Add breadcrumb examples and expading FAQ sections. 2021-10-19 06:47:58 -07:00
Brett Smith
703df9c8e9 Blogs/news only include a single OG image/video.
For now, this gives us more assurance that other sites will choose the
preview we want.

You can control the selection by adding data-ogpreview to image, video, and
source elements.  data-ogpreview=0 excludes the element from being included
in the preview.  Positive numbers set the preview priority.  The lowest
value found is chosen first.
2018-09-21 10:57:14 -04:00
Brett Smith
3b2ed8397d blog/news: Add Open Graph metadata to entry pages.
This helps other social media sites generate nice previews for these pages.
2017-11-07 11:17:33 -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
Brett Smith
9fbc652c7c blog: Mark entry headline safe in title.
We already strip tags, but this lets HTML entities render correctly.
2016-12-30 23:12:09 -05:00
Bradley M. Kuhn
40c267daa1 Revert that last one, that's not the right way to do this. 2014-03-31 18:46:16 -04:00
Bradley M. Kuhn
c2a1250eac Put the time in 24 hour notion. 2014-03-31 18:44:05 -04:00
Martin Michlmayr
7ccc53805a Fix various HTML syntax errors 2013-02-21 21:46:40 +00:00
Bradley M. Kuhn
b0fd4e13db s/.../…/ 2010-10-04 12:25:53 -04:00
Bradley M. Kuhn
4fac84c550 Change email address. 2010-10-04 12:24:45 -04:00
Bradley M. Kuhn
79140d46a5 Added blog templates. 2010-10-04 09:52:04 -04:00