diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-06-05 16:57:53 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-06-05 16:57:53 +0200 |
commit | 983b64ca51f5e769f790a5ebc55e3808157b8d94 (patch) | |
tree | 4fb52d8e2f449e44a51ed0549cec9debbcd3d157 /themes/new_theme/layouts/partials/header.html | |
parent | ff7e6bde0be9ac60e694097ce3598f9b552c4807 (diff) | |
download | www-andreasbaumann-cc-983b64ca51f5e769f790a5ebc55e3808157b8d94.tar.gz www-andreasbaumann-cc-983b64ca51f5e769f790a5ebc55e3808157b8d94.tar.bz2 |
updated to newest theme supporting newer hugo versions
Diffstat (limited to 'themes/new_theme/layouts/partials/header.html')
-rw-r--r-- | themes/new_theme/layouts/partials/header.html | 36 |
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> |