feat: Update deploy
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
|
||||
{{ partial "twitter_card.html" . }}
|
||||
|
||||
<meta property="og:title" content="{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<meta property="og:title" content="{{ if ne .Permalink "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
<meta property="og:description" content="{{ .Site.Params.description }}" />
|
||||
{{ end }}
|
||||
|
||||
<title>{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}</title>
|
||||
<title>{{ if ne .Permalink "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}</title>
|
||||
|
||||
{{ if .IsPage }}
|
||||
<meta name="description" content="{{ .Description | default (substr .Summary 0 160) }}" />
|
||||
@ -67,14 +67,14 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<link href="{{.Site.Params.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{else}}
|
||||
{{ if ne .URL "/" }}
|
||||
{{ if ne .Permalink "/" }}
|
||||
<link href="{{ "index.xml" | relURL}}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
{{if .IsNode}}
|
||||
<link href="{{.RSSLink}}" rel="alternate" type="application/rss+xml" title="{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ if ne .Permalink "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{.Hugo.Generator}}
|
||||
{{ hugo.Generator }}
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
|
||||
|
Reference in New Issue
Block a user