mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
theme: wildspace
This commit is contained in:
parent
828a44d347
commit
6b5183481a
2 changed files with 3 additions and 2 deletions
|
@ -6,8 +6,7 @@
|
|||
<div id="R-header-wrapper" class="default-animation">
|
||||
<div id="R-header" class="default-animation">
|
||||
{{ partial "logo.html" . }}
|
||||
</div>
|
||||
{{ partial "search.html" . }}
|
||||
</div>{{ partial "search.html" . }}
|
||||
</div>
|
||||
<div id="R-homelinks" class="default-animation{{ if not .Site.Params.disableLandingPageButton }} homelinks{{ end }}">
|
||||
{{- if not .Site.Params.disableLandingPageButton }}
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
{{- $hascontent := not (eq 0 (int (len (trim ($content | plainify) "\n\r\t ")))) }}
|
||||
{{- if not $hascontent }}
|
||||
{{- $content = " " }}
|
||||
{{- else }}
|
||||
{{- $content = (print "\n" $content) | safeHTML }}
|
||||
{{- end }}
|
||||
{{- partial "topbar/func/button.html" (dict
|
||||
"page" .
|
||||
|
|
Loading…
Reference in a new issue