Compare commits

...

9 Commits

Author SHA1 Message Date
68807b0a97 layouts/_default/summary.html: Minor edit
All checks were successful
continuous-integration/drone/push Build is passing
Adjust post syntax to be the same as Bootstrap's blog example. We
apparently don't use a header anymore.
2021-02-12 20:51:38 +02:00
a15f8898e0 Regenerate static assets
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-12 20:46:38 +02:00
9a4287b8f8 package.json: Change URL 2021-02-12 20:37:54 +02:00
e312bc4106 source/scss/bootstrap.scss: Update version comment
It's confusing to know you've updated the Bootstrap version and see
a different one when looking at generated CSS.
2021-02-12 20:36:24 +02:00
81b4a58140 Run npm update
Bootstrap 5.0.0-beta2 and sass 1.32.7
2021-02-12 20:33:49 +02:00
7649ececee Run npm update
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-19 22:33:56 +02:00
bcac5b43fc Run npm update
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-06 21:07:14 +02:00
c9b3c5ba38 source/scss/bootstrap.scss: Trim more unused imports
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-31 09:08:06 +02:00
00c28cfbea Run npm update 2020-12-31 09:07:42 +02:00
5 changed files with 50 additions and 52 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +1,8 @@
{{ $dateFormat := default "Mon Jan 2, 2006" (index .Site.Params "date_format") }} {{ $dateFormat := default "Mon Jan 2, 2006" (index .Site.Params "date_format") }}
<article class="blog-post"> <article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2> <h2 class="blog-post-title" dir="auto"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
<p class="blog-post-meta"><time {{ .Date.Format "2006-01-02T15:04:05Z07:00" | printf "datetime=%q" | safeHTMLAttr }}>{{ .Date.Format $dateFormat }}</time> by {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} in {{ partial "meta-terms.html" . }}{{ end }}</p> <p class="blog-post-meta"><time {{ .Date.Format "2006-01-02T15:04:05Z07:00" | printf "datetime=%q" | safeHTMLAttr }}>{{ .Date.Format $dateFormat }}</time> by {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} in {{ partial "meta-terms.html" . }}{{ end }}</p>
</header>
{{ .Summary }} {{ .Summary }}
<a href='{{ .Permalink }}'>Continue reading...</a> <a href='{{ .Permalink }}'>Continue reading...</a>
</article> <!-- /.blog-post --> </article> <!-- /.blog-post -->

66
package-lock.json generated
View File

