mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
refactor(baseof): docs cannot use baseof or else footer is displayed twice
This commit is contained in:
1 parent
d3ea424f72
commit
bd31268e19
3 files changed
+38
-6
No files matched your search
+19
-1
@@ -1 +1,19 @@
|
||||
{{ partial "docs_layout.html" . }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.LanguageCode | default "en-us" }}">
|
||||
|
||||
{{ partial "site_head.html" . }}
|
||||
|
||||
<body id="top" data-spy="scroll" data-target="{{ if or .IsHome (eq .Type "widget_page") }}#navbar-main{{else}}#TableOfContents{{end}}" data-offset="71" {{ if not (.Scratch.Get "light") }}class="dark"{{end}}>
|
||||
|
||||
{{ partial "search" . }}
|
||||
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
{{ partial "docs_layout.html" . }}
|
||||
|
||||
{{ partial "site_js.html" . }}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1 +1,19 @@
|
||||
{{ partial "docs_layout.html" . }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.LanguageCode | default "en-us" }}">
|
||||
|
||||
{{ partial "site_head.html" . }}
|
||||
|
||||
<body id="top" data-spy="scroll" data-target="{{ if or .IsHome (eq .Type "widget_page") }}#navbar-main{{else}}#TableOfContents{{end}}" data-offset="71" {{ if not (.Scratch.Get "light") }}class="dark"{{end}}>
|
||||
|
||||
{{ partial "search" . }}
|
||||
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
{{ partial "docs_layout.html" . }}
|
||||
|
||||
{{ partial "site_js.html" . }}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{{- define "main" -}}
|
||||
|
||||
{{ $current_page := . }}
|
||||
|
||||
<div class="container-fluid docs">
|
||||
@@ -51,5 +49,3 @@
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{- end -}}
|
||||
Reference in new issue
Block a user