mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
change meta
This commit is contained in:
parent
324e5eefad
commit
cb897b5994
|
|
@ -9,6 +9,7 @@ baseURL = "https://hugo-first.netlify.app"
|
|||
|
||||
[params]
|
||||
logo = "images/logo.svg"
|
||||
snapshot = "/images/home/53.png"
|
||||
|
||||
title = "KubeSphere | The Kubernetes platform tailored for hybrid multicloud"
|
||||
description = "KubeSphere is a distributed operating system managing cloud native applications with Kubernetes as its kernel, and provides plug-and-play architecture for the seamless integration of third-party applications to boost its ecosystem."
|
||||
|
|
|
|||
|
|
@ -7,9 +7,11 @@
|
|||
<meta name="description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with $data.head.description }}{{ . }}{{ end }}{{ end }}">
|
||||
<meta name="keywords" content="{{ with .Params.Keywords }}{{ range $i, $e := . }}{{ if $i }} {{ end }}{{ $e }}{{ end }}{{ else }}{{ with $data.head.keywords }}{{ . }}{{ end }}{{ end }}">
|
||||
|
||||
{{ with .Params.snapshot }}
|
||||
<meta property=”og:image” content="{{ . }}" />
|
||||
{{ end }}
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:title" content="{{ with .Params.Title }}{{ . }}{{ else }}{{ with $data.head.title }}{{ . }}{{ end }}{{ end }}"/>
|
||||
<meta property="og:description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with $data.head.description }}{{ . }}{{ end }}{{ end }}"/>
|
||||
<meta property="og:image" content="{{ with .Params.snapshot }}{{ . }}{{ else }}{{ with .Site.Params.snapshot }}{{ . | absURL }}{{ end }}{{ end }}"/>
|
||||
<meta property="og:url" content="{{ .Permalink }}"/>
|
||||
|
||||
{{- partial "css.html" . -}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue