Commit Graph

10 Commits

Author SHA1 Message Date
Alan Orth 68807b0a97
layouts/_default/summary.html: Minor edit
continuous-integration/drone/push Build is passing Details
Adjust post syntax to be the same as Bootstrap's blog example. We
apparently don't use a header anymore.
2021-02-12 20:51:38 +02:00
Alan Orth f813659623
layouts/_default/baseof.html: Link header
continuous-integration/drone/push Build is passing Details
The site title in the header should be a link to home.
2020-12-28 23:14:30 +02:00
Alan Orth 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
Alan Orth d492b96562
layouts: Fix a few outdated .font-italic uses
continuous-integration/drone/push Build is passing Details
In Bootstrap v5 the font utility classes were renamed.
2020-12-12 17:35:47 +02:00
Alan Orth bcb497d744
layouts: Add container wrapper 2020-12-07 16:17:17 +02:00
Alan Orth 2e7f12c52a
layouts/_default/home.html: Use a range for posts
The "normal" list of the latest blog posts under the featured block.
2020-12-07 15:10:58 +02:00
Alan Orth 4e8118feda
layouts/_default/home.html: Use paginator partial
There is no pagination yet, but this should be in a partial.
2020-12-07 14:20:52 +02:00
Alan Orth f670020674
Commit basic working example 2020-12-07 14:13:09 +02:00
Alan Orth af8ffa8046
layouts/_default/baseof.html: Remove sign up button
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.
2020-11-30 15:39:54 +02:00
Alan Orth 647fc929a8
Initial commit
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/
2020-11-30 13:30:22 +02:00