-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial content for new k8up site Signed-off-by: Tobias Brunner <[email protected]> * github action to deploy to pages Signed-off-by: Tobias Brunner <[email protected]> * yaml is hard Signed-off-by: Tobias Brunner <[email protected]> * try speedup 1 Signed-off-by: Tobias Brunner <[email protected]> * insource hugo theme - not using git submodules this allows for local changes Signed-off-by: Tobias Brunner <[email protected]> * Revert "insource hugo theme - not using git submodules" This reverts commit 23823d0. Signed-off-by: Tobias Brunner <[email protected]> * insource part 1 Signed-off-by: Tobias Brunner <[email protected]> * insource hugo theme Signed-off-by: Tobias Brunner <[email protected]> * insource part 42 Signed-off-by: Tobias Brunner <[email protected]> * insource part 42.42 Signed-off-by: Tobias Brunner <[email protected]> * no list on startpage Signed-off-by: Tobias Brunner <[email protected]> * add env for gh pages dev Signed-off-by: Tobias Brunner <[email protected]> * Revert "add env for gh pages dev" This reverts commit 17591d3. Signed-off-by: Tobias Brunner <[email protected]> --------- Signed-off-by: Tobias Brunner <[email protected]>
- Loading branch information
Showing
183 changed files
with
23,545 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Deploy Hugo site to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: ["k8up-landing"] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
HUGO_VERSION: 0.124.1 | ||
steps: | ||
- name: Install Hugo CLI | ||
run: | | ||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ | ||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v5 | ||
- name: Setup NPM Caching | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
- name: Install Node.js dependencies | ||
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" | ||
- name: Build with Hugo | ||
env: | ||
HUGO_ENVIRONMENT: production | ||
HUGO_ENV: production | ||
run: | | ||
hugo \ | ||
--minify \ | ||
--baseURL "${{ steps.pages.outputs.base_url }}/" | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./public | ||
|
||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Define CSS variables | ||
:root { | ||
--condensed-font-family: "Oswald", "Impact", "Arial Black", sans-serif, -apple-system, BlinkMacSystemFont, Roboto, | ||
Ubuntu; | ||
--rounded-font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, Roboto, | ||
Ubuntu, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
|
||
--text-color: var(--black); | ||
--black: #000000; | ||
--white: #ffffff; | ||
--link-color: var(--primary-600); | ||
--menu-link-color: var(--black); | ||
--menu-link-color-hover: var(--gray-800); | ||
--footer-link-color: var(--white); | ||
--footer-link-color-hover: var(--primary-400); | ||
--gutter: 25px; | ||
--container-width: 1200px; | ||
--content-width: 895px; | ||
|
||
--primary-400: #1A5CE6; | ||
--primary-600: #a08794; | ||
--primary-700: #1A5CE6; | ||
--primary-800: #bb7e8c; | ||
|
||
--gray-200: #eaecf0; | ||
--gray-300: #e5e5e5; | ||
--gray-400: #e4e4e4; | ||
--gray-600: #b1b1b1; | ||
--gray-700: #767676; | ||
--gray-800: #5f6367; | ||
} | ||
|
||
// Define SCSS variables. | ||
$desktop-width: calc(1200px + 25px + 25px); | ||
$min-desktop: 1000px; | ||
$mobile-max: 999px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,57 @@ | ||
en: | ||
languageName: English | ||
weight: 1 | ||
### copyright (markdown can be used) ### | ||
copyright: "Copyright © {{< current_year >}} Company Name. All Rights Reserved. [Dot Org Theme](https://github.com/cncf/dot-org-hugo-theme) for Hugo by [CNCF](https://www.cncf.io)." | ||
title: "Site Title" | ||
description: "Site Description" | ||
copyright: "Copyright © K8up Authors {{< current_year >}}. Documentation distributed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) -- Copyright © {{< current_year >}} The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our [Trademark Usage](https://www.linuxfoundation.org/legal/trademark-usage) page. -- [Dot Org Theme](https://github.com/cncf/dot-org-hugo-theme) for Hugo by [CNCF](https://www.cncf.io)." | ||
title: "K8up - Kubernetes Backup Operator" | ||
description: "Kubernetes Backup Operator" | ||
params: | ||
### accessibility ### | ||
accessibility: | ||
skip_text: "Skip to content" | ||
help_text: "Accessibility Statement" | ||
help_url: "/example-page/" | ||
### calls to action ### | ||
main_cta: | ||
text: "Join" | ||
link: "/example-page/" | ||
text: "Getting Started" | ||
link: "https://k8up.io/k8up/2.8/tutorials/tutorial.html" | ||
footer_cta: | ||
text: "Join us" | ||
link: "/example-page/" | ||
text: "GitHub" | ||
link: "https://github.com/k8up-io/" | ||
github_edit: "Edit this page on GitHub" | ||
### example menu showing children ### | ||
|
||
menu: | ||
main: | ||
- identifier: "about" | ||
name: "About" | ||
url: "/example-page/" | ||
weight: 1 | ||
- identifier: "child-1" | ||
name: "Example Child Page" | ||
url: "/example-page/" | ||
weight: 1 | ||
post: "Lorem ipsum dolor sit amet consectetuer adipiscing elit aenean commodo." | ||
parent: "about" | ||
- identifier: "child-2" | ||
name: "Example Child Page" | ||
url: "/example-page/" | ||
weight: 2 | ||
post: "Aenean commodo ligula get dolor. Aenean massa." | ||
parent: "about" | ||
- identifier: "child-3" | ||
name: "Example Child Page" | ||
url: "/example-page/" | ||
weight: 3 | ||
post: "Nulla consequat massa quis enim. Donec pede justo." | ||
parent: "about" | ||
- identifier: "example" | ||
name: "Example" | ||
url: "/example-page/" | ||
weight: 2 | ||
- identifier: "example-1" | ||
name: "Example Child Page" | ||
url: "/example-page/" | ||
weight: 1 | ||
post: "Lorem ipsum dolor sit amet consectetuer adipiscing elit aenean commodo." | ||
parent: "example" | ||
- identifier: "example-2" | ||
name: "Example Child Page" | ||
url: "/example-page/" | ||
weight: 2 | ||
post: "Nulla consequat massa quis enim. Donec pede justo." | ||
parent: "example" | ||
- identifier: "example-3" | ||
name: "Example Child Page" | ||
url: "/example-page/" | ||
weight: 3 | ||
post: "Aenean commodo ligula get dolor. Aenean massa. " | ||
parent: "example" | ||
- identifier: "demo-page" | ||
name: "Demo Page" | ||
url: "/demo-page/" | ||
weight: 3 | ||
- identifier: "faq" | ||
name: "FAQs" | ||
url: "/faq/" | ||
weight: 4 | ||
- identifier: "blog" | ||
name: "Blog" | ||
url: "/blog/" | ||
weight: 5 | ||
es: | ||
languageName: Spanish | ||
contentDir: content/es | ||
weight: 2 | ||
title: "Título del Sitio" | ||
description: "Descripción del Sitio" | ||
menu: | ||
main: | ||
- identifier: "about" | ||
name: "Acerca de" | ||
url: "/example-page/" | ||
weight: 1 | ||
- identifier: "child-1" | ||
name: "Página Hija de Ejemplo" | ||
url: "/example-page/" | ||
weight: 1 | ||
parent: "about" | ||
- identifier: "faq" | ||
name: "FAQs" | ||
url: "/faq/" | ||
weight: 3 | ||
- identifier: "blog" | ||
name: "Blog" | ||
url: "/blog/" | ||
weight: 2 | ||
- identifier: "docs" | ||
name: "Documentation" | ||
url: "https://docs.k8up.io/" | ||
weight: 1 | ||
- identifier: "community" | ||
name: "Community" | ||
weight: 2 | ||
- identifier: "about" | ||
name: "About" | ||
url: "/community/" | ||
weight: 1 | ||
parent: "community" | ||
- identifier: "contrib" | ||
name: "Contribution Guide" | ||
url: "/contrib/" | ||
weight: 2 | ||
parent: "community" | ||
- identifier: "coc" | ||
name: "Code of Conduct" | ||
url: "/coc/" | ||
weight: 3 | ||
parent: "community" | ||
- identifier: "security" | ||
name: "Vulnerability Reporting" | ||
url: "/vulnerabilities/" | ||
weight: 4 | ||
parent: "community" | ||
- identifier: "visual" | ||
name: "Visual Design" | ||
url: "/visual/" | ||
weight: 5 | ||
parent: "community" | ||
- identifier: "github" | ||
name: "GitHub" | ||
url: "https://github.com/k8up-io/k8up" | ||
weight: 3 | ||
- identifier: "roadmap" | ||
name: "Roadmap" | ||
url: "https://github.com/k8up-io/k8up/milestones" | ||
weight: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
######################## development configuration #################### | ||
# The base URL of your site (required). This will be prepended to all relative URLs. | ||
baseURL: http://localhost:1313/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.