summaryrefslogtreecommitdiff
path: root/themes/new_theme/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/new_theme/layouts/partials/header.html')
-rw-r--r--themes/new_theme/layouts/partials/header.html36
1 files changed, 6 insertions, 30 deletions
diff --git a/themes/new_theme/layouts/partials/header.html b/themes/new_theme/layouts/partials/header.html
index 8dff6e7..4548177 100644
--- a/themes/new_theme/layouts/partials/header.html
+++ b/themes/new_theme/layouts/partials/header.html
@@ -1,30 +1,6 @@
-<!DOCTYPE html>
-<html lang="{{ .Site.LanguageCode | default "en-us" }}">
-<head>
-<meta charset="UTF-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<title>{{ .Title }}</title>
-{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
-{{ .Hugo.Generator }}
-{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
-<link rel="dns-prefetch" href="//fonts.googleapis.com" />
-{{ if .RSSLink }}<link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }} Feed" href="{{ .RSSLink }}">{{ end }}
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700" type="text/css" media="all" />
-<link rel="stylesheet" href="{{ .Site.BaseURL }}css/magstyle.css" type="text/css" media="all" />
-<link rel="stylesheet" href="{{ .Site.BaseURL }}css/localstyle.css" type="text/css" media="all" />
-<script type="text/javascript" src="{{ .Site.BaseURL }}js/scripts.js"></script>
-</head>
-<body class="body {{ if (.Site.Params.leftsidebar) or (.Params.leftsidebar) }}body-left-sidebar{{ else }}body-right-sidebar{{ end }} mobile" itemscope="itemscope" itemtype="http://schema.org/WebPage">
- <div class="container container-outer">
- <header class="header" itemscope="itemscope" itemtype="http://schema.org/WPHeader">
- <div class="container container-inner clearfix">
- <div class="logo" role="banner" itemscope="itemscope" itemtype="http://schema.org/Brand">
- <a class="logo__link" href="{{ .Site.BaseURL }}" title="{{ .Site.Title }}" rel="home">
- <h1 class="logo__title">{{ .Site.Params.toptitle }}</h1>
- {{ with .Site.Params.subtitle }}<h2 class="logo__tagline">{{ . }}</h2>{{ end }}
- </a>
- </div>
- </div>
- {{ partial "menu.html" . }}
- </header>
- <div class="wrapper clearfix">
+<header class="header">
+ <div class="container header__container">
+ {{ partial "logo.html" . }}
+ {{ partial "menu.html" . }}
+ </div>
+</header>