Skip to content

Commit c535531

Browse files
committed
Fix default layout used for blog posts and such
1 parent 0029657 commit c535531

File tree

1 file changed

+28
-62
lines changed

1 file changed

+28
-62
lines changed

themes/reactos/layouts/_default/single.html

+28-62
Original file line numberDiff line numberDiff line change
@@ -6,69 +6,35 @@
66
<body>
77
{{ partial "banner.html" . }}
88

9-
<div id="all">
10-
11-
<header>
12-
13-
{{ partial "nav.html" . }}
14-
15-
</header>
16-
17-
{{ partial "breadcrumbs.html" . }}
18-
19-
<div id="content">
20-
<div class="container">
21-
22-
<div class="row">
23-
24-
<!-- *** LEFT COLUMN *** -->
25-
26-
<div class="col-md-9" id="blog-post">
27-
28-
<p class="text-muted text-uppercase mb-small text-right">{{ if .Params.author }}{{ i18n "authorBy" }} <a href="#">{{ .Params.author }}</a> | {{ end }}{{ .Date.Format .Site.Params.date_format }}</p>
29-
30-
<div id="post-content">
31-
{{ .Content }}
32-
</div>
33-
<!-- /#post-content -->
34-
{{ if .Site.DisqusShortname }}
35-
<div id="comments">
36-
{{ template "_internal/disqus.html" . }}
37-
</div>
38-
{{ end }}
39-
40-
</div>
41-
<!-- /#blog-post -->
42-
43-
<!-- *** LEFT COLUMN END *** -->
44-
45-
<!-- *** RIGHT COLUMN *** -->
46-
47-
<div class="col-md-3">
48-
49-
<!-- *** MENUS AND WIDGETS *** -->
50-
51-
{{ partial "sidebar.html" . }}
52-
53-
<!-- *** MENUS AND FILTERS END *** -->
54-
55-
</div>
56-
<!-- /.col-md-3 -->
57-
58-
<!-- *** RIGHT COLUMN END *** -->
59-
60-
</div>
61-
<!-- /.row -->
62-
63-
</div>
64-
<!-- /.container -->
65-
</div>
66-
<!-- /#content -->
67-
68-
{{ partial "footer.html" . }}
69-
9+
<header>
10+
11+
{{ partial "nav.html" . }}
12+
13+
</header>
14+
15+
{{ partial "breadcrumbs.html" . }}
16+
17+
<div class="container-fluid">
18+
<section id="content" class="row">
19+
<div class="col-md-offset-1 col-md-10">
20+
<div class="row">
21+
<div class="col-md-9 row" id="blog-post">
22+
<p class="text-muted mb-small text-right">{{ if .Params.author }}{{ i18n "authorBy" }} <a href="#">{{ .Params.author }}</a> | {{ end }}{{ .Date.Format .Site.Params.date_format }}</p>
23+
24+
<div id="post-content">
25+
{{ .Content }}
26+
</div>
27+
</div>
28+
29+
<div class="col-md-3">
30+
{{ partial "sidebar.html" . }}
31+
</div>
32+
</div>
33+
</div>
34+
</section>
35+
36+
{{ partial "footer.html" . }}
7037
</div>
71-
<!-- /#all -->
7238

7339
{{ partial "scripts.html" . }}
7440

0 commit comments

Comments
 (0)