Skip to content

Commit 25c0f70

Browse files
committed
small layout changes
1 parent 2b1280b commit 25c0f70

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

Distribution/Server/Pages/Template.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ hackagePageWith headExtra docTitle docSubtitle docContent bodyExtra =
4040
]
4141
docBody = [ thediv ! [identifier "page-header"] << docHeader
4242
, thediv ! [identifier "content"] << docContent ]
43-
docHeader = [ navigationBar
44-
, docSubtitle
43+
docHeader = [ docSubtitle
44+
, navigationBar
4545
]
4646
googleFontURL = "https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700"
4747

datafiles/templates/Html/package-page.html.st

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
</div>
3232
$endif$
3333

34+
<div id="description">
35+
$if(package.optional.hasDescription)$
36+
$package.optional.description$
37+
$endif$
38+
$if(package.optional.hasReadme)$
39+
<hr>
40+
[<a href="#readme">Skip to Readme</a>]
41+
$endif$
42+
</div>
3443

3544

3645
<div id="properties">
@@ -179,17 +188,6 @@
179188
</table>
180189
</div> <!-- /properties -->
181190

182-
<div id="description">
183-
$if(package.optional.hasDescription)$
184-
$package.optional.description$
185-
$endif$
186-
$if(package.optional.hasReadme)$
187-
<hr>
188-
[<a href="#readme">Skip to Readme</a>]
189-
$endif$
190-
</div>
191-
192-
193191
<div id="modules">
194192
$moduleList$
195193
</div>

0 commit comments

Comments
 (0)