forked from letsblockit/letsblockit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnews.hbs
54 lines (49 loc) · 2.02 KB
/
news.hbs
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<div class="container mb-4 ms-lg-5 me-lg-5 text-center alert">
Here are the new filter updates and user-facing features the project has released.
You can also subscribe to <a href="{{href "news-atom" ""}}">the RSS feed</a> to stay in the loop.
{{#if @root.OfficialInstance}}<br/>
Self-hosting users can find the full list of changes in
<a href="https://github.com/letsblockit/letsblockit/releases">the Github release list</a>.
{{/if}}
</div>
<div class="container release-list">
{{#each releases}}
<div class="row pb-5{{#if (lookup @root.data.newReleases @index)}} new{{/if}}">
<div class="d-none d-lg-block col-lg-3 pt-2 pb-2 pe-4 text-lg-end">
<h3>{{date}}</h3>
<h5>
{{#if (lookup @root.data.newReleases @index)}}
<span class="badge bg-success me-3">new</span>
{{/if}}
<a href="{{GithubUrl}}">{{tagName}}</a>
</h5>
</div>
<div class="release-description col-lg-9 pt-2 pb-2 ps-4">
<div class="d-lg-none pb-2">
<h3>
<a href="{{GithubUrl}}">{{tagName}}</a> - {{date}}
{{#if (lookup @root.data.newReleases @index)}}
<span class="badge bg-success ms-2">new</span>
{{/if}}
</h3>
</div>
{{{Description}}}
</div>
</div>
{{/each}}
<div class="row pb-5">
<div class="d-none d-lg-block col-lg-3"></div>
<div class="col-lg-9 pt-2 pb-2 ps-4">
<h5>Read about <a href="https://github.com/letsblockit/letsblockit/releases?page=3">
older releases on GitHub</a></h5>
</div>
</div>
</div>
<style>
.release-description {
border-left: 2px solid var(--bs-secondary);
}
.release-list .new .release-description {
border-left: 3px solid var(--bs-success);
}
</style>