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
Alan Orth
912ef7d589
Remove assets/css/style.min.css.map
2020-11-30 17:26:29 +02:00
Alan Orth
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
Alan Orth
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
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
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
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