Commit Graph

628 Commits

Author SHA1 Message Date
Alan Orth a8ff91e1ea
CHANGELOG.md: Add note about Danish
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2022-07-29 20:15:32 +03:00
Alan Orth 31ee2abcad
Merge pull request #146 from schack/feature_danish_translation
en.yaml translated to Danish
2022-07-29 20:14:07 +03:00
Henrik Schack 915caee6dd en.yaml translated to Danish 2022-07-29 15:06:27 +02:00
Alan Orth 08ae262312
CHANGELOG.md: add note about Bootstrap tables
continuous-integration/drone/push Build is passing Details
2022-07-29 10:09:02 +03:00
Alan Orth b781125ed8
Regenerate static assets 2022-07-29 10:07:28 +03:00
Alan Orth ddcae7c761
package-lock.json: run npm update 2022-07-29 10:07:16 +03:00
Alan Orth b415ee2879
Regenerate static assets 2022-07-29 10:05:11 +03:00
Alan Orth 4260a7e1af
source/scss/bootstrap.scss: enable tables
Requested by a user.

See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/145
2022-07-29 10:03:57 +03:00
Alan Orth a94ebccf3d
Use Node.js 14 instead of 12
continuous-integration/drone/push Build is passing Details
2022-06-07 09:36:46 +03:00
Alan Orth 54d3242633
CHANGELOG.md: update notes
continuous-integration/drone/push Build is passing Details
2021-10-18 15:03:01 +03:00
Alan Orth 1d4204a404
Regenerate static assets 2021-10-18 14:53:45 +03:00
Alan Orth 985070b311
package.json: update cleancss options
We use -O1 instead of --level 1 now.
2021-10-18 14:52:55 +03:00
Alan Orth 2e40f6cd69
Update npm dependencies 2021-10-18 14:52:43 +03:00
Alan Orth 99f1a6725c
Regenerate static assets
continuous-integration/drone/push Build is passing Details
2021-09-15 09:59:40 +03:00
Alan Orth 898d91701a
package-lock.json: Run npm update 2021-09-15 09:59:05 +03:00
Alan Orth 40b3fb4979
.drone.yml: Build on Node.js 16
continuous-integration/drone/push Build is passing Details
We want to build on LTS or "current" releases only.

See: https://nodejs.org/en/about/releases/
2021-08-19 16:09:05 +03:00
Alan Orth 5797675dbd
theme.toml: Add demo link
continuous-integration/drone/push Build is passing Details
As of 2021-07-01 the Hugo Themes showcase is no longer building our
themes so we need to include a link to a demo.
2021-07-09 22:36:07 +03:00
Alan Orth 8cdfeb297d
package.json: Run webpack without npx
continuous-integration/drone/push Build is passing Details
This only affects the CI, but the inability to run webpack seems
to have been due to using an older version of npm (v6.14.x), and
now we upgrade npm before install so we don't need this hack.
2021-03-23 11:25:21 +02:00
Alan Orth 7a2ac26879
.drone.yml: Update npm before install and build
continuous-integration/drone/push Build is passing Details
It seems that the issue with not being able to find webpack-cli is
due to some behavior with an older version of npm. My local devel-
opment environment has npm 7.6.x and so does the Node.js 15 conta-
iner, while the Node.js 12 and 14 containers have npm 6.14.x.

Updating npm fixes the issue with `npx webpack` not being able to
find webpack-cli's webpack command (perhaps it installs the peer
dependency automatically, I don't know).
2021-03-23 10:16:02 +02:00
Alan Orth 72fe18fd4d
package.json: Run webpack with npx
continuous-integration/drone/push Build is failing Details
My local dev environment automatically adds ./node_modules/.bin to
the shell PATH, but it seems a better way to do this is to use npx
so that it works here and on the CI.
2021-03-23 09:45:19 +02:00
Alan Orth 085cf9847f
.drone.yml: Run on current and LTS Node.js releases
Node.js v10 will cease to be LTS next month and I haven't even used
it for a while already, so let's change this to only run on 12, 14,
and 15, which are the current active and LTS releases.