@@ -100,15 +100,15 @@
"dev": true "dev": true
}, },
"autoprefixer": { "autoprefixer": {
"version": "10.1.0", "version": "10.2.4",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.1.0.tgz", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.2.4.tgz",
"integrity": "sha512-0/lBNwN+ZUnb5su18NZo5MBIjDaq6boQKZcxwy86Gip/CmXA2zZqUoFQLCNAGI5P25ZWSP2RWdhDJ8osfKEjoQ==", "integrity": "sha512-DCCdUQiMD+P/as8m3XkeTUkUKuuRqLGcwD0nll7wevhqoJfMRpJlkFd1+MQh1pvupjiQuip42lc/VFvfUTMSKw==",
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist": "^4.15.0", "browserslist": "^4.16.1",
"caniuse-lite": "^1.0.30001165", "caniuse-lite": "^1.0.30001181",
"colorette": "^1.2.1", "colorette": "^1.2.1",
"fraction.js": "^4.0.12", "fraction.js": "^4.0.13",
"normalize-range": "^0.1.2", "normalize-range": "^0.1.2",
"postcss-value-parser": "^4.1.0" "postcss-value-parser": "^4.1.0"
} }
@@ -126,9 +126,9 @@
"dev": true "dev": true
}, },
"bootstrap": { "bootstrap": {
"version": "5.0.0-beta1", "version": "5.0.0-beta2",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.0-beta1.tgz", "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.0-beta2.tgz",
"integrity": "sha512-UrHApw/WRmT7l2rlDdn5iXr7Jps/LlMZtJlLn9G41aGDfss48hyDeYyHtX1C6NHKVcmdUarGG+ve0LZB5iHyTQ==", "integrity": "sha512-e+uPbPHqTQWKyCX435uVlOmgH9tUt0xtjvyOC7knhKgOS643BrQKuTo+KecGpPV7qlmOyZgCfaM4xxPWtDEN/g==",
"dev": true "dev": true
}, },
"brace-expansion": { "brace-expansion": {
@@ -151,16 +151,16 @@
} }
}, },
"browserslist": { "browserslist": {
"version": "4.16.0", "version": "4.16.3",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.0.tgz", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz",
"integrity": "sha512-/j6k8R0p3nxOC6kx5JGAxsnhc9ixaWJfYc+TNTzxg6+ARaESAvQGV7h0uNOB4t+pLQJZWzcrMxXOxjgsCj3dqQ==", "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-lite": "^1.0.30001165", "caniuse-lite": "^1.0.30001181",
"colorette": "^1.2.1", "colorette": "^1.2.1",
"electron-to-chromium": "^1.3.621", "electron-to-chromium": "^1.3.649",
"escalade": "^3.1.1", "escalade": "^3.1.1",
"node-releases": "^1.1.67" "node-releases": "^1.1.70"
} }
}, },
"call-bind": { "call-bind": {
@@ -180,9 +180,9 @@
"dev": true "dev": true
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001170", "version": "1.0.30001185",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001170.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001185.tgz",
"integrity": "sha512-Dd4d/+0tsK0UNLrZs3CvNukqalnVTRrxb5mcQm8rHL49t7V5ZaTygwXkrq+FB+dVDf++4ri8eJnFEJAB8332PA==", "integrity": "sha512-Fpi4kVNtNvJ15H0F6vwmXtb3tukv3Zg3qhKkOGUq7KJ1J6b9kf4dnNgtEAFXhRsJo0gNj9W60+wBvn0JcTvdTg==",
"dev": true "dev": true
}, },
"chalk": { "chalk": {
@@ -355,9 +355,9 @@
} }
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.3.629", "version": "1.3.663",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.629.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.663.tgz",
"integrity": "sha512-iSPPJtPvHrMAvYOt+9cdbDmTasPqwnwz4lkP8Dn200gDNUBQOLQ96xUsWXBwXslAo5XxdoXAoQQ3RAy4uao9IQ==", "integrity": "sha512-xkVkzHj6k3oRRGlmdgUCCLSLhtFYHDCTH7SeK+LJdJjnsLcrdbpr8EYmfMQhez3V/KPO5UScSpzQ0feYX6Qoyw==",
"dev": true "dev": true
}, },
"emoji-regex": { "emoji-regex": {
@@ -451,9 +451,9 @@
} }
}, },
"fraction.js": { "fraction.js": {
"version": "4.0.12", "version": "4.0.13",
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.0.12.tgz", "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.0.13.tgz",
"integrity": "sha512-8Z1K0VTG4hzYY7kA/1sj4/r1/RWLBD3xwReT/RCrUCbzPszjNQCCsy3ktkU/eaEqX3MYa4pY37a52eiBlPMlhA==", "integrity": "sha512-E1fz2Xs9ltlUp+qbiyx9wmt2n9dRzPsS11Jtdb8D2o+cC7wr9xkkKsVKJuBX0ST+LVS+LhLO+SbLJNtfWcJvXA==",
"dev": true "dev": true
}, },
"fs-extra": { "fs-extra": {
@@ -859,9 +859,9 @@
"dev": true "dev": true
}, },
"node-releases": { "node-releases": {
"version": "1.1.67", "version": "1.1.70",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.70.tgz",
"integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==", "integrity": "sha512-Slf2s69+2/uAD79pVVQo8uSiC34+g8GWY8UH2Qtqv34ZfhYrxpYpfzs9Js9d6O0mbDmALuxaTlplnBTnSELcrw==",
"dev": true "dev": true
}, },
"normalize-package-data": { "normalize-package-data": {
@@ -1003,9 +1003,9 @@
"dev": true "dev": true
}, },
"postcss": { "postcss": {
"version": "8.2.1", "version": "8.2.6",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.1.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.6.tgz",
"integrity": "sha512-RhsqOOAQzTgh1UB/IZdca7F9WDb7SUCR2Vnv1x7DbvuuggQIpoDwjK+q0rzoPffhYvWNKX5JSwS4so4K3UC6vA==", "integrity": "sha512-xpB8qYxgPuly166AGlpRjUdEYtmOWx2iCwGmrv4vqZL9YPVviDVPZPRXxnXr6xPZOdxQ9lp3ZBFCRgWJ7LE3Sg==",
"dev": true, "dev": true,
"requires": { "requires": {
"colorette": "^1.2.1", "colorette": "^1.2.1",
@@ -1192,9 +1192,9 @@
"dev": true "dev": true
}, },
"sass": { "sass": {
"version": "1.30.0", "version": "1.32.7",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.30.0.tgz", "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.7.tgz",
"integrity": "sha512-26EUhOXRLaUY7+mWuRFqGeGGNmhB1vblpTENO1Z7mAzzIZeVxZr9EZoaY1kyGLFWdSOZxRMAufiN2mkbO6dAlw==", "integrity": "sha512-C8Z4bjqGWnsYa11o8hpKAuoyFdRhrSHcYjCr+XAWVPSIQqC8mp2f5Dx4em0dKYehPzg5XSekmCjqJnEZbIls9A==",
"dev": true, "dev": true,
"requires": { "requires": {
"chokidar": ">=2.0.0 <4.0.0" "chokidar": ">=2.0.0 <4.0.0"

View File

@@ -4,7 +4,7 @@
"description": "An elegant and classy Hugo theme based on the Bootstrap v5 blog example.", "description": "An elegant and classy Hugo theme based on the Bootstrap v5 blog example.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.sr.ht/~alanorth/hugo-theme-bootstrap5-blog" "url": "https://git.mjanja.ch/alanorth/hugo-theme-bootstrap5-blog"
}, },
"scripts": { "scripts": {
"css": "npm-run-all css-compile css-prefix css-minify", "css": "npm-run-all css-compile css-prefix css-minify",
@@ -18,12 +18,12 @@
"author": "Alan Orth", "author": "Alan Orth",
"license": "CC-BY-3.0", "license": "CC-BY-3.0",
"devDependencies": { "devDependencies": {
"autoprefixer": "^10.1.0", "autoprefixer": "^10.2.4",
"bootstrap": "^5.0.0-beta1", "bootstrap": "^5.0.0-beta2",
"clean-css-cli": "^4.3.0", "clean-css-cli": "^4.3.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss": "^8.2.1", "postcss": "^8.2.6",
"postcss-cli": "^8.3.1", "postcss-cli": "^8.3.1",
"sass": "^1.30.0" "sass": "^1.32.7"
} }
} }

View File

@@ -1,7 +1,7 @@
/*! /*!
* Bootstrap v5.0.0-beta1 (https://getbootstrap.com/) * Bootstrap v5.0.0-beta2 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors * Copyright 2011-2021 The Bootstrap Authors
* Copyright 2011-2020 Twitter, Inc. * Copyright 2011-2021 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/ */
@@ -19,18 +19,18 @@
@import "../../node_modules/bootstrap/scss/images"; @import "../../node_modules/bootstrap/scss/images";
@import "../../node_modules/bootstrap/scss/containers"; @import "../../node_modules/bootstrap/scss/containers";
@import "../../node_modules/bootstrap/scss/grid"; @import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/tables"; //@import "../../node_modules/bootstrap/scss/tables";
//@import "../../node_modules/bootstrap/scss/forms"; //@import "../../node_modules/bootstrap/scss/forms";
@import "../../node_modules/bootstrap/scss/buttons"; //@import "../../node_modules/bootstrap/scss/buttons";
//@import "../../node_modules/bootstrap/scss/transitions"; //@import "../../node_modules/bootstrap/scss/transitions";
//@import "../../node_modules/bootstrap/scss/dropdown"; //@import "../../node_modules/bootstrap/scss/dropdown";
//@import "../../node_modules/bootstrap/scss/button-group"; //@import "../../node_modules/bootstrap/scss/button-group";
@import "../../node_modules/bootstrap/scss/nav"; //@import "../../node_modules/bootstrap/scss/nav";
@import "../../node_modules/bootstrap/scss/navbar"; //@import "../../node_modules/bootstrap/scss/navbar";
@import "../../node_modules/bootstrap/scss/card"; @import "../../node_modules/bootstrap/scss/card";
//@import "../../node_modules/bootstrap/scss/accordion"; //@import "../../node_modules/bootstrap/scss/accordion";
//@import "../../node_modules/bootstrap/scss/breadcrumb"; //@import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination"; //@import "../../node_modules/bootstrap/scss/pagination";
//@import "../../node_modules/bootstrap/scss/badge"; //@import "../../node_modules/bootstrap/scss/badge";
//@import "../../node_modules/bootstrap/scss/alert"; //@import "../../node_modules/bootstrap/scss/alert";
//@import "../../node_modules/bootstrap/scss/progress"; //@import "../../node_modules/bootstrap/scss/progress";