1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-17 17:57:04 +01:00
Commit Graph

87 Commits

Author SHA1 Message Date
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
2845e18f9a
package.json: Run npm update
Minor version bumps to webpack, fontawesome, and node-sass.
2020-05-13 09:58:50 +03:00
8448af2481
Bootstrap v4.5.0
See: https://github.com/twbs/bootstrap/releases/tag/v4.5.0
2020-05-13 09:54:43 +03:00
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
9bbfab2f1b
Version 1.4.2 2020-03-22 11:17:27 +02:00
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
550b5c066d
Run npm update
Brings new versions of rtlcss, webpack, and fontawesome.
2020-03-16 09:46:39 +02:00
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
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
553af337c1
Run npm update
New minor versions of a few libraries.
2020-01-23 19:52:23 +02:00
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
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
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
6117301edd
Bootstrap 4.4.1 2019-12-09 09:37:05 +02:00
80e17a5ffd
Version 1.3.3 2019-12-02 10:25:40 +02:00
7fa92fb2f3
Update node-sass and rtlcss 2019-12-02 10:22:41 +02:00
1aedf82cf8
Bump version to 1.3.2 2019-06-20 14:22:15 +03:00
1faeef487b
Bump version to 1.3.1 2019-05-05 12:37:56 +03:00
d6a099a5cd
package.json: Run npm update 2019-05-05 12:30:15 +03:00
78eb7cf237
package.json: Bump version to 1.3.0 2019-04-22 18:55:15 +03:00
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
974203f6eb
Use rtlcss to make styles appropriate for RTL languages 2019-04-18 22:17:28 +03:00
8ea73321a1
Update dependencies in package.json
To keep in sync with upstream bootstrap dependencies.
2019-04-17 13:58:07 +03:00
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
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
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
3bc7a79a38
package.json: Bump version to 1.1.7 2018-09-12 13:34:53 +03:00
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
ebacf45517
package.json: Version 1.1.6 2018-08-29 12:39:56 +03:00
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
98f68004b4
package.json: Increment version to 1.1.5 2018-08-29 12:27:14 +03:00
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
2981031e4f
package.json: Increment version to 1.1.4 2018-07-25 16:27:53 +03:00
9a88f1943f
Update to Bootstrap v4.1.3 2018-07-25 16:26:54 +03:00
a39781ef6b
package.json: Increment version to 1.1.3 2018-07-25 16:06:08 +03:00
fc3181915d
package.json: Increment version to 1.1.2 2018-07-12 23:23:26 +03:00
1ac4daff45
package.json: Bump Bootstrap to v4.1.2
See: https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/
2018-07-12 23:03:12 +03:00
f4489fd8f4
package.json: Bump node-sass dependency to match Bootstrap's
See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-07-11 16:45:17 +03:00
c84ac4bef8
package.json: Increment version to 1.1.1 2018-05-15 10:08:21 +03:00
792ab342fb
package.json: Update node-sass dependency
To match Bootstrap's.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-05-15 09:54:45 +03:00
36c77a90fd
package.json: Bump Bootstrap to v4.1.1
See: https://blog.getbootstrap.com/2018/04/30/bootstrap-4-1-1/
2018-05-15 09:43:35 +03:00
8f0b2d7b7d
package.json: Increment version to 1.1.0
According to semantic versioning this indicates something larger than
a bug fix release. In this case, the project has moved from Bootstrap
version 4.0.0 to 4.1.0.
2018-04-23 17:58:33 +03:00
b6e5e123c3 Bootstrap 4.0.0 → 4.1.0
See: https://github.com/twbs/bootstrap/issues/25375
2018-04-23 17:46:40 +03:00
3558adaa9a
package.json: Increment version to 1.0.0 2018-04-23 17:45:02 +03:00
59d10fe0c6
package.json: clean-css-cli version 4.1.11 2018-03-16 22:37:25 +02:00
da3d5e22d4
package.json: Bump node-sass version
To match upstream Bootstrap configuration.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-01-27 18:19:28 +02:00
ed5d0376a4
package.json: Bump Bootstrap to 4.0.0
Release announcement: https://blog.getbootstrap.com/2018/01/18/bootstrap-4/
2018-01-27 18:18:21 +02:00
9064e2460d package.json: Bump clean-css-cli to 4.1.10
To match upstream Bootstrap's package.json.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-01-13 11:43:06 +02:00
8051dc80c6 package.json: Bump Bootstrap to v4 beta 3
See the release announcement: https://blog.getbootstrap.com/2017/12/28/bootstrap-4-beta-3/
2018-01-13 11:43:06 +02:00
a37744d9dd
package.json: Bump Bootstrap to v4 Beta 2
See: http://blog.getbootstrap.com/2017/10/19/bootstrap-4-beta-2/
2017-10-27 15:58:51 +02:00