generated from osmoscraft/osmosfeed-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
57 lines (53 loc) · 1.95 KB
/
index.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
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{siteTitle}}</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="{{siteTitle}}" href="{{feedHref}}" />
<link href="./index.css" rel="stylesheet" />
<!-- %before-head-end.html% -->
</head>
<body>
<!-- %after-body-begin.html% -->
{{#each dates}}
<section class="daily-content">
<h2 class="daily-heading"><time datatime="{{isoPublishDate}}">{{isoPublishDate}}</time></h2>
<ul class="sources card">
{{#each sources}}
<li class="source">
<section>
<h3 class="source-name"><a class="source-name__link" href="{{siteUrl}}">{{title}}</a></h3>
<section class="articles-per-source">
{{#each articles}}
<article>
<details class="article-expander" open>
<summary class="article-expander__title">{{title}}</summary>
<a class="article-summary-link article-summary-box-outer" href="{{link}}">
<div class="article-summary-box-inner">
<span>{{description}}</span>
</div>
{{#if enclosure}}
<img src="{{enclosure.url}}" class="card article-thumbnail"/>
{{/if}}
</a>
</details>
</article>
{{/each}}
</section>
</li>
{{/each}}
</ul>
</section>
{{/each}}
<footer>
<time id="build-timestamp" datetime="{{siteBuildTimestamp}}">{{siteBuildTimestamp}}</time>
<span><a class="footer-link" href="{{projectUrl}}">osmosfeed {{cliVersion}}</a></span>
</footer>
<script src="./index.js"></script>
<!-- %before-body-end.html% -->
</body>
</html>