aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-03-07 18:51:24 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-03-07 18:51:24 +0100
commit5296ba3d38b2bba7bf6fe7cbf82b516f68c21b61 (patch)
tree28467a4e180e4b0b31056e2e512b625f848e760a /layouts
parent289a3f456e771194cc18606051f113962f7e86c1 (diff)
Clean trailing whitespaces
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/shortcodes/tab.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index a00e5e2..7abc75e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -24,7 +24,7 @@
<footer class="book-footer">
{{ template "footer" . }} <!-- Footer under page content -->
- {{ partial "docs/inject/footer" . }}
+ {{ partial "docs/inject/footer" . }}
</footer>
{{ template "comments" . }} <!-- Comments block -->
diff --git a/layouts/shortcodes/tab.html b/layouts/shortcodes/tab.html
index ce78cb8..e2a207c 100644
--- a/layouts/shortcodes/tab.html
+++ b/layouts/shortcodes/tab.html
@@ -5,7 +5,7 @@
{{ if not (.Parent.Scratch.Get $group) }}
{{ .Parent.Scratch.Set $group slice }}
{{ end }}
-
+
{{ .Parent.Scratch.Add $group (dict "Name" $name "Content" .Inner) }}
{{ else }}
{{ errorf "%q: 'tab' shortcode must be inside 'tabs' shortcode" .Page.Path }}