feat: new style and faster

This commit is contained in:
Dillon
2019-08-12 01:36:19 +08:00
parent a8bb44da3a
commit 9433736ede
75 changed files with 2330 additions and 4364 deletions

View File

@@ -80,15 +80,10 @@
}
},
{{ end }}
{{ if .Params.author }}
{{ if .Site.Author.Name }}
"author": {
"@type": "Person",
"name": "{{ .Params.author }}"
},
{{ else if .Site.Author.name }}
"author": {
"@type": "Person",
"name": "{{ .Site.Author.name }}"
"name": "{{ .Site.Author.Name }}"
},
{{ end }}
"description": "{{ .Description }}"