17f8037b1c
layouts/partials/pagination.html: Rework buttons
...
continuous-integration/drone/push Build is passing
I just noticed that the Bootstrap blog example has the order of the
buttons reversed from how I expected. They word them as "older" and
"newer" and they are opposite to how I expected. For now I will keep
these the same as the example, but eventually I might change them
to "previous" and "next" as is more commonly used.
See: https://getbootstrap.com/docs/5.0/examples/blog/
2020-12-28 23:28:31 +02:00
f813659623
layouts/_default/baseof.html: Link header
...
continuous-integration/drone/push Build is passing
The site title in the header should be a link to home.
2020-12-28 23:14:30 +02:00
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
0f275cbee6
assets/css/style.min.css: Regenerate static assets
2020-12-28 12:32:18 +02:00
66a3f02d69
source/scss/bootstrap.scss: Remove unused imports
...
This reduces the size of the shipped style.min.css by ~55KiB. I can
probably remove more once I look closer at what we are using.
2020-12-28 12:31:20 +02:00
f5b4eb4499
source/scss/bootstrap.scss: Fix header version
...
Not critical, but can be annoying when you are looking at the CSS
and it shows an older version than you expect.
2020-12-28 12:12:39 +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
40c902ae8a
Run npm update
continuous-integration/drone/push Build is passing
2020-12-21 09:58:13 +02:00
450aa912f0
Revert "Use Roboto for body text"
...
continuous-integration/drone/push Build is passing
This reverts commit bd97c3eb3b
.
It turns out that this is actually an issue with the native font
stack in Bootstrap v5. Roboto is still in the font stack, but they
added `system-ui` to the beginning of the list and there is some
issue or inconsistency with the system-ui behavior on Linux.
See: https://github.com/twbs/bootstrap/issues/32447
2020-12-12 18:33:43 +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
bd97c3eb3b
Use Roboto for body text
...
continuous-integration/drone/push Build is passing
This is what the native font stack in Bootstrap v4 was using and I
think it looks better than Cantarell in Bootstrap v5 on Linux.
2020-12-12 00:12:46 +02:00
8bcca9be7c
.drone.yml: Fix syntax again...
continuous-integration/drone/push Build is passing
2020-12-10 12:34:56 +02:00
ee1db3b572
.drone.yml: Fix syntax again
...
See: https://docs.drone.io/pipeline/configuration/
2020-12-10 12:33:58 +02:00
312211420f
.drone.yml: Fix multi-pipeline syntax
2020-12-10 12:32:20 +02:00
bc27eb8285
.drone.yml: Build on all current Node.js LTS releases
...
This uses Drone.io's multi-pipeline feature.
See: https://docs.drone.io/pipeline/docker/examples/languages/node/
2020-12-10 12:30:14 +02:00
28ffe4f78e
Add vanilla blog theme
...
continuous-integration/drone/push Build is passing
I forgot to add it to git earlier.
See: https://getbootstrap.com/docs/5.0/examples/blog/blog.css
2020-12-10 10:34:43 +02:00
b1b364cf34
.drone.yml: Try to build with npm
continuous-integration/drone/push Build is failing
2020-12-10 10:33:29 +02:00
a8fd44786d
README.md: Intro text
continuous-integration/drone/push Build is failing
2020-12-09 21:35:36 +02:00
e7f0c48ad0
Add README.md
continuous-integration/drone/push Build is passing
2020-12-09 21:29:51 +02:00
4fe3cebfbc
.drone.yml: Change to trigger CI
continuous-integration/drone/push Build is failing
2020-12-09 16:50:14 +02:00
6b7e332e05
Add .drone.yml
2020-12-09 15:54:21 +02:00
0ac220d453
source/scss: Import vanilla blog.css from Bootstrap example
...
I want to keep a vanilla version of theirs separate from my local
modifications.
2020-12-08 14:18:16 +02:00
674cb7f02e
Regenerate static assets
2020-12-08 10:21:50 +02:00
af205f7d0b
Remove Playfair 900 weight
...
It is not used anywhere.
2020-12-08 10:18:44 +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
48f56114be
layouts/partials/pagination.html: Fix style
...
Bring up to date with current Bootstrap v5 example.
2020-12-07 22:34:22 +02:00
64aa207e59
Regnerate static assets
2020-12-07 22:33:40 +02:00
96f8ac99f4
Use Playfair font with Latin, Latin Extended, and Cyrillic
2020-12-07 22:33:06 +02:00
894c3b72ae
Regenerate static assets
2020-12-07 21:32:52 +02:00
74299d9faa
Bootstrap v5 Beta 1
2020-12-07 21:31:39 +02:00
d41723fa5d
theme.toml: Update link to Bootstrap docs
...
With Bootstrap v5 beta 1 the docs have moved to the main domain.
2020-12-07 19:37:30 +02:00
c0690a1983
Fix blog post images escaping their parents
2020-12-07 16:26:30 +02:00
bcb497d744
layouts: Add container wrapper
2020-12-07 16:17:17 +02:00
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
ace8d97cd8
Adjust git URL
2020-12-07 14:41:02 +02:00
5adf096e51
Update TODO
2020-12-07 14:21:26 +02:00
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
f670020674
Commit basic working example
2020-12-07 14:13:09 +02:00
823c0190bb
Add .gitignore
...
Ignore node_modules for now.
2020-12-07 13:19:12 +02:00
af77e2230f
source/scss/main.scss: Adjust featured card height
...
250 only looks good if you have short titles and descriptions. For
now I will bump this up to 300 and adjust the images in the feature
blocks as well.
2020-12-01 11:21:00 +02:00
912ef7d589
Remove assets/css/style.min.css.map
2020-11-30 17:26:29 +02:00
db7473dc74
package.json: Don't build CSS source map
...
Hugo uses a filname with a fingerprint for cache busting and we can
never know what that is during npm build time, so let's not try. I
don't use the source map anyways...
2020-11-30 17:25:14 +02:00
03072cdc38
Add PostCSS to build process
...
I'm not sure why we need this, but the Bootstrap build uses it and
I would like to follow their lead.
See: https://github.com/twbs/bootstrap/blob/v5.0.0-alpha3/package.json
2020-11-30 15:44:06 +02:00
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
e9918a1c30
source/scss/main.scss: Don't style links in headers
...
We want links in headers to be bold and dark instead of having the
normal blue hyperlink color.
2020-11-30 15:07:25 +02:00
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