diff --git a/.drone.yml b/.drone.yml
index 473e868..d2e58b2 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -56,13 +56,22 @@ steps:
strip_prefix: lhci_reports/dist/
target: /${DRONE_REPO_NAME}
when:
- ref:
- - refs/heads/master
- - refs/tags/**
status:
- failure
- success
+- name: page-validation-link
+ image: thegeeklab/drone-github-comment
+ settings:
+ api_key:
+ from_secret: github_token
+ key: pr-${DRONE_PULL_REQUEST}
+ message: lhci_reports/dist/summary.md
+ update: true
+ when:
+ ref:
+ - refs/pull/**
+
trigger:
ref:
- refs/heads/master
@@ -234,6 +243,6 @@ depends_on:
---
kind: signature
-hmac: d4a14c67312952bf2cba2f41bf5f2b5b7bc2b576bc2ff7cea2aa5442afb673a6
+hmac: aed300317299ce213f8f6369180d0563514592592ab4221299f3410d4f9d0ef3
...
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4cd634e..6e156d8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,2 +1,14 @@
- ENHANCEMENT
- add node `gulp` script to package.json
+ - remove `title` and set empty `alt` tag on branding image
+ - add minimal working CSS for printing
+ - split out mobile CSS
+ - load static css/js assets from data template:
+ This way users can hash static assets and overwrite the data template
+ to deliver the hashed assets. Thats helpful if you have to deal with
+ long cache settings but wont to ensure your updated assets are delivered
+ to clients.
+- BUGFIX
+ - use relative URL's for fonts
+- INTERNAL
+ - publish Lighthouse CI overwiew to PR's
diff --git a/data/assets.json b/data/assets.json
new file mode 100644
index 0000000..20a527d
--- /dev/null
+++ b/data/assets.json
@@ -0,0 +1,8 @@
+{
+ "main.min.css": "main.min.css",
+ "mobile.min.css": "mobile.min.css",
+ "print.min.css": "print.min.css",
+ "custom.css": "custom.css",
+ "js/clipboard.min.js": "js/clipboard.min.js",
+ "js/mermaid.min.js": "js/mermaid.min.js"
+}
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index de23886..2b5e342 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -5,6 +5,7 @@ theme: hugo-geekblog
pygmentsUseClasses: true
pygmentsCodeFences: true
enableGitInfo: true
+timeout: 60000
paginate: 5
diff --git a/exampleSite/content/posts/getting-started.md b/exampleSite/content/posts/getting-started.md
index a4e9847..5b6fe50 100644
--- a/exampleSite/content/posts/getting-started.md
+++ b/exampleSite/content/posts/getting-started.md
@@ -127,7 +127,7 @@ To prepare your new site environment just a few steps are required:
If you want to add some demo data you could use the content from the [Hugo basic example](https://github.com/gohugoio/hugoBasicExample):
```Shell
- curl -L https://github.com/gohugoio/hugoBasicExample/archive/master.tar.gz | tar -xz --exclude "config*" --exclude "LICENSE" --exclude "README*" --strip-components=1
+ curl -L https://github.com/gohugoio/hugoBasicExample/archive/master.tar.gz | tar -xz --exclude "config*" --exclude "LICENSE" --exclude "README*" --strip-components=1
```
### Option 1: Download pre-build release bundle
diff --git a/gulpfile.js b/gulpfile.js
index 64ef523..fe30645 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -17,7 +17,7 @@ var TIMESTAMP = Math.round(Date.now() / 1000);
gulp.task("sass", function () {
return gulp
- .src("src/sass/main.scss")
+ .src("src/sass/{main,print,mobile}.scss")
.pipe(sass({ errLogToConsole: true }))
.pipe(cleanCSS({ format: "beautify" }))
.pipe(
diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html
index 79349b8..db37bb0 100644
--- a/layouts/partials/foot.html
+++ b/layouts/partials/foot.html
@@ -1,5 +1,5 @@
{{ if default true .Site.Params.GeekblogAnchorCopy }}
-
+
+