diff options
author | Michael Blum <me@mblum.me> | 2020-04-12 21:20:36 +0300 |
---|---|---|
committer | Michael Blum <me@mblum.me> | 2020-04-12 21:20:36 +0300 |
commit | d19c44b4db036910e14d3e4650ffe5060e956271 (patch) | |
tree | 56739f3855d8f7efb8e747355db81276ebf9a985 | |
parent | 148d47d7f3983127689f807b6a989b5b98243bdf (diff) |
patch github-flagged JS security vuls + update theme to be Hugo v0.70-compatible
-rw-r--r-- | layouts/partials/header.html | 1 | ||||
-rw-r--r-- | layouts/project/list.html | 6 | ||||
-rw-r--r-- | 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 @@ <base href="{{ .Site.BaseURL }}"> <title>{{ .Title }}</title> <link rel="canonical" href="{{ .Permalink }}"> - {{ if .RSSLink }}<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />{{ end }} {{ partial "includes.html" . }} </head> 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" . }} <div class="container"> <section class="section"> - {{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }} + {{ $paginator := .Paginate (where site.RegularPages "Type" "project") }} {{ range sort $paginator.Pages }} <article> <div class="card"> @@ -13,8 +13,8 @@ {{ partial "tags" .Params.tags }} {{ end }} <p class="card-text">{{ .Params.description }}</p> - <a href="#" class="card-link">{{ .Params.website }}</a> - <a href="#" class="card-link">{{ .Params.repo }}</a> + <a href="{{ .Params.website }}" class="card-link">{{ .Params.website }}</a> + <a href="{{ .Params.repo }}" class="card-link">{{ .Params.repo }}</a> </div> </div> </article> 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": { |