Browse code

Put header in same column as body

Robert Cranston authored on 13/10/2019 14:16:44
Showing 1 changed files

... ...
@@ -56,8 +56,20 @@ $include-before$
56 56
 </div>
57 57
 $endfor$
58 58
 
59
-$if(title)$
60 59
 <div class="container">
60
+<div class="row">
61
+
62
+$if(toc)$
63
+<div class="col-auto">
64
+<nav id="$idprefix$TOC">
65
+$toc$
66
+</nav>
67
+</div>
68
+$endif$
69
+
70
+<div class="col">
71
+
72
+$if(title)$
61 73
 <header>
62 74
 <h1 class="title">$title$</h1>
63 75
 $if(subtitle)$
... ...
@@ -70,22 +82,10 @@ $if(date)$
70 82
 <p class="date">$date$</p>
71 83
 $endif$
72 84
 </header>
73
-</div>
74
-$endif$
75
-
76
-<div class="container">
77
-<div class="row">
78
-
79
-$if(toc)$
80
-<div class="col-auto">
81
-<nav id="$idprefix$TOC">
82
-$toc$
83
-</nav>
84
-</div>
85 85
 $endif$
86 86
 
87
-<div class="col">
88 87
 $body$
88
+
89 89
 </div>
90 90
 
91 91
 </div>