Refactors: moving <head> from baseof.html to header.html

This commit is contained in:
Huy Tran 2018-07-05 07:41:00 +10:00
parent 76cb6c2dee
commit 786b75e558
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,6 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ block "header" . -}}{{- end }}
</head>
<body class="{{- if .Site.Params.themeColor }}{{ .Site.Params.themeColor }}{{ end }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
{{ partial "sidebar.html" . }}
<div class="content container">

View file

@ -1,4 +1,5 @@
<link href="http://gmpg.org/xfn/11" rel="profile">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{ "<!-- Enable responsiveness on mobile devices -->" | safeHTML }}
@ -43,3 +44,4 @@
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{- end }}
</head>