Skip to content

Commit 1c7d87f

Browse files
committed
remove bottom large margin and make footer side to side
1 parent d459ada commit 1c7d87f

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

templates/layout.html

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,40 +13,39 @@
1313

1414
{{ template "commands" . }}
1515

16-
<div class="container is-max-desktop px-3" dir="auto" style="margin-bottom: 50vh;">
16+
<div class="container is-max-desktop px-3" dir="auto">
1717
{{ template "title" . }}
1818
<div class="content">
1919
{{ end }}
2020
{{define "footer" }}
2121
</div>
22+
</div>
2223

24+
{{ if .page }}
25+
<footer class="mt-6 p-3 py-5">
26+
<hr/>
2327

24-
{{ if .page }}
25-
<footer class="mt-6 p-3 py-5">
26-
<hr/>
27-
28-
<nav class="breadcrumb has-bullet-separator">
29-
<ul>
30-
{{ range $i, $a := links .page }}
28+
<nav class="breadcrumb has-bullet-separator">
29+
<ul>
30+
{{ range $i, $a := links .page }}
3131

32-
<li>
33-
<a href="{{.Link}}" class="icon-text has-text-grey-dark">
34-
<span class="icon">
35-
{{ $icon := .Icon }}
36-
{{ if isFontAwesome $icon }} <i class="{{.Icon}}"></i> {{ else }} {{ $icon }} {{ end }}
37-
</span>
38-
<span>{{.Name}}</span>
39-
</a>
40-
</li>
32+
<li>
33+
<a href="{{.Link}}" class="icon-text has-text-grey-dark">
34+
<span class="icon">
35+
{{ $icon := .Icon }}
36+
{{ if isFontAwesome $icon }} <i class="{{.Icon}}"></i> {{ else }} {{ $icon }} {{ end }}
37+
</span>
38+
<span>{{.Name}}</span>
39+
</a>
40+
</li>
4141

42-
{{ end }}
43-
</ul>
44-
</nav>
42+
{{ end }}
43+
</ul>
44+
</nav>
4545

46-
</footer>
47-
{{ end }}
46+
</footer>
47+
{{ end }}
4848

49-
</div>
5049
</body>
5150
</html>
5251
{{ end }}

0 commit comments

Comments
 (0)