浏览代码

make the author and description configurable

tags/v1.0.0
Ben Kiefer 6 年前
父节点
当前提交
2bd76d20cf
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      layouts/partials/header.html

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

@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html class="no-js" lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Meghna One page parallax responsive HTML Template ">
<meta name="author" content="Themefisher">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}">
<meta name="author" content="{{ $.Site.Params.author }}">
{{ "<!-- Mobile Specific Meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ .Hugo.Generator }}
@@ -31,4 +31,4 @@

</head>
{{"<!-- body start -->" | safeHTML}}
<body id="body" data-spy="scroll" data-target=".navbar" data-offset="50"></body>
<body id="body" data-spy="scroll" data-target=".navbar" data-offset="50"></body>

正在加载...
取消
保存