forked from oon00b/blogger-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.xml
245 lines (223 loc) · 10.7 KB
/
template.xml
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:js='false' b:layoutsVersion='3' b:responsive='true' expr:dir='data:blog.locale.languageDirection' expr:lang='data:blog.locale.language' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<!--<head/>-->
<head>
<meta charset='utf-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1'/>
<title><b:eval expr='data:view.title.escaped + (data:view.isPost ? " - " + data:blog.title.escaped : "")'/></title>
<link expr:href='data:blog.url.canonical' rel='canonical'/>
<link expr:href='data:blog.blogspotFaviconUrl' rel='icon preload' as='image'/>
<b:skin><![CDATA[*{box-sizing:border-box}body{overflow-wrap:break-word;word-wrap:break-word;margin:0;line-height:1.6;font-family:sans-serif;color:#1c2018;background-color:#ece8cc}a{color:#004870;text-decoration:underline}a:hover,a:focus{outline:thin dashed}a:active{outline:medium solid}pre,code,samp,kbd{font-size:1em;font-family:monospace, monospace;background-color:#dcdcdc}blockquote{border:thin solid;border-radius:0.5em;padding:0.5em}table{border-collapse:collapse}th,td{border:thin solid}.main>*{margin:2em auto;max-width:95%}.Blog>*{margin:2em 0}.pagination{text-align:center}.pagination-pageLink:not(:last-child)::after{content:" | "}.post-header{border-bottom:thin solid}.post-title{margin:0;font-size:1.3em}.post-meta{display:flex;flex-wrap:wrap}.post-meta>*{display:block}.post-date{margin-right:2em}.side>*{margin:2em auto 0 auto;flex-basis:45%}.labels-title,.archives-title{margin:0;font-size:1em;border-bottom:thin solid}.side{display:flex;flex-wrap:wrap;justify-content:space-between}.archives-monthly{padding-left:2.5em}]]></b:skin>
<b:if cond='data:view.isPost'>
<style>.post-body{margin:1em 0}@media screen{.post-body pre{overflow-x:auto}}.post-footer{border-top:thin solid}.post-author{display:inline;font-style:normal}.comments>*{margin:2em 0}.comments-pagination{text-align:center}.comments-pageLink:not(:last-child)::after{content:" | "}.comment-header{border-bottom:thin solid}.comment-author{font-style:normal;font-weight:bold}</style>
<!-- highlight.js (https://highlightjs.org) -->
<link rel='stylesheet preload' as='style' href='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.2.0/build/styles/solarized-dark.min.css'/>
<script async='async' src='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.2.0/build/highlight.min.js'/>
<script>window.addEventListener("load", function(){hljs.configure({languages: []}); hljs.initHighlighting();})</script>
</b:if>
</head>
<!--<body/>-->
<body>
<header class='header'>
<a expr:href='data:blog.homepageUrl'><data:blog.title.escaped/></a>
</header>
<b:section id='main' class='main'>
<b:widget id='Blog1' locked='false' type='Blog' version='2' visible='true'>
<b:widget-settings>
<b:widget-setting name='authorLabel'/>
<b:widget-setting name='commentLabel'/>
<b:widget-setting name='timestampLabel'/>
<b:widget-setting name='reactionsLabel'/>
<b:widget-setting name='postLocationLabel'/>
<b:widget-setting name='postLabelsLabel'/>
<b:widget-setting name='showLocation'>false</b:widget-setting>
<b:widget-setting name='showTimestamp'>true</b:widget-setting>
<b:widget-setting name='showCommentLink'>true</b:widget-setting>
<b:widget-setting name='showAuthor'>true</b:widget-setting>
<b:widget-setting name='showLabels'>true</b:widget-setting>
<b:widget-setting name='showReactions'>false</b:widget-setting>
<b:widget-setting name='showShareButtons'>false</b:widget-setting>
<b:widget-setting name='showAuthorProfile'>false</b:widget-setting>
<b:widget-setting name='showInlineAds'>false</b:widget-setting>
<b:widget-setting name='postsPerAd'/>
</b:widget-settings>
<b:includable id='main'>
<b:if cond='data:view.isPost'>
<article class='post--item' expr:id='"post-" + data:posts.first.id'>
<b:include name='post-header' data='data:posts.first'/>
<b:include name='post-body' data='data:posts.first'/>
<b:include name='post-footer' data='data:posts.first'/>
</article>
<b:include cond='data:newerPageUrl or data:olderPageUrl' name='pagination'/>
<b:include cond='data:posts.first.allowComments' name='comments' data='data:posts.first'/>
<b:else/>
<b:loop var='post' values='data:posts'>
<article class='post--index' expr:id='"post-" + data:post.id'>
<b:include name='post-header' data='data:post'/>
</article>
</b:loop>
<b:include cond='data:newerPageUrl or data:olderPageUrl' name='pagination'/>
</b:if>
</b:includable>
<b:includable id='pagination'>
<nav class='pagination'>
<b:if cond='data:newerPageUrl'>
<span class='pagination-pageLink'>
<a expr:href='data:newerPageUrl'>‹ Next</a>
</span>
</b:if>
<b:if cond='data:olderPageUrl'>
<span class='pagination-pageLink'>
<a expr:href='data:olderPageUrl'>Prev ›</a>
</span>
</b:if>
</nav>
</b:includable>
<b:includable id='post-header' var='post'>
<header class='post-header'>
<b:tag expr:name='data:view.isPost ? "h1" : "h2"' class='post-title'>
<a expr:href='data:post.url'><data:post.title.escaped/></a>
</b:tag>
<nav class='post-meta'>
<b:include name='post-date' data='data:post'/>
<b:include name='post-labels' data='data:post' cond='data:post.labels'/>
</nav>
</header>
</b:includable>
<b:includable id='post-date' var='post'>
<time class='post-date' expr:datetime='data:post.date.iso8601'>
<a expr:href='format(data:post.date, "/YYYY/")'><b:eval expr='format(data:post.date, "YYYY")'/></a>-<a expr:href='format(data:post.date, "/YYYY/MM/")'><b:eval expr='format(data:post.date, "MM")'/></a>-<b:eval expr='format(data:post.date, "dd")'/>
</time>
</b:includable>
<b:includable id='post-labels' var='post'>
<span class='post-labels'>
Labels: <b:loop var='label' values='data:post.labels' index='i'>
<a expr:href='data:label.url'><data:label.name.escaped/></a>
<b:eval expr='data:i + 1 lt data:post.labels.size ? ", " : ""'/>
</b:loop>
</span>
</b:includable>
<b:includable id='post-body' var='post'>
<div class='post-body'><data:post.body/></div>
</b:includable>
<b:includable id='post-footer' var='post'>
<footer class='post-footer'>
<b:include name='post-author' data='post'/>
</footer>
</b:includable>
<b:includable id='post-author' var='post'>
Author: <address class='post-author'>
<a expr:href='data:post.author.profileUrl' rel='author'><data:post.author.name/></a>
</address>
</b:includable>
<b:includable id='comments' var='post'>
<aside class='comments' id='comments'>
<b:include name='comments-header' data='data:post'/>
<b:loop var='comment' values='data:post.comments'>
<b:include name='comment' data='data:comment'/>
</b:loop>
<b:include cond='data:post.commentPagingRequired' name='comments-pagination' data='data:post'/>
</aside>
</b:includable>
<b:includable id='comments-header' var='post'>
<header class='comments-header'>
<a class='comments-formLink' expr:href='data:post.embedCommentForm ? data:post.commentFormIframeSrc : data:post.commentsUrl'>post a comment</a>
</header>
</b:includable>
<b:includable id='comments-pagination' var='post'>
<nav class='comments-pagination'>
<b:if cond='data:post.hasOlderLinks'>
<span class='comments-pageLink'>
<a expr:href='data:post.oldestLinkUrl'>« First</a>
</span>
<span class='comments-pageLink'>
<a expr:href='data:post.olderLinkUrl'>‹ Prev</a>
</span>
</b:if>
<b:if cond='data:post.hasNewerLinks'>
<span class='comments-pageLink'>
<a expr:href='data:post.newerLinkUrl'>Next ›</a>
</span>
<span class='comments-pageLink'>
<a expr:href='data:post.newestLinkUrl'>Last »</a>
</span>
</b:if>
</nav>
</b:includable>
<b:includable id='comment' var='comment'>
<article class='comment' expr:id='"c" + data:comment.id'>
<header class='comment-header'>
<b:include name='comment-author' data='data:comment'/>
<time class='comment-date'><data:comment.timestamp/></time>
</header>
<p class='comment-body'><data:comment.body/></p>
</article>
</b:includable>
<b:includable id='comment-author' var='comment'>
<b:if cond='data:comment.authorUrl'>
<address class='comment-author'>
<a expr:href='data:comment.authorUrl' rel='author'><data:comment.author.escaped/></a>
</address>
<b:else/>
<div class='comment-author'><data:comment.author.escaped/></div>
</b:if>
</b:includable>
</b:widget>
</b:section>
<b:section id="side" class="side">
<b:widget id='BlogArchive1' type='BlogArchive' locked='false' visible='true' version='2'>
<b:widget-settings>
<b:widget-setting name='showStyle'>HIERARCHY</b:widget-setting>
<b:widget-setting name='yearPattern'>yyyy</b:widget-setting>
<b:widget-setting name='showWeekEnd'>false</b:widget-setting>
<b:widget-setting name='monthPattern'>MM</b:widget-setting>
<b:widget-setting name='dayPattern'>dd</b:widget-setting>
<b:widget-setting name='weekPattern'>MM/dd</b:widget-setting>
<b:widget-setting name='chronological'>false</b:widget-setting>
<b:widget-setting name='showPosts'>false</b:widget-setting>
<b:widget-setting name='frequency'>MONTHLY</b:widget-setting>
</b:widget-settings>
<b:includable id='main'>
<h2 class='archives-title'>Archives</h2>
<b:include name='hierarchy' data='data'/>
</b:includable>
<b:includable id='hierarchy' var='archives'>
<b:loop var='i' values='data:archives'>
<b:if cond='data:i.data'>
<details class='archives-yearly'>
<b:attr cond='data:i.expclass eq "expanded"' name='open' value='open'/>
<summary>
<a expr:href='data:i.url'><data:i.name.escaped/></a>(<data:i.post-count/>)/
</summary>
<b:include name='hierarchy' data='data:i.data'/>
</details>
<b:else/>
<div class='archives-monthly'>
<a expr:href='data:i.url'><data:i.name.escaped/></a>(<data:i.post-count/>)
</div>
</b:if>
</b:loop>
</b:includable>
</b:widget>
<b:widget id='Label1' type='Label' locked='false' visible='true' version='2'>
<b:widget-settings>
<b:widget-setting name='sorting'>FREQUENCY</b:widget-setting>
<b:widget-setting name='display'>LIST</b:widget-setting>
<b:widget-setting name='selectedLabelsList'/>
<b:widget-setting name='showType'>ALL</b:widget-setting>
<b:widget-setting name='showFreqNumbers'>true</b:widget-setting>
</b:widget-settings>
<b:includable id='main'>
<h2 class='labels-title'>Labels</h2>
<nav class='labels-list'>
<b:loop var='label' values='data:labels' index='i'>
<a expr:href='data:label.url'><data:label.name.escaped/></a>(<data:label.count/>)
<b:eval expr='data:i + 1 lt data:labels.size ? ", " : ""'/>
</b:loop>
</nav>
</b:includable>
</b:widget>
</b:section>
</body>
</html>