diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2017-04-26 16:03:35 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2017-04-26 16:03:35 +0300 |
commit | 8b26f5ab71e282adf8dcaf71bc597fb45d622117 (patch) | |
tree | fde457df81369c55912b842d36fc7e72f1a9e6b4 /layouts/partials | |
parent | 968eac0a9ae7817594b27e3953eafa0dc6c3f9da (diff) |
Clean up some partials
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head.html | 6 | ||||
-rw-r--r-- | layouts/partials/header.html | 8 | ||||
-rw-r--r-- | layouts/partials/meta.html | 5 |
3 files changed, 3 insertions, 16 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8f10932..6354fc2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,10 +1,5 @@ -<head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1"> {{ partial "meta.html" . }} {{ partial "head/seo.html" . }} -{{ .Hugo.Generator }} <title> {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ if eq $url "/" }} @@ -15,4 +10,3 @@ </title> <link rel="canonical" href="{{ .Permalink }}"> {{ partial "head_includes.html" . }} -</head> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7ee927a..2f68b3c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,11 +1,3 @@ -<!DOCTYPE html> -<html lang="{{ .Site.LanguageCode }}"> -{{ partial "head.html" . }} - -<body lang="{{ .Site.Params.Lang }}"> - - - <nav class="navbar fixed-top navbar-toggleable-md navbar-light bg-faded"> <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index da07ef0..41e3b85 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -1,11 +1,12 @@ +<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="utf-8"> -<meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> -<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> {{ if .Description}} <meta name="description" content="{{ .Description }}"> {{ else }} {{ if .Site.Params.Description }}<meta name="description" content="{{ .Site.Params.Description }}"> {{ end }} {{ end }} +{{ .Hugo.Generator }} |