See: https://nodejs.org/en/about/releases/
2021-03-23 09:39:40 +02:00
Alan Orth dbc97128f3
package-lock.json: Run npm update
continuous-integration/drone/push Build is failing Details
2021-03-22 13:45:47 +02:00
Alan Orth 5dd511963d
package.json: Only install webpack-cli
We don't explicitly need webpack, as webpack-cli will bring it in
for us.
2021-03-22 13:45:21 +02:00
Alan Orth d24e709cd3
CHANGELOG.md: Minor dependency updates
continuous-integration/drone/push Build is passing Details
2021-01-19 22:11:57 +02:00
Alan Orth 6c30836cc9
Regenerate static assets 2021-01-19 22:10:35 +02:00
Alan Orth ddd2836905
source/scss/bootstrap.scss: Update header
Minor, but can be very confusing when looking at CSS and wondering
why the version is old.
2021-01-19 22:10:04 +02:00
Alan Orth f3a5cf6630
Run npm update
Brings in Bootstrap v4.6.0 as well as a few others.
2021-01-19 22:09:26 +02:00
Alan Orth 1876747063
README.md: Fix link syntax
continuous-integration/drone/push Build is passing Details
2021-01-12 09:25:42 +02:00
Alan Orth 96d6304f09
Remove .travis.yml
continuous-integration/drone/push Build is passing Details
TravisCI changed their business model recently and I realized it is
better to not rely on free cloud services. I am now using a Drone.io
instance on my own infrastructure.
2020-12-10 12:56:02 +02:00
Alan Orth e0c8b5a057
README.md: Use badge from Drone CI 2020-12-10 12:55:37 +02:00
Alan Orth d6ab3cda0a
.drone.yml: Correct npm task
continuous-integration/drone/push Build is passing Details
2020-12-10 12:49:57 +02:00
Alan Orth e1dfe242a6
.travis.yml: Only build on Node.js LTS versions 2020-12-10 12:48:38 +02:00
Alan Orth bfac136c3e
Add .drone.yml for ci.mjanja.ch 2020-12-10 12:48:12 +02:00
Alan Orth 4a922d8657
README.md: Use travis-ci.com domain for badge 2020-12-08 09:07:25 +02:00
Alan Orth 94269648d6
.travis.yml: Try to build on AWS graviton2 instances
These are the second generation of Amazon's ARM-based instances.

See: https://blog.travis-ci.com/2020-09-11-arm-on-aws
2020-12-06 09:54:23 +02:00
Alan Orth 3fc531eb66
Move unreleased changes to 1.6.0 2020-12-05 19:01:52 +02:00
Alan Orth 82362818a1
README.md: Add note about new figure shortcode 2020-12-05 18:59:06 +02:00
Alan Orth 54f85c3beb
layouts/_default/single.html: Fix for images in the page bundle 2020-12-04 14:09:27 +02:00
Alan Orth c6498a4bfb
layouts/partials: Override internal templates for page bundles
The Hugo internal Twitter and OpenGraph templates assume your post
images are in the static directory. This tries to look them up in
the page bundle first and falls back to the Hugo default behavior.
2020-12-04 14:06:47 +02:00
Alan Orth 147ee8cf76
layouts/shortcodes/figure.html: Add srcset support
This overrides Hugo's default figure shortcode to enable img srcset
support, which allows the client to decide which size of image they
want to download based on a CSS media query. During build time Hugo
creates several versions of each image to match several breakpoints.
Unfortunately this only works if the images are in the post's page
bundle, falling back to retrieving images from the static directory
if they aren't found in the bundle.

This shortcode was originally from Charl P. Botha, but I modified
it to automatically rotate images that have orientation EXIF data.

See: https://gohugo.io/content-management/page-bundles/
See: http://www.johann-oberdorfer.eu/blog/2020/01/05/20-01-05_leverage_page_bundles_in_hugo/
See: https://cpbotha.net/2020/05/02/drop-in-replacement-for-hugo-figure-shortcode-with-responsive-img-srcset/
2020-12-04 14:03:29 +02:00
Alan Orth cb81c7818d
CHANGELOG.md: Add note about dart sass 2020-11-30 12:45:04 +02:00
Alan Orth 37e48b1e28
Regenerate static assets 2020-11-30 12:42:10 +02:00
Alan Orth 39a9a8fd2a
Adjust source/scss for dart sass
Imports are relative to the current file it seems.
2020-11-30 12:41:53 +02:00
Alan Orth 64d62a9179
Migrate to dart sass
libsass (and therefore node-sass) is deprecated and dart sass is
recommended.

See: https://sass-lang.com/blog/libsass-is-deprecated
2020-11-30 12:39:54 +02:00
Alan Orth 6dde205d0d
Move unreleased changes to v1.5.1 2020-11-15 11:58:56 +02:00
Alan Orth 28a2013d85
theme.toml: Use picturingjordan.com as homepage
It's more current and it's the one that is using this theme anyway.
2020-11-15 11:57:58 +02:00
Alan Orth 66298fa0ef
package.json: Upgrade to node-sass v5.0.0 2020-11-15 11:56:59 +02:00
Alan Orth a38342b330
Regenerate static assets 2020-11-15 11:36:45 +02:00
Alan Orth 6d8df04c19
Upgrade to webpack 5 2020-11-15 11:36:25 +02:00
Alan Orth 900bb6468c
CHANGELOG.md: Add note about omitting date 2020-10-29 12:54:33 +03:00