Commit Graph

56 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 a15f8898e0
Regenerate static assets
continuous-integration/drone/push Build is passing Details
2021-02-12 20:46:38 +02:00
Alan Orth 9a4287b8f8
package.json: Change URL 2021-02-12 20:37:54 +02:00
Alan Orth e312bc4106
source/scss/bootstrap.scss: Update version comment
It's confusing to know you've updated the Bootstrap version and see
a different one when looking at generated CSS.
2021-02-12 20:36:24 +02:00
Alan Orth 81b4a58140
Run npm update
Bootstrap 5.0.0-beta2 and sass 1.32.7
2021-02-12 20:33:49 +02:00
Alan Orth 7649ececee
Run npm update
continuous-integration/drone/push Build is passing Details
2021-01-19 22:33:56 +02:00
Alan Orth bcac5b43fc
Run npm update
continuous-integration/drone/push Build is passing Details
2021-01-06 21:07:14 +02:00
Alan Orth c9b3c5ba38
source/scss/bootstrap.scss: Trim more unused imports
continuous-integration/drone/push Build is passing Details
2020-12-31 09:08:06 +02:00
Alan Orth 00c28cfbea
Run npm update 2020-12-31 09:07:42 +02:00
Alan Orth 17f8037b1c
layouts/partials/pagination.html: Rework buttons
continuous-integration/drone/push Build is passing Details
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
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 b524043127
layouts/partials/featured.html: Orientation 6
continuous-integration/drone/push Build is passing Details
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
Alan Orth 0f275cbee6
assets/css/style.min.css: Regenerate static assets 2020-12-28 12:32:18 +02:00
Alan Orth 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
Alan Orth 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
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 40c902ae8a
Run npm update
continuous-integration/drone/push Build is passing Details
2020-12-21 09:58:13 +02:00
Alan Orth 450aa912f0
Revert "Use Roboto for body text"
continuous-integration/drone/push Build is passing Details
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
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 ce27c4e6a1
layouts/partials/featured.html: Fix logic
continuous-integration/drone/push Build is passing Details
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
Alan Orth bd97c3eb3b
Use Roboto for body text
continuous-integration/drone/push Build is passing Details
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
Alan Orth 8bcca9be7c
.drone.yml: Fix syntax again...
continuous-integration/drone/push Build is passing Details
2020-12-10 12:34:56 +02:00
Alan Orth ee1db3b572
.drone.yml: Fix syntax again
See: https://docs.drone.io/pipeline/configuration/
2020-12-10 12:33:58 +02:00
Alan Orth 312211420f
.drone.yml: Fix multi-pipeline syntax 2020-12-10 12:32:20 +02:00
Alan Orth 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
Alan Orth 28ffe4f78e
Add vanilla blog theme
continuous-integration/drone/push Build is passing Details
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
Alan Orth b1b364cf34
.drone.yml: Try to build with npm
continuous-integration/drone/push Build is failing Details
2020-12-10 10:33:29 +02:00
Alan Orth a8fd44786d
README.md: Intro text
continuous-integration/drone/push Build is failing Details
2020-12-09 21:35:36 +02:00
Alan Orth e7f0c48ad0
Add README.md
continuous-integration/drone/push Build is passing Details
2020-12-09 21:29:51 +02:00
Alan Orth 4fe3cebfbc
.drone.yml: Change to trigger CI
continuous-integration/drone/push Build is failing Details
2020-12-09 16:50:14 +02:00
Alan Orth 6b7e332e05
Add .drone.yml 2020-12-09 15:54:21 +02:00
Alan Orth 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
Alan Orth 674cb7f02e
Regenerate static assets 2020-12-08 10:21:50 +02:00
Alan Orth af205f7d0b
Remove Playfair 900 weight
It is not used anywhere.
2020-12-08 10:18:44 +02:00
Alan Orth 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
Alan Orth 48f56114be
layouts/partials/pagination.html: Fix style
Bring up to date with current Bootstrap v5 example.
2020-12-07 22:34:22 +02:00
Alan Orth 64aa207e59
Regnerate static assets 2020-12-07 22:33:40 +02:00
Alan Orth 96f8ac99f4
Use Playfair font with Latin, Latin Extended, and Cyrillic 2020-12-07 22:33:06 +02:00
Alan Orth 894c3b72ae
Regenerate static assets 2020-12-07 21:32:52 +02:00
Alan Orth 74299d9faa
Bootstrap v5 Beta 1 2020-12-07 21:31:39 +02:00
Alan Orth 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
Alan Orth c0690a1983
Fix blog post images escaping their parents 2020-12-07 16:26:30 +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 ace8d97cd8
Adjust git URL 2020-12-07 14:41:02 +02:00
Alan Orth 5adf096e51
Update TODO 2020-12-07 14:21:26 +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 823c0190bb
Add .gitignore
Ignore node_modules for now.
2020-12-07 13:19:12 +02:00
Alan Orth 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