forked from TryGhost/Journal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
76 lines (60 loc) · 2.61 KB
/
page.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{{!< default}}
{{#post}}
<main id="gh-main" class="gh-main gh-outer">
<div class="gh-inner">
<article class="gh-article gh-latest {{post_class}}">
{{#match @page.show_title_and_feature_image}}
<header class="gh-article-header">
{{#is "post"}}
<span class="gh-article-meta">
{{#primary_author}}By <a href="{{url}}">{{name}}</a>{{/primary_author}}
{{#if primary_tag}}
in
<a class="gh-article-tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a>
{{/if}}
—
<time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
</span>
{{/is}}
<h1 class="gh-article-title">{{title}}</h1>
{{#if custom_excerpt}}
<p class="gh-article-excerpt">{{custom_excerpt}}</p>
{{/if}}
{{> "feature-image"}}
</header>
{{/match}}
</article>
<div class="gh-wrapper">
<section class="gh-section">
<article class="gh-article {{post_class}}">
<h2 class="gh-section-title">{{title}}</h2>
<div class="gh-content gh-canvas gh-post-content">
{{content}}
</div>
</article>
</section>
<aside class="gh-sidebar">
<section class="gh-section">
<h2 class="gh-section-title">Micro News</h2>
<div class="matrix">
<a class="element-logo" href="https://app.element.io" target="_blank">
{{> "icons/element"}}
</a>
<a class="matrix-logo" href="https://matrix.org/" target="_blank">
{{> "icons/matrix"}}
</a>
<div id="matrix-handle"></div>
</div>
<div id="matrix">
<span class="tooltip">SCROLL</span>
</div>
<p class="gh-signup-description">
<strong>-> Matrix Live: <em><span class="matrix-access"></em></span>
</strong>
</p>
</section>
</aside>
</div>
</div>
</main>
{{/post}}