File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf-8 ">
5
5
< meta http-equiv ="x-ua-compatible " content ="ie=edge ">
6
- < meta name ="description " content ="{{ . Description }} ">
6
+ < meta name ="description " content ="{{ if ne .URL "/" }}{{ . Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
8
< meta name ="twitter:card " content ="summary ">
9
9
< meta name ="twitter:site " content ="@echo ">
10
10
< meta name ="twitter:title " content ="{{ if ne .URL "/" }}{{ .Title }} | {{ end }}{{ .Site.Title }}">
11
- < meta name ="twitter:description " content ="{{ . Description }} ">
11
+ < meta name ="twitter:description " content ="{{ if ne .URL "/" }}{{ . Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
12
12
< meta name ="twitter:image " content ="{{ .Site.Params.image }} ">
13
13
< meta property ="og:title " content ="{{ if ne .URL "/" }}{{ .Title }} | {{ end }}{{ .Site.Title }}">
14
14
< meta property ="og:site_name " content ="echo ">
15
- < meta property ="og:og:description " content ="{{ . Description }} ">
15
+ < meta property ="og:og:description " content ="{{ if ne .URL "/" }}{{ . Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
16
16
< meta property ="og:url " content ="{{ .Site.BaseURL }} ">
17
17
< meta property ="og:image " content ="{{ .Site.Params.image }} ">
18
18
< title >
You can’t perform that action at this time.
0 commit comments