Commit Graph

519 Commits

Author SHA1 Message Date
Alan Orth 1fdd332862
.build.yml: Use Node.js v12 2020-01-23 20:16:15 +02:00
Alan Orth a5c50f69c2
theme.toml: Increase minimum Hugo version to 0.55
I think the new subresource integrity (SRI) stuff requires this.

See: https://gohugo.io/hugo-pipes/fingerprint/
2020-01-23 20:06:43 +02:00
Alan Orth d2ea109b47
README.md: Update comment about Node.js version
I've been using version 10 for a year or so. Looking at the Node.js
LTS schedule I see that version 12 is the latest LTS release so I
guess I'll start using that locally at least.

See: https://nodejs.org/en/about/releases/
2020-01-23 20:02:38 +02:00
xekon 5c3ffa7868 add summaryLength to example config, for faster learning and prototyping. 2020-01-23 20:01:05 +02:00
Alan Orth 3047cfe356
Regenerate static assets 2020-01-23 19:55:37 +02:00
Alan Orth 44861dfc36
source/scss/bootstrap.scss: Copy new version number
Otherwise it is very confusing because the generated style.css has
the wrong version number.
2020-01-23 19:55:15 +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 63241061dd
layouts/_default/baseof.html: Fix comment about RTL
It's not just Arabic anymore now that I added Farsi strings!
2020-01-23 19:46:21 +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 341bff9891
CHANGELOG.md: Add note about subresource integrity 2020-01-23 19:43:32 +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 6e36b66fab
CHANGELOG.md: Add note about typo in README.md 2020-01-22 09:15:57 +02:00
Alan Orth 90a04b31d4
Merge pull request #118 from xekon/fix-readme
Update README.md
2020-01-22 09:14:39 +02:00
xekon 70c475f490
Update README.md 2020-01-21 15:40:57 -08:00
Alan Orth 1eb8d9009a
CHANGELOG.md: Bootstrap 4.4.1 2019-12-09 10:06:49 +02:00
Alan Orth 293c7dff8c
Regenerate static assets 2019-12-09 09:37:24 +02:00
Alan Orth 6117301edd
Bootstrap 4.4.1 2019-12-09 09:37:05 +02:00
Alan Orth f2dab16881
CHANGELOG.md: Add note about Farsi i18n strings 2019-12-04 09:57:36 +02:00
Alan Orth b2ea655810
layouts: Use right-to-left text for Farsi 2019-12-04 09:56:41 +02:00
Alan Orth df1ec1df21
i18n/fa.yaml: Add Farsi strings 2019-12-04 09:56:26 +02:00
Alan Orth 80e17a5ffd
Version 1.3.3 2019-12-02 10:25:40 +02:00
Alan Orth 14417a8153
CHANGELOG.md: Add unreleased changes 2019-12-02 10:24:42 +02:00
Alan Orth cdf886b4e8
Regenerate static assets 2019-12-02 10:23:49 +02:00
Alan Orth 7fa92fb2f3
Update node-sass and rtlcss 2019-12-02 10:22:41 +02:00
Alan Orth be563c6a9f
CHANGELOG.md: Add notes about new unreleased changes 2019-10-28 13:09:26 +02:00
Alan Orth 41c88a200f
Move content/post to content/posts
This aligns closer to the Hugo Quick Start.

See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/117
See: https://gohugo.io/getting-started/quick-start/#step-4-add-some-content
2019-10-28 13:07:18 +02:00
Alan Orth bcc164bc4a
Merge pull request #117 from sboots/patch-1
Update config.toml
2019-10-28 13:05:08 +02:00
Sean Boots 9d6d5f21c0
Update config.toml
Small fix to correctly set the posts permalink setting
2019-10-27 12:37:34 -07:00
Alan Orth b7059a88dc
CHANGELOG.md: Add note about home link
Thanks to @phofman.

See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/115
2019-10-11 11:15:40 +03:00
Paweł Hofman 92cab738dd Fixed invalid URL if blog is not in domain root 2019-10-11 11:06:23 +03:00
Alan Orth 1aedf82cf8
Bump version to 1.3.2 2019-06-20 14:22:15 +03:00
Alan Orth 7b649e8717
CHANGELOG.md: Move unreleased changes to v1.3.2 2019-06-20 14:22:01 +03:00
Alan Orth 9bf1c85346
CHANGELOG.md: Add note about date formatting fix
Special characters in the unquoted date string get escaped and may
hurt SEO as this causes malformed JSON-lD. Fix contributed by user
@TommySprat.

See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/111
2019-06-20 14:18:11 +03:00
Alan Orth 63e36db2d5
Merge pull request #111 from TommySprat/dateformat-escape-fix
Do not escape characters in formatted date
2019-06-20 14:16:35 +03:00
TommySprat c1b3e978b7 Remove escape characters in formatted date
Without the quotes in the template the '+' character will no longer
needlessly be escaped as '\x2b'
2019-06-13 00:07:36 +02:00
Alan Orth 4ab2e0da8c
package-lock.json: Run npm audit fix
So GitHub stops complaining about security vulnerabilities.
2019-06-05 10:34:08 +03:00
Alan Orth 23203082f6 CHANGELOG.md: Add note about absURL change
See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/110
2019-06-05 10:30:53 +03:00
Alan Orth b4c3e06143
Merge pull request #110 from TommySprat/trailing-slash-agnostic-baseurl
Support baseurl without trailing slash
2019-06-05 10:26:18 +03:00
TommySprat 8da12539f3 Support baseurl without trailing slash 2019-06-04 00:26:09 +02:00
Alan Orth c17a7d229f
CHANGELOG.md: Add note about recents block in sidebar 2019-05-26 10:30:36 +03:00
Alan Orth 26e0a9a259
layouts/partials/recent.html: Only list "Regular" pages
This makes Hugo only list "Regular" pages in the sidebar. Otherwise
if you have very few posts, for example, you might see one entry in
the list called "Posts".

See: https://gohugo.io/functions/where/#mainsections
2019-05-26 10:28:31 +03:00
Alan Orth 1faeef487b
Bump version to 1.3.1 2019-05-05 12:37:56 +03:00
Alan Orth 8d6b318a63
CHANGELOG.md: Move unreleased changes to v1.3.1 2019-05-05 12:36:17 +03:00
Alan Orth cca6636809
CHANGELOG.md: Add note about package.json 2019-05-05 12:30:56 +03:00
Alan Orth d6a099a5cd
package.json: Run npm update 2019-05-05 12:30:15 +03:00
Alan Orth 70e79a60fa
CHANGELOG.md: Add note about Twitter link 2019-05-05 12:21:37 +03:00
Alan Orth ed69bec464
layouts: Update Twitter sharing link
Use the new (?) sharing intent and add the page title as Tweet text.
2019-05-05 12:20:21 +03:00
Alan Orth aed40fe2d3
CHANGELOG.md: Add note about SourceHut CI 2019-04-23 16:48:50 +03:00
Alan Orth 81c64c55dd
README.md: Add SourceHut build badge 2019-04-23 16:48:02 +03:00