forked from nodejs/nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcategory-index.hbs
More file actions
34 lines (29 loc) · 791 Bytes
/
Copy pathcategory-index.hbs
File metadata and controls
34 lines (29 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="{{site.locale}}"{{#if site.rtl}} dir="rtl"{{/if}}>
{{> html-head }}
<body>
{{> header }}
<div id="main">
<div class="container">
{{#if title}}
<h2>{{ title }}</h2>
{{/if}}
<ul class="blog-index">
{{#each collections.blog}}
{{#unless listing}}
{{#startswith path (slashes ../path)}}
{{#if title}}
<li>
<time datetime="{{ strftime date '%FT%T%z' }}">{{ strftime date "%d %b %y" }}</time>
<a href="/{{../site.locale}}/{{ slashes path }}/">{{ title }}</a>
</li>
{{/if}}
{{/startswith}}
{{/unless}}
{{/each}}
</ul>
</div>
</div>
{{> footer }}
</body>
</html>