hugo-tango-theme/layouts/partials/header.html

32 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2018-01-11 09:16:05 +04:00
<!doctype html>
<html lang="{{ .Site.LanguageCode | default " en-us " }}">
<head>
2018-01-13 03:38:00 +04:00
<title>{{ if ne .Page.Title .Site.Title }}{{ .Page.Title }} | {{ .Site.Title }} {{ else }}{{ .Site.Title }}{{ end }}</title>
2018-01-11 09:16:05 +04:00
{{ partial "meta" . }} {{ partial "header_includes" . -}}
</head>
<body>
2018-01-13 03:38:00 +04:00
<section class="section">
<div class="container">
<div class="columns">
<div class="column is-3">
<div class="columns">
<div class="column left-block">
<p class="is-size-3">
<a href="{{ relURL "/" }}">{{ .Site.Title | markdownify }}</a>
</p>
<i class="is-size-6">{{ .Site.Params.description }} </i>
<ul>
{{ range .Site.Menus.main }}
<li>
<a href="{{.URL}}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
2018-01-13 03:38:00 +04:00
</div>
</div>
2018-01-11 09:16:05 +04:00
</div>
2018-01-13 03:38:00 +04:00
<div class="column is-9">
<main>