Accessibility and SEO improvements

This commit is contained in:
JCabak 2021-04-23 22:43:36 +02:00
parent ac6bc65231
commit df803ed9de
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,6 @@
<div class="sidebar"> <div class="sidebar">
<a class="back-btn" href="{{ .Site.BaseURL | relLangURL }}" aria-label="back"></a> <a class="back-btn" href="{{ .Site.BaseURL | relLangURL }}" aria-label="back"></a>
<ul class="list-styled"> <ul class="list-styled">
{{ $currentNode := . }} {{ $currentNode := . }}
{{range .Site.Home.Sections.ByWeight}} {{range .Site.Home.Sections.ByWeight}}
{{ if eq .FirstSection $currentNode.FirstSection }} {{ if eq .FirstSection $currentNode.FirstSection }}

View file

@ -1,7 +1,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1"/>
{{ hugo.Generator }} {{ hugo.Generator }}
<meta name="description" content="{{ .Title }} - {{ .Site.Title }} "> <meta name="description" content="{{ .Title }} - {{ .Site.Title }} ">