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

80 Commits

Author SHA1 Message Date
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
2fdc4a382f
Import Bootstrap 4 Beta 1
Bring in new bootstrap.scss and align dependencies in package.json
with upstream's.

See: node_modules/bootstrap/scss/bootstrap.scss
2017-08-11 11:37:40 +03:00
238af4fe43
package.json: Bump versions to match Bootstrap's
See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2017-06-08 09:45:16 +03:00
e97e5983a5
package.json: Bump dependencies to match Bootstrap's
See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2017-04-26 00:02:37 +03:00
0e5937b1b7
package.json: Match node-sass version with Bootstrap
From the package.json used by the Bootstrap project, see:

    https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2017-02-15 14:51:31 +02:00
753d7f4ad9
package.json: Update clean-css and build scripts
Bootstrap had previously been staying with clean-css < 4.0 because
it introduced some backwards incompatible changes[0], but now I see
that they have started using the new version.

I have also updated the npm build scripts to take into account the
name change to "clean-css-cli" as well as the latest minification
options that are being used by Bootstrap themselves[1].

[0] https://github.com/jakubpawlowicz/clean-css#important-40-breaking-changes
[1] https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2017-02-15 12:38:03 +02:00
683755f95d
Add tooling to generate SRI hashes for assets
Subresource integrity allows user agents to verify that a fetched
resource has been delivered without unexpected manipulation[0]. I
put theme assets in a json configuration file and save the hashes
to a TOML file that Hugo loads via its theme data mechanism[1].

[0] https://www.w3.org/TR/SRI/
[1] https://gohugo.io/extras/datafiles/
2017-01-11 10:32:43 +02:00
9ef73ed070 package.json: Bump Bootstrap v4 to alpha 6 2017-01-09 16:54:20 +02:00