Commit Graph

102 Commits

Author SHA1 Message Date
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 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 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 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 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 3fc531eb66
Move unreleased changes to 1.6.0 2020-12-05 19:01:52 +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 66298fa0ef
package.json: Upgrade to node-sass v5.0.0 2020-11-15 11:56:59 +02:00
Alan Orth 6d8df04c19
Upgrade to webpack 5 2020-11-15 11:36:25 +02:00
Alan Orth 5b548c730a
Run npm update 2020-10-19 16:25:24 +03:00
Alan Orth 2a42864125
package.json: Bootstrap v4.5.3 2020-10-19 16:25:06 +03:00
Alan Orth 3987192a31
Run npm update 2020-10-09 23:16:45 +03:00
Alan Orth 9b877752b7
Version 1.5.0 2020-05-17 22:48:58 +03:00
Alan Orth 3b360d2eef
Use haven for GDPR popup instead of cookieconsent
Haven is newer and more well maintained (and also it is actually
open source instead of open core with an upsell to a paid subscrip-
tion). Haven is configured to be 100% *opt-in* for Google Analytics,
which means it does not load or send a hit until the user agrees.

This is mostly a drop-in replacement, but translations need to make
sure the following strings are updated:

- cookieAccept
- cookieDecline
2020-05-13 13:19:41 +03:00
Alan Orth 2845e18f9a
package.json: Run npm update
Minor version bumps to webpack, fontawesome, and node-sass.
2020-05-13 09:58:50 +03:00
Alan Orth 8448af2481
Bootstrap v4.5.0
See: https://github.com/twbs/bootstrap/releases/tag/v4.5.0
2020-05-13 09:54:43 +03:00
Alan Orth 320ee71b75
Update to cookieconsent 3.1.1
In my minimal testing this works for the default popup.
2020-03-22 15:09:01 +02:00
Alan Orth 9bbfab2f1b
Version 1.4.2 2020-03-22 11:17:27 +02:00
Alan Orth 9e0b00038a
Version 1.4.1
And oops, I had forgotten to bump the version in package.json for
v1.4.0.
2020-03-19 15:29:30 +02:00
Alan Orth 550b5c066d
Run npm update
Brings new versions of rtlcss, webpack, and fontawesome.
2020-03-16 09:46:39 +02:00
Alan Orth 3ab60bddea
Use Font Awesome SVGs via JavaScript
This is a bit of "one step forward, two steps back" in that we are
now using the much more lean SVG icons—and only the ones we are ac
tually using—instead of having to download the two ~70KiB web font
files, but it means we need to use JavaScript.

This approache was inspired by the work @xekon did in #127.

See: https://fontawesome.com/how-to-use/on-the-web/advanced/svg-javascript-core
See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/127
2020-01-27 18:17:35 +02:00
Alan Orth 4c5ce590f2
Update to Font Awesome 5
Nothing really new as far as how we're using Font Awesome, but it is
good to keep up with the times and the tooling. Users that have used
custom fonts in their content or layouts will need to update their
icon prefixes from "fa" to "fas" or "fab" depending on which font
their icon comes from.

See: https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4
2020-01-25 21:20:44 +02:00
Alan Orth 553af337c1
Run npm update
New minor versions of a few libraries.
2020-01-23 19:52:23 +02:00
Alan Orth 13449f1519
package.json: Fix typo in build script
This builds the right-to-left version of the stylesheet (RTL).
2020-01-23 19:44:54 +02:00
Alan Orth c41364cf19
Remove custom generatesri tooling
We are now using Hugo's built in SRI support, which is magical and
seamless, and also gives us the bonus of acting as a cache buster.
2020-01-23 19:40:49 +02:00
Alan Orth 44e8c677a6
Use Hugo's built-in subresource integrity support
We can use Hugo's built-in SRI support instead of using our custom
SRI generator script (as cool as it was at the time). This is more
clean and gives us the added benefit of adding fingerprints to the
CSS and JS filenames, which acts as a cache buster.

See: https://gohugo.io/hugo-pipes/introduction/
See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/120
2020-01-23 19:34:21 +02:00
Alan Orth 6117301edd
Bootstrap 4.4.1 2019-12-09 09:37:05 +02:00
Alan Orth 80e17a5ffd
Version 1.3.3 2019-12-02 10:25:40 +02:00
Alan Orth 7fa92fb2f3
Update node-sass and rtlcss 2019-12-02 10:22:41 +02:00
Alan Orth 1aedf82cf8
Bump version to 1.3.2 2019-06-20 14:22:15 +03:00
Alan Orth 1faeef487b
Bump version to 1.3.1 2019-05-05 12:37:56 +03:00
Alan Orth d6a099a5cd
package.json: Run npm update 2019-05-05 12:30:15 +03:00
Alan Orth 78eb7cf237
package.json: Bump version to 1.3.0 2019-04-22 18:55:15 +03:00
Alan Orth 6a3bdc53fd
Add right-to-left version of CSS
This uses rtlcss to make a right-to-left version of the CSS and then
utilizes Hugo's Language variable to conditionally include it. Also,
we set the "dir" attribute on the HTML tag if the currently rendered
language is Arabic.
2019-04-18 22:19:42 +03:00
Alan Orth 974203f6eb
Use rtlcss to make styles appropriate for RTL languages 2019-04-18 22:17:28 +03:00
Alan Orth 8ea73321a1
Update dependencies in package.json
To keep in sync with upstream bootstrap dependencies.
2019-04-17 13:58:07 +03:00
Alan Orth dedf1bd62c
package.json: Bump version to 1.2.1
It looks like I forgot to do this for a few releases.
2019-04-14 16:30:30 +03:00
Alan Orth af05f26a36 Update to Bootstrap v4.3.1
See: https://blog.getbootstrap.com/2019/02/11/bootstrap-4-3-0/
2019-02-13 18:40:17 +02:00
Alan Orth 3b0a3a1ddc
package.json: Update devDependencies
Synchronize with upstream, see:

https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-12-19 13:18:04 +02:00
Alan Orth 3bc7a79a38
package.json: Bump version to 1.1.7 2018-09-12 13:34:53 +03:00
Alan Orth d26cb4cf55
Change license from GPL-3.0 to CC-BY-3.0
It seems as if I was never actually allowed to license this as GPL
from the start because the example HTML layouts I based this theme
on are part of the Bootstrap documentation, which are CC-BY-3.0.

See: https://v4-alpha.getbootstrap.com/examples/
2018-09-12 13:32:36 +03:00
Alan Orth ebacf45517
package.json: Version 1.1.6 2018-08-29 12:39:56 +03:00
Alan Orth 3dd1a958a8
package.json: Pin cookieconsent to version 3.0.4 for now
It looks like they made many updates in version 3.1.0 and I haven't
tested it yet.
2018-08-29 12:38:24 +03:00
Alan Orth 98f68004b4
package.json: Increment version to 1.1.5 2018-08-29 12:27:14 +03:00
Alan Orth b83065eb7d
package.json: Bump dependency versions
I always try to mirror the dependency versions of Bootstrap itself.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-08-29 12:26:36 +03:00
Alan Orth 2981031e4f
package.json: Increment version to 1.1.4 2018-07-25 16:27:53 +03:00
Alan Orth 9a88f1943f
Update to Bootstrap v4.1.3 2018-07-25 16:26:54 +03:00
Alan Orth a39781ef6b
package.json: Increment version to 1.1.3 2018-07-25 16:06:08 +03:00