Skip to content

Commit f96b910

Browse files
committed
Tweaks to cleanslate to match wiki documentation
1 parent 98a0751 commit f96b910

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

themes/core/cleanslate/templates/default/sidePanel.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@
88
<%- tagcloud %>
99
</div>
1010

11+
<div class="sidePanelItem">
12+
<%- side %>
13+
</div>
14+
15+
<div class="sidePanelItem">
16+
<%- fn %>
17+
</div>
18+
1119
<div class="sidePanelItem ad">
1220
<div class="dummy-ad">
1321
<!-- replace, up to and including the ".dummy-ad" div, with an actual ad -->
1422
[demo ad placement]
1523
</div>
1624
</div>
1725

18-
<div class="sidePanelItem">
19-
<%- fn %>
20-
</div>
21-

themes/core/cleanslate/templates/default/sidePanel.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ exports = module.exports = function(req, options, callback) {
1414

1515
options.getContent(req, 'about-me', this.parallel());
1616
options.getBlock('tagcloud',this.parallel());
17+
options.getBlock(/^side.*/,this.parallel());
1718

1819
// Demonstration of how to use getModuleFn
1920
options.getModuleFn(req,'template.templatePage',{template:'templateShow'},this.parallel());
2021

2122
},
22-
function done(err, about,tagcloud,fn) {
23-
callback(err,{about:about,tagcloud:tagcloud, fn:fn});
23+
function done(err, about,tagcloud,side,fn) {
24+
callback(err,{about:about,tagcloud:tagcloud, side:side, fn:fn});
2425
}
2526
);
2627

0 commit comments

Comments
 (0)