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.
We don't have any sign up functionality... this is a static blog.
I will leave the subscribe and search buttons for now, as I might
be able to re-purpose them.
Barely working port of the "snarky" (their words) new Bootstrap Blog
example that was introduced with Bootstrap v4.0.0, but as it exists
in Bootstrap v5 alpha 3 currently. This example replaced the classic
blog example that had been a part of Bootstrap for several years and
was replaced after v4 alpha.
The Hugo theme logic here comes from my existing "Hugo Bootstrap v4
Blog" theme.
See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/
See: https://v5.getbootstrap.com/docs/5.0/examples/blog/