浏览代码

Merge pull request #5 from benkiefer/master

blog header is displaying twice. Should be consistent with other pages
tags/v1.0.0
Mehedi Sharif Titas 6 年前
父节点
当前提交
b0eb4e9d4c
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 2
    2
      layouts/partials/blog.html
  2. 5
    5
      layouts/partials/header.html

+ 2
- 2
layouts/partials/blog.html 查看文件



{{"<!-- section title -->" | safeHTML}} {{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeInDown"> <div class="title text-center wow fadeInDown">
<h2> {{ with .Site.Data.blog.heading }} {{ . }} {{ end }} <span class="color"> {{ with .Site.Data.blog.heading }} {{ . }} {{ end }} </span></h2>
<h2> {{ with .Site.Data.blog.heading }} {{ . }} {{ end }} <span class="color"> {{ with .Site.Data.blog.headingSpan }} {{ . }} {{ end }} </span></h2>
<div class="border"></div> <div class="border"></div>
</div> </div>
{{"<!-- /section title -->" | safeHTML}} {{"<!-- /section title -->" | safeHTML}}
</div> </div>
</section> </section>
{{"<!-- /blog -->" | safeHTML}} {{"<!-- /blog -->" | safeHTML}}
{{ end }}
{{ end }}

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

<!DOCTYPE html> <!DOCTYPE html>
<html class="no-js" lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}"> <html class="no-js" lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head> <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 }} {{ "<!-- Mobile Specific Meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
{{ .Hugo.Generator }} {{ .Hugo.Generator }}


</head> </head>
{{"<!-- body start -->" | safeHTML}} {{"<!-- 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>

正在加载...
取消
保存