File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ 'use strict'
2
+
3
+ module . exports = ( { data : { root : { contentCatalog } } } ) =>
4
+ contentCatalog && contentCatalog . getSiteStartPage ( )
Original file line number Diff line number Diff line change 5
5
</head >
6
6
<body class =" status-404" >
7
7
{{> header }}
8
- {{> body }}
8
+ {{> body componentOrder = ( lookup ( lookup ( lookup ( siteStartPage ) ' asciidoc ' ) ' attributes ' ) ' page-component-order ' ) }}
9
9
{{> footer }}
10
10
</body >
11
11
</html >
Original file line number Diff line number Diff line change 5
5
</head >
6
6
<body class =" article{{ #with (or page.attributes.role page.role )}} {{{ this }}} {{ /with }} " >
7
7
{{> header }}
8
- {{> body }}
8
+ {{> body componentOrder = page.attributes.component-order }}
9
9
{{> footer }}
10
10
</body >
11
11
</html >
Original file line number Diff line number Diff line change 6
6
</div >
7
7
{{ /if }}
8
8
<ul class =" components" >
9
- {{ #each (rearrange site.components ' name' page.attributes.component-order )}}
9
+ {{ #each (rearrange site.components ' name' componentOrder )}}
10
10
<li class =" component{{ #if (eq this @root.page.component )}} is-current{{ /if }} " >
11
11
<a class =" title" href =" {{{ relativize ./url }}} " >{{{ ./title }}} </a >
12
12
{{ #if (or ./versions .[1 ] (ne ./versions .[0 ].displayVersion ' current' ))}}
You can’t perform that action at this time.
0 commit comments