-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-quote.hbs
64 lines (61 loc) · 2.19 KB
/
custom-quote.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
{{!< default }}
{{> header}}
<main>
<script type="text/javascript" src="{{asset "js/quotes.js"}}"></script>
{{#post}}
<article class="quote-full {{post_class}} {{#unless feature_image}}no-image{{/unless}}">
<header class="quote-full-header">
<h1 class="quote-full-title">Quote</h1>
<i class="fas fa-comment-alt quote-icon"></i>
</header>
<section class="quote-full-content">
<blockquote class="quote">
<span class="quote-content">
<i class="fas fa-quote-left quote-left"></i>
{{excerpt}}
<i class="fas fa-quote-right quote-right"></i>
</span>
<h6 class="quote-author">{{tags from="2" to="2"}}</h6>
</blockquote>
<div class="buttons-box">
<a href="" id="{{tags from="1" to="1" limit="all" visibility="internal" autolink="false"}}"
class="buy-merchandise button-special">
<span>
<h3>Buy Merchandise</h3>
</span>
<i class="fas fa-tshirt"></i>
</a>
<a href="" id="{{tags from="2" to="2" limit="all" visibility="public" autolink="false"}}"
class="about-author button-special">
<span>
<h3>About the Author</h3>
</span>
<i class="fas fa-user"></i>
</a>
</div>
<hr>
<div class="post-content">
{{content}}
</div>
</section>
<div class="buttons-box-inline">
<a href="/" class="button-special return-home">
<span>
<h3>Return home</h3>
</span>
<i class="fas fa-home"></i>
</a>
<a href="/quotes" class="button-special">
<span>
<h3>More Quotes</h3>
</span>
<i class="fas fa-quote-left"></i>
</a>
</div>
</article>
{{> comments}}
{{/post}}
</main>
<script>
RENDER_QUOTE_BUTTONS();
</script>