File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
tpl/tplimpl/embedded/templates Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
< meta property ="og:title " content ="{{ . }} ">
9
9
{{- end }}
10
10
11
- {{- with or .Description .Summary site.Params.description | plainify | htmlUnescape | chomp }}
12
- < meta property ="og:description " content ="{{ . }} ">
11
+ {{- with or .Description .Summary site.Params.description | plainify | htmlUnescape }}
12
+ < meta property ="og:description " content ="{{ trim . " \n\r\t " }}">
13
13
{{- end }}
14
14
15
15
{{- with or .Params.locale site.Language.LanguageCode }}
Original file line number Diff line number Diff line change 2
2
< meta itemprop ="name " content ="{{ . }} ">
3
3
{{- end }}
4
4
5
- {{- with or .Description .Summary site.Params.description | plainify | htmlUnescape | chomp }}
6
- < meta itemprop ="description " content ="{{ . }} ">
5
+ {{- with or .Description .Summary site.Params.description | plainify | htmlUnescape }}
6
+ < meta itemprop ="description " content ="{{ trim . " \n\r\t " }}">
7
7
{{- end }}
8
8
9
9
{{- $ISO8601 := "2006-01-02T15:04:05-07:00" }}
Original file line number Diff line number Diff line change 10
10
< meta name ="twitter:title " content ="{{ . }} ">
11
11
{{- end }}
12
12
13
- {{- with or .Description .Summary site.Params.description | plainify | htmlUnescape | chomp }}
14
- < meta name ="twitter:description " content ="{{ . }} ">
13
+ {{- with or .Description .Summary site.Params.description | plainify | htmlUnescape }}
14
+ < meta name ="twitter:description " content ="{{ trim . " \n\r\t " }}">
15
15
{{- end }}
16
16
17
17
{{- $twitterSite := "" }}
You can’t perform that action at this time.
0 commit comments