浏览代码

minor update

pull/141/head
abhidj0090 4 年前
父节点
当前提交
2a025bb0a0
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      layouts/partials/head.html

+ 5
- 4
layouts/partials/head.html 查看文件

@@ -5,13 +5,14 @@
{{ "<!-- mobile responsive meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
<!-- {{ with site.Params.author }} -->
{{ with site.Params.author }}
<meta name="author" content="{{ . }}">{{ end }}
<!-- {{ hugo.Generator }} -->
{{ hugo.Generator }}

<meta property="og:title" content="{{ .Title }}" />
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}" />
<meta property="og:title" content="{{ .Title }}">
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
<meta property="og:image" content="{{ .image }}" />
<meta property="og:url" content="{{ .Permalink }}">

{{ "<!-- plugins -->" | safeHTML }}
{{ range site.Params.plugins.css }}

正在加载...
取消
保存