diff --git a/content/_partners/_index.md b/content/_partners/_index.md index ca03031f..2a99113c 100644 --- a/content/_partners/_index.md +++ b/content/_partners/_index.md @@ -1,3 +1,7 @@ --- -headless: true +cascade: + build: + list: never + publishResources: false + render: never --- diff --git a/content/drafts/_index.md b/content/drafts/_index.md new file mode 100644 index 00000000..6d31c4cb --- /dev/null +++ b/content/drafts/_index.md @@ -0,0 +1,4 @@ +--- +cascade: + draft: true +--- diff --git a/content/drafts/events.md b/content/drafts/events.md index 6a726050..61905ef1 100644 --- a/content/drafts/events.md +++ b/content/drafts/events.md @@ -1,7 +1,6 @@ --- title: Events | RAPIDS description: Upcoming and past RAPIDS events -draft: true # TODO: remove body_class once CSS is refactored and scoped properly body_class: landing-page layout: events diff --git a/content/drafts/rsn.md b/content/drafts/rsn.md index a62d757f..71f2604b 100644 --- a/content/drafts/rsn.md +++ b/content/drafts/rsn.md @@ -1,7 +1,6 @@ --- title: RAPIDS Support Notices | RAPIDS description: RAPIDS Developer and Support Notices -draft: true # TODO: remove body_class once CSS is refactored and scoped properly body_class: landing-page layout: rsn diff --git a/content/drafts/templates.md b/content/drafts/templates.md index 47a38979..9b693f37 100644 --- a/content/drafts/templates.md +++ b/content/drafts/templates.md @@ -1,7 +1,6 @@ --- title: Site Template | RAPIDS description: Design guides for rapids.ai -draft: true # TODO: remove body_class once CSS is refactored and scoped properly body_class: landing-page layout: templates diff --git a/hugo.yaml b/hugo.yaml index ecd726bc..899a3b28 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -8,7 +8,7 @@ services: ID: G-RKXFW6CM42 disableKinds: [taxonomy, term] - +enableGitInfo: true sitemap: changefreq: monthly filename: sitemap.xml diff --git a/netlify.toml b/netlify.toml index 78d0cf90..6f930f0b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,14 +4,10 @@ command = "./build.sh" [build.environment] GO_VERSION = "1.21.3" -HUGO_VERSION = "0.121.1" +HUGO_VERSION = "0.124.1" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" -# Build drafts on PR previews -[context.deploy-preview] - command = "./build.sh --buildDrafts" - # Setting HUGO_ENV != "production" prevents # Google Analytics from being loaded on PR previews [context.deploy-preview.environment] diff --git a/vercel.sh b/vercel.sh index 57250d61..fbd048e1 100755 --- a/vercel.sh +++ b/vercel.sh @@ -26,7 +26,7 @@ install_dependencies() { echo "installing hugo" # TODO: move hugo version to its own file so it can be easily parsed by devcontainer # init scripts and renovate can update it. - HUGO_VERSION="0.121.1" + HUGO_VERSION="0.124.1" HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" curl -sSL "${HUGO_URL}" | tar -zx -C "${INSTALL_PREFIX}/bin"