Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix headless _partners bundle #404

Merged
merged 5 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion content/_partners/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
headless: true
cascade:
build:
list: never
publishResources: false
render: never
---
4 changes: 4 additions & 0 deletions content/drafts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
cascade:
draft: true
---
1 change: 0 additions & 1 deletion content/drafts/events.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion content/drafts/rsn.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion content/drafts/templates.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
ID: G-RKXFW6CM42

disableKinds: [taxonomy, term]

enableGitInfo: true
sitemap:
changefreq: monthly
filename: sitemap.xml
Expand Down
6 changes: 1 addition & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion vercel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down