/
single.html
138 lines (123 loc) · 4.88 KB
/
single.html
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
---
layout: default
---
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %}
{% comment %} {% if page.url != "/" and site.breadcrumbs %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
{% endif %} {% endcomment %}
<div id="main" role="main">
{% include sidebar.html %}
{% include right-widget.html %}
<article
class="page"
itemscope
itemtype="https://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
<div class="page__inner-wrap">
{% if page.url != "/" and site.breadcrumbs %}
{% unless paginator %}
{% comment %} {% include breadcrumbs.html %} {% endcomment %}
{% include my-breadcrumbs.html %}
{% endunless %}
{% endif %}
{% include my-post_pagination.html %}
{% if page.share %}
{% include my-social-share.html classes = "page__share page__share-top" %}
{% endif %}
{% unless page.header.overlay_color or page.header.overlay_image %}
<div class="page__header">
<header>
{% if page.title %}
<h1
id="page-title"
class="page__title{% if page.title_align-center %} text-center{% endif %}"
itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>
{% endif %}
</header>
{% include page__header-meta.html %}
{% include page__header-category-list.html target=post %}
</div>
{% endunless %}
<section class="page__content" itemprop="text">
{% if page.toc-top %}
<nav class="toc-top">
<header>
<h4 class="nav__title">
<i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i>
{{ page.toc_label | default: site.data.ui-text[site.locale].toc_label | default: "On this page" }}</h4>
</header>
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class = "toc__menu" %}
</nav>
{% include ads/google/horizontal_ad.html %}
<p></p>
{% endif %}
{% if page.post_mode == "paper-analysis" %}
<div
class="memo"
hidden
data-type="post-for-paper-analysis"></div>
{% include pages/paper_revision_description.html %}
<div id="post-ctrl-panel-for-paper-analysis">
<div class="ctrl-option">
<input
type="checkbox"
id="show-origin"
name="show-origin"
checked>
<label for="show-origin">원문 보이기</label>
</div>
<div class="ctrl-option">
<input
type="checkbox"
id="show-translated"
name="show-translated"
checked>
<label for="show-translated">번역문 보이기</label>
</div>
<div class="ctrl-option">
<input
type="checkbox"
id="show-interpreted"
name="show-interpreted"
checked>
<label for="show-interpreted">해석문 보이기</label>
</div>
</div>
{% endif %}
{{ content }}
{% if page.link %}
<div>
<a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a>
</div>
{% endif %}
</section>
<p></p>
{% include ads/google/horizontal_ad.html %}
<footer class="page__meta">
{% if site.data.ui-text[site.locale].meta_label %}
<h4 class="page__meta-title">
<i class="far fa-file-alt"></i>
{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %}
{% include page__taxonomy.html %}
{% include page__date.html %}
</footer>
{% if page.share %}
{% include social-share.html %}{% endif %}
{% include my-post_pagination.html type = "bottom" %}
</div>
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}
{% include pages/related-posts.html %}
</article>
</div>