apiVersion: v1 kind: ConfigMap metadata: name: gitea-custom-templates namespace: infra-gitops data: home.tmpl: |- {{template "base/head" .}}

{{AppName}}

Dev.cm - Git {{ctx.Locale.Tr "repository"}}

{{template "base/footer" .}} extra_links.tmpl: |- {{if eq ctx.Locale.Lang "zh-CN"}}博客{{else}}Blog{{end}} Fillcode