1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
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
efe4f34651
package.json: Update cleancss invocation
The Bootstrap project uses --skip-advanced, so we should too. This
increases the size of style.css by ~4KiB but should be safer.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2017-01-09 12:06:36 +02:00
a637d26d78
package.json: Update node-sass invocation
Since we're using cleancss there is no need to compress or optimize
anything in the node-sass step. Also, the Bootstrap project itself
is using the expanded output style as well so we should too.
2017-01-08 18:25:56 +02:00
89cb2d2b49
package.json: Remove cssnano
Now using clean-css.
2017-01-08 17:59:01 +02:00
aedf9f16db
package.json: Use clean-css to minify
The Bootstrap project itself uses this, so I think we should just
use it as well. As an added bonus we actually even save 2KiB from
the size of the generated style.css.
2017-01-08 17:57:36 +02:00
62f650a1eb
package.json: Peg Bootstrap v4 Alpha 5
Alpha v6 just came out and breaks everything, so let's just peg the
exact version we want for now.
2017-01-07 21:43:41 +02:00
d91a73137f
package.json: Update cookieconsent to 3.0.4 2017-01-04 13:13:52 +02:00
a546fc731e
package.json: Add run script for cookieconsent 2016-11-13 13:42:22 +02:00
3c900b036b
package.json: Add cookieconsent dependency 2016-11-09 16:00:22 +02:00
3c3db93917
package.json: Bump Font Awesome to latest version
See the version 4.7.0 pull request with a change log of sorts:

https://github.com/FortAwesome/Font-Awesome/pull/10012
2016-11-06 22:54:47 +02:00
92f3ff829b
package.json: Bump Bootstrap to Alpha 5
See the release announcement here:

https://blog.getbootstrap.com/2016/10/19/bootstrap-4-alpha-5/
2016-10-19 20:22:45 -07:00
c0caf623d7
package.json: Use npm semver for dev deps
Don't break my shit (~ for bootstrap minor versions) but please
compile my shit faster (latest) for node-sass, and then upgrade
other stuff (^) if possible.
2016-09-28 12:38:32 +03:00
05c962a797
package.json: Add clean task to remove temp style
Ignoring the temporary, intermediate style in .gitignore works for
this project, but the site still ends up with a copy of it in its
public folder. It's better to just clean up the temp file after
successful generation of the minified style.
2016-09-26 10:06:47 +03:00
5ed4b51531
package.json: Add cssnano-cli to dev dependencies
Using cssnano on the command line actually requires this package,
not the `cssnano` one.
2016-09-26 10:01:37 +03:00