0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-06 04:08:22 +01:00

Update hugo-bin to v0.43.1 (Hugo 0.55.1). (#28631)

This commit is contained in:
XhmikosR 2019-04-15 11:49:24 +03:00 committed by GitHub
parent 09a70e3717
commit 80dfee9dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 89 additions and 51 deletions

131
package-lock.json generated
View File

@ -5366,15 +5366,15 @@
} }
}, },
"hugo-bin": { "hugo-bin": {
"version": "0.42.0", "version": "0.43.1",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.42.0.tgz", "resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.43.1.tgz",
"integrity": "sha512-GlPU2cmRLMPFJ6tkHIbsCDS3myWEA803pSV39/71476dUKkVoaKAqPoXI+OFB92TBc+k4Svc037VhODdITpBdQ==", "integrity": "sha512-TslmiaQPLVoz+AB7afztyybe2qZWxK6hF0Y0uTdD5HMfO7Q0KqykFa1JOJk1W3n2ORqpJ8RYMQECNfpX9MTbKA==",
"dev": true, "dev": true,
"requires": { "requires": {
"bin-wrapper": "^4.1.0", "bin-wrapper": "^4.1.0",
"pkg-conf": "^2.1.0", "pkg-conf": "^3.1.0",
"rimraf": "^2.6.3", "rimraf": "^2.6.3",
"signale": "^1.3.0" "signale": "^1.4.0"
} }
}, },
"iconv-lite": { "iconv-lite": {
@ -8072,56 +8072,32 @@
} }
}, },
"pkg-conf": { "pkg-conf": {
"version": "2.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz",
"integrity": "sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg=", "integrity": "sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"find-up": "^2.0.0", "find-up": "^3.0.0",
"load-json-file": "^4.0.0" "load-json-file": "^5.2.0"
}, },
"dependencies": { "dependencies": {
"find-up": { "load-json-file": {
"version": "2.1.0", "version": "5.3.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz",
"integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==",
"dev": true, "dev": true,
"requires": { "requires": {
"locate-path": "^2.0.0" "graceful-fs": "^4.1.15",
"parse-json": "^4.0.0",
"pify": "^4.0.1",
"strip-bom": "^3.0.0",
"type-fest": "^0.3.0"
} }
}, },
"locate-path": { "pify": {
"version": "2.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
"integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
"dev": true,
"requires": {
"p-locate": "^2.0.0",
"path-exists": "^3.0.0"
}
},
"p-limit": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
"integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
"dev": true,
"requires": {
"p-try": "^1.0.0"
}
},
"p-locate": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
"integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
"dev": true,
"requires": {
"p-limit": "^1.1.0"
}
},
"p-try": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
"integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
"dev": true "dev": true
} }
} }
@ -9440,6 +9416,61 @@
"chalk": "^2.3.2", "chalk": "^2.3.2",
"figures": "^2.0.0", "figures": "^2.0.0",
"pkg-conf": "^2.1.0" "pkg-conf": "^2.1.0"
},
"dependencies": {
"find-up": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
"integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
"dev": true,
"requires": {
"locate-path": "^2.0.0"
}
},
"locate-path": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
"integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
"dev": true,
"requires": {
"p-locate": "^2.0.0",
"path-exists": "^3.0.0"
}
},
"p-limit": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
"integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
"dev": true,
"requires": {
"p-try": "^1.0.0"
}
},
"p-locate": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
"integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
"dev": true,
"requires": {
"p-limit": "^1.1.0"
}
},
"p-try": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
"integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
"dev": true
},
"pkg-conf": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz",
"integrity": "sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg=",
"dev": true,
"requires": {
"find-up": "^2.0.0",
"load-json-file": "^4.0.0"
}
}
} }
}, },
"sinon": { "sinon": {
@ -10620,6 +10651,12 @@
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
"dev": true "dev": true
}, },
"type-fest": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz",
"integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==",
"dev": true
},
"type-is": { "type-is": {
"version": "1.6.16", "version": "1.6.16",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz",

View File

@ -125,7 +125,7 @@
"glob": "^7.1.3", "glob": "^7.1.3",
"hammer-simulator": "0.0.1", "hammer-simulator": "0.0.1",
"http-server": "^0.11.1", "http-server": "^0.11.1",
"hugo-bin": "^0.42.0", "hugo-bin": "^0.43.1",
"ip": "^1.1.5", "ip": "^1.1.5",
"jquery": "^3.3.1", "jquery": "^3.3.1",
"karma": "^4.0.1", "karma": "^4.0.1",

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content=""> <meta name="description" content="">
<meta name="author" content="{{ .Site.Params.authors }}"> <meta name="author" content="{{ .Site.Params.authors }}">
<meta name="generator" content="Hugo {{ .Hugo.Version }}"> <meta name="generator" content="Hugo {{ hugo.Version }}">
<title>{{ .Page.Title | markdownify }} · {{ .Site.Title | markdownify }}</title> <title>{{ .Page.Title | markdownify }} · {{ .Site.Title | markdownify }}</title>
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">

View File

@ -6,7 +6,7 @@
</form> </form>
<nav class="collapse bd-links" id="bd-docs-nav" aria-label="Main navigation"> <nav class="collapse bd-links" id="bd-docs-nav" aria-label="Main navigation">
{{- $url := split .URL "/" -}} {{- $url := split .Permalink "/" -}}
{{- $page_slug := index $url (sub (len $url) 2) -}} {{- $page_slug := index $url (sub (len $url) 2) -}}
{{- range $group := .Site.Data.nav -}} {{- range $group := .Site.Data.nav -}}

View File

@ -2,7 +2,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ index .Page.Params "description" | default .Site.Params.description | markdownify }}"> <meta name="description" content="{{ index .Page.Params "description" | default .Site.Params.description | markdownify }}">
<meta name="author" content="{{ .Site.Params.authors }}"> <meta name="author" content="{{ .Site.Params.authors }}">
<meta name="generator" content="Hugo {{ .Hugo.Version }}"> <meta name="generator" content="Hugo {{ hugo.Version }}">
<meta name="docsearch:language" content="en"> <meta name="docsearch:language" content="en">
<meta name="docsearch:version" content="{{ .Site.Params.docs_version }}"> <meta name="docsearch:version" content="{{ .Site.Params.docs_version }}">

View File

@ -1,3 +1,4 @@
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
{{- range .Data.Pages -}}{{ if ne .Params.sitemap_exclude true }} {{- range .Data.Pages -}}{{ if ne .Params.sitemap_exclude true }}
<url> <url>