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

594 Commits

Author SHA1 Message Date
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
3fc531eb66
Move unreleased changes to 1.6.0 2020-12-05 19:01:52 +02:00
82362818a1
README.md: Add note about new figure shortcode 2020-12-05 18:59:06 +02:00
54f85c3beb
layouts/_default/single.html: Fix for images in the page bundle 2020-12-04 14:09:27 +02:00
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
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
cb81c7818d
CHANGELOG.md: Add note about dart sass 2020-11-30 12:45:04 +02:00
37e48b1e28
Regenerate static assets 2020-11-30 12:42:10 +02:00
39a9a8fd2a
Adjust source/scss for dart sass
Imports are relative to the current file it seems.
2020-11-30 12:41:53 +02:00
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
6dde205d0d
Move unreleased changes to v1.5.1 2020-11-15 11:58:56 +02:00
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
66298fa0ef
package.json: Upgrade to node-sass v5.0.0 2020-11-15 11:56:59 +02:00
a38342b330
Regenerate static assets 2020-11-15 11:36:45 +02:00
6d8df04c19
Upgrade to webpack 5 2020-11-15 11:36:25 +02:00
900bb6468c
CHANGELOG.md: Add note about omitting date 2020-10-29 12:54:33 +03:00
7d40acef85 CHANGELOG.md: Add note about JSON-LD fix 2020-10-29 12:54:03 +03:00
Jeremy Campbell
7dbe547dce Allow content without PublishDate, eliminates extraneous date output. 2020-10-29 12:53:14 +03:00
Jeremy Campbell
43d4fb3d2d Fixed formatting of ld-json keywords list on list.html default 2020-10-29 12:50:49 +03:00
5fe17ee120
.travis.yml: Use Ubuntu 20.04 "Focal" environment 2020-10-29 00:12:57 +03:00
ab444c93b5
Regenerate static assets 2020-10-19 16:26:33 +03:00
eb70aea769
source/scss/bootstrap.scss: Bump version in comment
This can be super confusing when you're looking at CSS.
2020-10-19 16:26:01 +03:00
5b548c730a
Run npm update 2020-10-19 16:25:24 +03:00
2a42864125
package.json: Bootstrap v4.5.3 2020-10-19 16:25:06 +03:00
7f819cfdd1
CHANGELOG.md: Add note about deps 2020-10-09 23:19:34 +03:00
4b2b1617c0
Regenerate static assets 2020-10-09 23:18:48 +03:00
415ae8956c
source/scss/bootstrap.scss: Bump version to 4.5.2
This is only a comment but it shows in the generated CSS and can be
confusing when you are expecting to see one number, but see another.
2020-10-09 23:17:45 +03:00
3987192a31
Run npm update 2020-10-09 23:16:45 +03:00
3254306148
.travis.yml: Node.js 15 isn't released yet
See: https://nodejs.org/en/about/releases/
2020-07-27 15:40:55 +03:00
536dd793fe
.travis.yml: Add current Node.js versions
See: https://nodejs.org/en/about/releases/
2020-07-27 15:38:55 +03:00
9b877752b7
Version 1.5.0 2020-05-17 22:48:58 +03:00
ef714f2192
layouts: Fix error in Haven invocation 2020-05-17 22:45:23 +03:00
d72552cde3
layouts: Update Haven invocation
If the user has configured a cookie consent information URL we will
show it in the banner.
2020-05-17 22:42:56 +03:00
21aab8a79d
README.md: Update Google Analytics description
Now consent is mandatory if you enable Google Analytics.
2020-05-17 22:40:32 +03:00
26f170bfdd
layouts: Test for existence of Google Analytics ID
Previously we showed the Cookie Usage banner if the site's config
had a cookie consent URL specified. As of 2018-05 (GDPR) it makes
more sense to only display this banner if the site has a Google
Analytics ID set. Because we are using Haven for consent manage-
ment we can now inject Google Analytics automatically after the
user has agreed, so we no longer need to use Hugo's internal te-
mplate.
2020-05-17 22:32:12 +03:00
dedea8ccc0
README.md: Update feature description for Google Analytics 2020-05-17 22:26:24 +03:00
006e3f49bd
CHANGELOG.md: Move unreleased changes to v1.5.0 2020-05-17 22:24:52 +03:00
a019ed776f
CHANGELOG.md: Add note about Haven 2020-05-13 14:19:04 +03:00
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
e840f783e7
CHANGELOG: Add unreleased changes 2020-05-13 10:01:18 +03:00
8da96f34ef
Regenerate static assets 2020-05-13 10:00:27 +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
a390958117
Revert ".travis.yml: Use an LXD container instead of VM"
This reverts commit faa3c3cf5b.

Build took over six minutes for each Node.js version because NVM
had to build each from source. So yeah, let's go back to amd64 VMs.
2020-03-30 09:31:34 +03:00
faa3c3cf5b
.travis.yml: Use an LXD container instead of VM
We need to specify OS and Arch in order to use an LXD container in-
stead of a VM. This should theoretically be much faster according
to the Travis docs. Here we are building on arm64 because there is
no amd64 container support right now, but it shouldn't matter beca-
use we are only doing npm build.

See: https://docs.travis-ci.com/user/reference/overview/
2020-03-30 09:16:38 +03:00
bbc5ef18cf
.travis.yml: Don't use Node.js v14
It is not released yet.

See: https://nodejs.org/en/about/releases/
2020-03-29 16:49:49 +03:00
1cb082e1f1
.travis.yml: Update
Remove deprecated sudo, update Node.js versions to current actively
maintained and LTS versions, use Ubuntu 18.04 "Bionic" environment
instead of 16.04 "Xenial".
2020-03-29 16:44:33 +03:00
3a83d4e43e
CHANGELOG.md: Add note about DE i18n strings 2020-03-25 14:18:53 +02:00
Marcel Mellor
3c21de9fcd Added missing language keys DE 2020-03-25 14:16:49 +02:00
ce89342827
exampleSite/config.toml: Show how to override date format 2020-03-22 15:28:33 +02:00