Add SEO metadata partial and bump Hugo version to 0.53 (#508)

Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
Luc Perkins
2019-01-24 09:37:29 -08:00
committed by Brian Goff
parent 4f3bd20e15
commit 8ec59f8261
17 changed files with 111 additions and 71 deletions

View File

@@ -1,11 +1,11 @@
{{- $description := .Params.description }}
{{ $description := .Params.description }}
<section class="dashboard-main-header section has-background-dark">
<p class="title is-size-1 has-text-white-bis has-text-weight-light{{ if $description }} is-spaced{{ end }}">
{{ .Title }}
</p>
{{- with $description }}
{{ with $description }}
<p class="subtitle is-size-3 is-size-4-mobile has-text-white-bis has-text-weight-light">
{{ . }}
</p>
{{- end }}
{{ end }}
</section>

View File

@@ -1,8 +1,8 @@
{{- $sidebarLogo := .Site.Params.logos.sidebar }}
{{- $docs := where .Site.Pages "Section" "docs" }}
{{ $sidebarLogo := site.Params.logos.sidebar }}
{{ $docs := where site.Pages "Section" "docs" }}
<div class="dashboard-panel is-medium is-hidden-mobile has-background-primary">
<div class="dashboard-panel-header has-text-centered">
<a href="{{ .Site.BaseURL }}">
<a href="{{ site.BaseURL }}">
<img src="{{ $sidebarLogo }}">
</a>
</div>
@@ -11,13 +11,13 @@
<div class="dashboard-panel-main">
<div class="toc">
{{- range $docs }}
{{ range $docs }}
<div class="toc-item has-text-weight-light">
<a href="{{ .URL }}">
{{ .Title }}
</a>
</div>
{{- end }}
{{ end }}
</div>
</div>
</div>