-
-
+
+
+ {{ partial "taxonomy_terms_clouds.html" . }}
+
{{ partial "version-banner.html" . }}
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
@@ -27,4 +29,4 @@
{{ partial "scripts.html" . }}
-
\ No newline at end of file
+
diff --git a/layouts/resources/list.html b/layouts/resources/list.html
index 23dba0c51..e2679fb2f 100644
--- a/layouts/resources/list.html
+++ b/layouts/resources/list.html
@@ -1,10 +1,13 @@
{{ define "main" }}
{{ .Title }}
- {{ with .Params.description }}
{{ . | markdownify }}
{{ end }}
- {{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
- {{ partial "reading-time.html" . }}
- {{ end }}
+ {{ with .Params.description }}
{{ . | markdownify }}
{{ end }}
+
+ {{ partial "taxonomy_terms_article_wrapper.html" . }}
+ {{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
+ {{ partial "reading-time.html" . }}
+ {{ end }}
+
{{ .Content }}
{{ partial "section-index.html" . }}
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
@@ -15,5 +18,6 @@
{{ .Title }}
{{ partial "disqus-comment.html" . }}
{{ end }}
+ {{ partial "page-meta-lastmod.html" . }}
{{ end }}
diff --git a/layouts/resources/single.html b/layouts/resources/single.html
index 00cb3ab91..49bb662ad 100644
--- a/layouts/resources/single.html
+++ b/layouts/resources/single.html
@@ -1,3 +1,3 @@
{{ define "main" }}
{{ .Render "content" }}
-{{ end }}
\ No newline at end of file
+{{ end }}
diff --git a/netlify.toml b/netlify.toml
index 9d220e338..2f456b9ba 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -4,6 +4,7 @@ command = "make production-build"
[build.environment]
HUGO_VERSION = "0.124.0"
+NODE_VERSION = "20.16.0"
HUGO_ENV = "production"
[context.deploy-preview]
diff --git a/package-lock.json b/package-lock.json
index 170188a4d..09d11208a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,12 +7,24 @@
"": {
"name": "contributor-site",
"version": "0.0.1",
- "license": "ISC",
+ "license": "Apache-2.0",
"devDependencies": {
"autoprefixer": "^9.7.6",
+ "docsy": "github:google/docsy#semver:0.5.1",
"postcss-cli": "^7.1.0"
}
},
+ "node_modules/@fortawesome/fontawesome-free": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.2.0.tgz",
+ "integrity": "sha512-CNR7qRIfCwWHNN7FnKUniva94edPdyQzil/zCwk3v6k4R6rR2Fr8i4s3PM7n/lyfPA6Zfko9z5WDzFxG9SW1uQ==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "(CC-BY-4.0 AND OFL-1.1 AND MIT)",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
@@ -175,6 +187,27 @@
"node": ">=8"
}
},
+ "node_modules/bootstrap": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.6.2.tgz",
+ "integrity": "sha512-51Bbp/Uxr9aTuy6ca/8FbFloBUJZLHwnhTcnjIeRn2suQWsWzcuJhGjKDB5eppVte/8oCdOL3VuwxvZDUggwGQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "jquery": "1.9.1 - 3",
+ "popper.js": "^1.16.1"
+ }
+ },
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@@ -376,6 +409,15 @@
"node": ">=8"
}
},
+ "node_modules/docsy": {
+ "version": "0.5.1",
+ "resolved": "git+ssh://git@github.com/google/docsy.git#f27daed90073fb74ca3afdc0250910abcfaa6bea",
+ "dev": true,
+ "dependencies": {
+ "@fortawesome/fontawesome-free": "6.2.0",
+ "bootstrap": "4.6.2"
+ }
+ },
"node_modules/electron-to-chromium": {
"version": "1.3.412",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.412.tgz",
@@ -716,6 +758,14 @@
"node": ">=0.12.0"
}
},
+ "node_modules/jquery": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
+ "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true
+ },
"node_modules/js-yaml": {
"version": "3.13.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
@@ -954,6 +1004,19 @@
"node": ">=4"
}
},
+ "node_modules/popper.js": {
+ "version": "1.16.1",
+ "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz",
+ "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==",
+ "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"node_modules/postcss": {
"version": "7.0.27",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.27.tgz",
diff --git a/package.json b/package.json
index 8a576a4f5..e986b4118 100644
--- a/package.json
+++ b/package.json
@@ -2,10 +2,9 @@
"name": "contributor-site",
"version": "0.0.1",
"description": "Kubernetes Contributor Site",
- "main": "none.js",
- "dependencies": {},
"devDependencies": {
"autoprefixer": "^9.7.6",
+ "docsy": "github:google/docsy#semver:0.5.1",
"postcss-cli": "^7.1.0"
},
"scripts": {
@@ -15,8 +14,8 @@
"type": "git",
"url": "git+https://github.com/kubernetes-sigs/contributor-site.git"
},
- "author": "",
- "license": "ISC",
+ "author": "The Kubernetes Authors",
+ "license": "Apache-2.0",
"bugs": {
"url": "https://github.com/kubernetes-sigs/contributor-site/issues"
},
diff --git a/themes/docsy b/themes/docsy
deleted file mode 160000
index 25f73360d..000000000
--- a/themes/docsy
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 25f73360dc4b72c7606531b37edace0417b40858