From d19c44b4db036910e14d3e4650ffe5060e956271 Mon Sep 17 00:00:00 2001 From: Michael Blum Date: Sun, 12 Apr 2020 13:20:36 -0500 Subject: patch github-flagged JS security vuls + update theme to be Hugo v0.70-compatible --- layouts/partials/header.html | 1 - layouts/project/list.html | 6 +++--- package-lock.json | 12 ++++++------ 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ab96efe..a9ac14c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,7 +12,6 @@ {{ .Title }} - {{ if .RSSLink }}{{ end }} {{ partial "includes.html" . }} diff --git a/layouts/project/list.html b/layouts/project/list.html index 79d0bd8..81a68e7 100644 --- a/layouts/project/list.html +++ b/layouts/project/list.html @@ -2,7 +2,7 @@ {{ partial "nav" . }}
- {{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }} + {{ $paginator := .Paginate (where site.RegularPages "Type" "project") }} {{ range sort $paginator.Pages }}
diff --git a/package-lock.json b/package-lock.json index 4785db7..e32f098 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1485,12 +1485,12 @@ "requires": { "deep-extend": "~0.4.0", "ini": "~1.3.0", - "minimist": "^1.2.0", + "minimist": ">=1.2.3", "strip-json-comments": "~2.0.1" }, "dependencies": { "minimist": { - "version": "1.2.0", + "version": ">=1.2.3", "bundled": true, "dev": true, "optional": true @@ -2738,7 +2738,7 @@ "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": ">=6.0.3" } }, "is-path-cwd": { @@ -3352,7 +3352,7 @@ "filename-regex": "^2.0.0", "is-extglob": "^1.0.0", "is-glob": "^2.0.1", - "kind-of": "^3.0.2", + "kind-of": ">=6.0.3", "normalize-path": "^2.0.1", "object.omit": "^2.0.0", "parse-glob": "^3.0.4", @@ -3980,7 +3980,7 @@ "dev": true, "requires": { "is-number": "^3.0.0", - "kind-of": "^4.0.0" + "kind-of": ">=6.0.3" }, "dependencies": { "is-number": { @@ -3989,7 +3989,7 @@ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": ">=6.0.3" }, "dependencies": { "kind-of": { -- cgit v1.2.3