Add SEO metadata partial and bump Hugo version to 0.53 (#508)
Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user