-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.hbs
More file actions
47 lines (39 loc) · 1.2 KB
/
post.hbs
File metadata and controls
47 lines (39 loc) · 1.2 KB
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
{{!< default}}
{{#post}}
<article class="page {{post_class}}">
{{#> "container"}}
{{> "section/hero"}}
{{/ "container"}}
<div class="gh-content lib-grid">
<aside class="gh-sidebar"><div class="gh-toc"></div></aside> {{! The TOC will be inserted here }}
{{content}}
</div>
<footer class="gh-footer lib-grid">
<div class="gh-post-authors">
Written by {{#foreach authors}}<a href="{{url}}">{{name}}</a>{{/foreach}}
</div>
<div class="giscus"></div>
</footer>
</article>
{{#> "fullscreen"}}
{{#get "posts" limit="4" filter="primary_tag:{{primary_tag.slug}}+id:-{{id}}"}}
{{> "section/featured"}}
{{/get}}
{{/ "fullscreen"}}
{{/post}}
<script src="https://giscus.app/client.js"
data-repo="koderpark/blogcomment"
data-repo-id="R_kgDOKfRV8w"
data-category="Announcements"
data-category-id="DIC_kwDOKfRV884CaD04"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="light"
data-lang="ko"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>