1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-09-01 18:02:48 +02:00
Files
cadmus/Styles/HugoThemes/hugo-theme-basic/layouts/index.html
2020-07-14 21:39:40 +10:00

50 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html
class=""
lang="{{ .Site.LanguageCode }}"
prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"
>
<head>
<meta charset="utf-8" />
{{ partial "meta.html" . }}
<title>{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}" />
{{ $sitetitle := .Site.Title }}
{{ with .OutputFormats.Get "RSS" }}
<link
href="{{ .RelPermalink }}"
rel="alternate"
type="application/rss+xml"
title="{{ $sitetitle }}"
/>
{{ end }}
{{ partial "head_includes.html" . }}
</head>
<body
lang="{{ .Site.LanguageCode }}"
class="sans-serif w-90 w-60-ns center center-ns mv2 mv5-ns"
>
<section id="main">
<div>
<h1 id="title" class="f3">
{{ .Site.Title }} {{ .Site.Params.TitleEmoji | emojify }}
</h1>
<ul class="list pl0">
<!-- pages -->
<!-- prettier-ignore -->
{{ range .Site.Params.menu }}
<li class="b mv3">
<a class="f3 b pa1 black" href="{{ .url }}">{{ .name }}</a>
</li>
<!-- prettier-ignore -->
{{ end }}
</ul>
</div>
</section>
{{ partial "footer.html" . }}
</body>
</html>