- {{ partial "under-construction-tmp" }} + {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} {{ with .Params.Category}}
{{ upper . }}
{{ end }} {{ block "main" . }}{{ end }} diff --git a/website/layouts/_default/search.html b/website/layouts/_default/search.html index bbd1ecf8a..c778147c4 100644 --- a/website/layouts/_default/search.html +++ b/website/layouts/_default/search.html @@ -55,7 +55,7 @@

{{ .Title }}

var newUrl = baseUrl + "?" + urlParams.toString(); // Update the browser history (optional) - window.history.pushState({}, null, newUrl); + history.replaceState(null, '', newUrl); } diff --git a/website/netlify.toml b/website/netlify.toml index dff064dd4..a06d774ac 100644 --- a/website/netlify.toml +++ b/website/netlify.toml @@ -6,7 +6,7 @@ ignore = "exit 1" [build.environment] NODE_VERSION = "18.16.1" -HUGO_VERSION = "0.115.2" +HUGO_VERSION = "0.128.0" [context.production.environment] HUGO_ENV = "production" diff --git a/website/package-lock.json b/website/package-lock.json index 4fcf435a6..3a00ccb18 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -4,10 +4,9 @@ "requires": true, "packages": { "": { - "name": "website", "dependencies": { "autoprefixer": "^10.4.0", - "hugo-extended": "^0.115.2", + "hugo-extended": "^0.127.0", "postcss": "^8.4.31", "postcss-cli": "^9.1.0" } @@ -1000,9 +999,9 @@ } }, "node_modules/hugo-extended": { - "version": "0.115.4", - "resolved": "https://registry.npmjs.org/hugo-extended/-/hugo-extended-0.115.4.tgz", - "integrity": "sha512-sZQ+melq3ZDUeKhOoz/ElpS/5LA77F2z8RllGPsi/OPt3otexMSucunTvZzjLuoebaHW/g11DgMmlx1CPgYvLA==", + "version": "0.127.0", + "resolved": "https://registry.npmjs.org/hugo-extended/-/hugo-extended-0.127.0.tgz", + "integrity": "sha512-TDjizLf8cUpkRPkHXeDq3rZJKSAUdguV7KPddOZrclNcnL1QQh/9BgKddCZP0+4/nolPOb6GI+2LhIehfjrUHw==", "hasInstallScript": true, "dependencies": { "careful-downloader": "^3.0.0", @@ -1014,7 +1013,7 @@ "hugo-extended": "lib/cli.js" }, "engines": { - "node": ">=14.14" + "node": ">=16.14" } }, "node_modules/ieee754": { diff --git a/website/package.json b/website/package.json index ad98809ca..26a5f7175 100644 --- a/website/package.json +++ b/website/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "autoprefixer": "^10.4.0", - "hugo-extended": "^0.115.2", + "hugo-extended": "^0.127.0", "postcss": "^8.4.31", "postcss-cli": "^9.1.0" } diff --git a/website/themes/docsy/assets/scss/_logo.scss b/website/themes/docsy/assets/scss/_logo.scss new file mode 100644 index 000000000..67566e964 --- /dev/null +++ b/website/themes/docsy/assets/scss/_logo.scss @@ -0,0 +1,3 @@ +img[alt="Cloud Native Security Logo"] { + max-width: 500px; +} \ No newline at end of file diff --git a/website/themes/docsy/assets/scss/_table.scss b/website/themes/docsy/assets/scss/_table.scss new file mode 100644 index 000000000..c23d0acdb --- /dev/null +++ b/website/themes/docsy/assets/scss/_table.scss @@ -0,0 +1,5 @@ +#tag-security-publications ~ table { + td:nth-child(4) { + white-space: nowrap; + } +} \ No newline at end of file diff --git a/website/themes/docsy/assets/scss/main.scss b/website/themes/docsy/assets/scss/main.scss index 4a3c44610..f85d894ba 100644 --- a/website/themes/docsy/assets/scss/main.scss +++ b/website/themes/docsy/assets/scss/main.scss @@ -26,6 +26,8 @@ @import "blocks/blocks"; @import "section-index"; @import "pageinfo"; +@import "table"; +@import "logo"; @if $td-enable-google-fonts { @import url($web-font-path); diff --git a/website/themes/docsy/userguide/package-lock.json b/website/themes/docsy/userguide/package-lock.json index 88f75f003..d4adc3d85 100644 --- a/website/themes/docsy/userguide/package-lock.json +++ b/website/themes/docsy/userguide/package-lock.json @@ -67,12 +67,23 @@ "dev": true }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" + }, + "dependencies": { + "fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + } } }, "browserslist": { @@ -175,15 +186,6 @@ "reusify": "^1.0.4" } }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, "fraction.js": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz",