b524043127
layouts/partials/featured.html: Orientation 6
...
continuous-integration/drone/push Build is passing
This handles images that have EXIF orientation "RightTop" aka 6,
which we need to rotate 270 degrees clockwise to make normal.
See: https://www.impulseadventure.com/photo/exif-orientation.html
2020-12-28 12:34:05 +02:00
f28cf4615c
layouts: Make featured posts configurable
...
For now it gets the first three posts with "featured: true" in their
frontmatter and displays them in a random order (so no control over
the placement of large feature or two smaller features).
TODO: gracefully handle the case where there are no pages with the
"featured: true" frontmatter so new users don't see a super weird
and broken front page.
2020-12-28 10:03:41 +02:00
d492b96562
layouts: Fix a few outdated .font-italic uses
...
continuous-integration/drone/push Build is passing
In Bootstrap v5 the font utility classes were renamed.
2020-12-12 17:35:47 +02:00
ce27c4e6a1
layouts/partials/featured.html: Fix logic
...
continuous-integration/drone/push Build is passing
The logic was incorrect here, which caused some images to be missed
because some images have EXIF data but do not have orientation 8.
2020-12-12 14:59:08 +02:00
eb65845f60
layouts/partials/featured.html: Wire up features
...
This gets three random posts and uses the first for the top feature
and the second and third for the two smaller features.
2020-12-07 23:16:48 +02:00
f670020674
Commit basic working example
2020-12-07 14:13:09 +02:00