Commit graph

6 commits

Author SHA1 Message Date
47a30a750a
Sort Python imports with isort 2023-10-20 09:52:39 +11:00
9e39d7eadc
Apply pyupgrade --py36-plus (but skip f-strings as we're on Python 3.5) 2023-09-07 23:15:48 +10:00
2d078b0004
Apply futurize --stage-2 Python 2/3 compatibility transformations.
These changes specifically require the use of the "future" library.
2021-11-30 07:55:45 +11:00
31e51a7742
Apply "object" changes only from futurize --stage2. 2021-11-26 13:49:40 +11: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