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

33 lines
1.3 KiB
HTML
Raw 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">
<nav class="panel">
<p class="panel-heading">
</p>
<div class="panel-block">
<div class="media">
<div class="media-content">
<p class="title is-4"><a href="{{ relURL "/" }}">{{ .Site.Title | markdownify }}</a></p>
<p class="subtitle is-5">{{ .Site.Params.description }} </p>
</div>
</div>
</div>
{{ range .Site.Menus.main }}
<a class="panel-block" href="{{.URL}}">{{ .Name }}</a>
{{ end }}
</nav>
2018-01-11 09:16:05 +04:00
</div>
2018-01-13 03:38:00 +04:00
<div class="column is-9">
<main>