Skip to content

Commit

Permalink
Update website domain
Browse files Browse the repository at this point in the history
  • Loading branch information
rootsongjc committed Jan 7, 2025
1 parent 1162c89 commit c58dc6b
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 184 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
publish_dir: ./public
# keep_files: true
publish_branch: master
cname: cloudnative.to
cname: cloudnativecn.com
31 changes: 15 additions & 16 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/

title: '云原生社区(中国)' # Website name
baseURL: 'https://cloudnative.to' # Website URL
baseURL: 'https://cloudnativecn.com' # Website URL

############################
## PAGE OPTIONS
############################

cascade:
# Docs folder options
- _target:
path: /community/**
editable: true
show_breadcrumb: true

# Docs folder options
- _target:
path: /community/**
editable: true
show_breadcrumb: true

############################
## LANGUAGE
Expand All @@ -33,8 +32,8 @@ removePathAccents: true

#module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5

############################
## ADVANCED
Expand All @@ -47,15 +46,15 @@ pagination:
enableEmoji: false
enableRobotsTXT: true
footnotereturnlinkcontents: <sup>^</sup>
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
ignoreFiles: [ \.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$ ]
permalinks:
authors: '/author/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
disableAliases: false
outputs:
home: [HTML, RSS, JSON, WebAppManifest]
section: [HTML, RSS]
home: [ HTML, RSS, JSON, WebAppManifest ]
section: [ HTML, RSS ]
imaging:
resampleFilter: lanczos
quality: 75
Expand All @@ -73,10 +72,10 @@ related:
includeNewer: true
toLower: true
indices:
- name: tags
weight: 100
- name: categories
weight: 70
- name: tags
weight: 100
- name: categories
weight: 70
security:
_merge: deep
sitemap:
Expand Down
84 changes: 40 additions & 44 deletions config/_default/menus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,43 @@
# The weight parameter defines the order that the links will appear in.

main:
- name: 小组
identifier: sig
weight: 3
- name: Kubernetes Gateway API SIG
parent: sig
weight: 1
url: "k8s-gateway-api"
- name: 资料
identifier: docs
weight: 31
- name: Envoy 中文文档
parent: docs
weight: 1
url: "https://cloudnative.to/envoy/"
- name: Kubebuilder 中文文档
parent: docs
weight: 2
url: "https://cloudnative.to/kubebuilder/"
- name: 云原生资料库
parent: docs
weight: 3
url: "https://lib.jimmysong.io/"
- name: Istio 中文文档
parent: docs
weight: 4
url: "https://istio.io/latest/zh/"
- name: 活动
url: event
weight: 40
- name: 社区
url: community
weight: 1
- name: 博客
url: blog
weight: 2
- name: 更新
url: '#feed'
weight: 60
- name: 标签
url: "#tags"
weight: 65
- name: 关于
url: "#about"
weight: 70
- name: 小组
identifier: sig
weight: 3
- name: Kubernetes Gateway API SIG
parent: sig
weight: 1
url: "k8s-gateway-api"
- name: 资料
identifier: docs
weight: 31
- name: Envoy 中文文档
parent: docs
weight: 1
url: "https://cloudnativecn.com/envoy/"
- name: Kubebuilder 中文文档
parent: docs
weight: 2
url: "https://cloudnativecn.com/kubebuilder/"
- name: 云原生资料库
parent: docs
weight: 3
url: "https://istio.io/latest/zh/"
- name: 活动
url: event
weight: 40
- name: 社区
url: community
weight: 1
- name: 博客
url: blog
weight: 2
- name: 更新
url: '#feed'
weight: 60
- name: 标签
url: "#tags"
weight: 65
- name: 关于
url: "#about"
weight: 70
Loading

0 comments on commit c58dc6b

Please sign in to comment.