-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.html
273 lines (257 loc) · 12.8 KB
/
theme.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
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="description" content="{MetaDescription}">
<meta name="text:Google Analytics ID" content="" />
{block:PermalinkPage}
<meta property="og:type" content="article">
<meta property="og:url" content="{Permalink}">
{block:Posts}<meta property="og:title" content="{Title}">{/block:Posts}
{/block:PermalinkPage}
<meta property="og:image" content="http://res.cloudinary.com/riaf/image/upload/v1378448851/engblg_logo_jze44s.png">
<meta property="og:site_name" content="Crocos Engineering Blog">
<meta property="fb:app_id" content="389841687707445">
<!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.min.js"></script><![endif]-->
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.css">
<link rel="alternate" type="application/rss+xml" href="{RSS}" title="Feed" />
<link rel="shortcut icon" href="{Favicon}">
<title>{block:PostSummary}{PostSummary} :: {/block:PostSummary}{Title}{block:SearchPage} | Search results for "{SearchQuery}"{/block:SearchPage}</title>
<style type="text/css">
body {
background: #f4f4f4;
}
.header {
padding: 30px 0;
}
.sidebar {
margin: 30px 0;
}
.header a.brand {
display: block;
width: 245px;
height: 185px;
background: url(http://res.cloudinary.com/riaf/image/upload/v1378448851/engblg_logo_jze44s.png) no-repeat;
text-indent: -32767px;
overflow: hidden;
}
.posts .post {
margin: 0 0 30px;
padding: 10px 30px 20px;
background: #fff;
}
.posts .post .post-body {
margin: 1em 0;
line-height: 1.8;
}
.pager a {
color: #777;
}
.footer {
margin: 100px 0 0;
padding: 40px 0 30px;
border-top: 1px solid #e5e5e5;
color: #777;
}
{CustomCSS}
</style>
</head>
<body>
<div class="fb-root"></div>
<div class="container">
<div class="row">
<div class="col-md-10">
<div class="header">
<div class="row">
<div class="col-md-4">
<a class="brand" href="/">{Title}</a>
</div>
<div class="col-md-8">
<p>{Description}</p>
</div>
</div>
</div>
<div class="posts">
{block:Posts}
{block:Text}
<div class="post {TagsAsClasses}">
{block:Title}
<h3><a href="{Permalink}">{Title}</a></h3>
{/block:Title}
<div class="post-meta">
<ul class="list-inline date author">
<li><span class="glyphicon glyphicon-calendar"></span> {block:Date}{TimeAgo}{/block:Date}</li>
</ul>
{block:HasTags}
<ul class="list-inline">
<li>Tags:</li>
{block:Tags}
<li><a href="{TagURL}"><span class="label label-default">{Tag}</span></a></li>
{/block:Tags}
</ul>
{/block:HasTags}
</div>
<div class="post-body">
{Body}
</div>
<ul class="list-inline">
<li><div class="fb-like" data-href="{Permalink}" data-layout="button_count" data-send="false" data-width="100" data-show-faces="false"></div></li>
<li><a href="https://twitter.com/share" class="twitter-share-button" data-url="{Permalink}" data-text="{Title} :: Crocos Engineering Blog" data-count="horizontal" data-via="Crocos_Inc">Tweet</a></li>
<li><a href="http://b.hatena.ne.jp/entry/{Permalink}" class="hatena-bookmark-button" data-hatena-bookmark-title="{Title}" data-hatena-bookmark-layout="standard" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a></li>
</ul>
</div>
{/block:Text}
{/block:Posts}
</div>
{block:Pagination}
<ul class="pager">
{block:PreviousPage}<li class="previous"><a href="{PreviousPage}"><span class="glyphicon glyphicon-chevron-left"></span> Previous</a></li>{/block:PreviousPage}
{block:NextPage}<li class="next"><a href="{NextPage}">Next <span class="glyphicon glyphicon-chevron-right"></span></a></ul>{/block:NextPage}
</ul>
{/block:Pagination}
</div>
<div class="col-md-2">
<div class="sidebar">
<form action="/search">
<div class="input-group">
<input class="form-control" type="text" name="q" value="{SearchQuery}" placeholder="SEARCH">
<span class="input-group-btn">
<button class="btn btn-default" type="button"><span class="glyphicon glyphicon-search"></span></button>
</span>
</div>
</form>
<br />
<ul class="nav nav-pills nav-stacked">
<li><a href="#about">About</a><li>
<li><a href="/archive">Archive</a><li>
</ul>
<div class="page-header">
<h4>書籍紹介</h4>
<p class="muted">弊社エンジニアが執筆した書籍です</p>
</div>
<div class="thumbnails">
<p>
<a class="thumbnail" href="http://gihyo.jp/book/2010/978-4-7741-4437-5" target="_blank">
<img src="http://res.cloudinary.com/riaf/image/upload/v1378450050/perfect-php_iumjil.jpg" alt="パーフェクトPHP">
</a>
</p>
<p>
<a class="thumbnail" href="http://gihyo.jp/book/2012/978-4-7741-5082-6" target="_blank">
<img src="http://res.cloudinary.com/riaf/image/upload/v1378450053/takahashi_hespyj.jpg" alt="効率的なWebアプリケーションの作り方 ~PHPによるモダン開発入門">
</a>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="footer" id="about">
<div class="container">
<ul class="list-inline">
<li><div class="fb-like" data-href="http://engineering.crocos.jp/" data-layout="button_count" data-send="false" data-width="100" data-show-faces="false"></div></li>
<li><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://engineering.crocos.jp/" data-text="Crocos Engineering Blog" data-count="horizontal" data-via="Crocos_Inc">Tweet</a></li>
<li><a href="http://b.hatena.ne.jp/entry/engineering.crocos.jp/" class="hatena-bookmark-button" data-hatena-bookmark-title="{Title}" data-hatena-bookmark-layout="standard" title="このサイトをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このサイトをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a></li>
</ul>
<div class="row">
<div class="col-md-4">
<h4>About</h4>
<p>{Description}</p>
<hr />
<ul class="list-unstyled">
<li><a target="_blank" href="http://crocos.co.jp/">株式会社クロコス</a></li>
<li><a target="_blank" href="https://marketing.crocos.jp/">Crocos マーケティング</a></li>
<li><a target="_blank" href="http://campaign.crocos.jp/">Crocos キャンペーン</a></li>
</ul>
<hr />
<ul class="list-unstyled">
<li><a target="_blank" href="https://github.com/crocos">GitHub</a></li>
</ul>
</div>
<div class="col-md-4">
<h4>Engineers</h4>
<ul class="list-unstyled">
<li><a target="_blank" href="https://github.com/sotarok">sotarok</a> <small>Sotaro KARASAWA</small></li>
<li><a target="_blank" href="https://github.com/fivestar">fivestr</a> <small>Katsuhiro OGAWA</small></li>
<li><a target="_blank" href="https://github.com/riaf">riaf</a> <small>Keisuke SATO</small></li>
<li><a target="_blank" href="https://github.com/cocoiti">cocoiti</a></li>
<li><a target="_blank" href="https://github.com/yudoufu">yudoufu</a> <small>Daichi Kamemoto</small></li>
<li><a target="_blank" href="https://github.com/yuchimiri">yuchimiri</a> <small>Yuki MAEJIMA</small></li>
<li><a target="_blank" href="https://github.com/wozozo">wozozo</a> <small>Yoichi Fujimoto</small></li>
<li><a target="_blank" href="https://github.com/suzuki">suzuki</a> <small>Norio Suzuki</small></li>
<li><a target="_blank" href="https://github.com/kalibora">kalibora</a> <small>Toshiyuki FUJITA</small></li>
<li><a target="_blank" href="https://github.com/tetaketa">tetaketa</a></li>
<li><a target="_blank" href="https://github.com/okapon">okapon</a></li>
</ul>
</div>
<div class="col-md-4">
<h4>Designers</h4>
<ul class="list-unstyled">
<li><a target="_blank" href="https://github.com/chacococco">chacococco</a></li>
<li><a target="_blank" href="https://github.com/yumiyumi">yumiyumi</a></li>
</ul>
</div>
</div>
<p>Copyright © 2011-2013 Crocos Inc., All rights reserved.</p>
</div>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script>
$(function(){
var authors = [
{ name: 'sotarok', fbid: 'sotarok' },
{ name: 'fivestar', fbid: 'katsuhiro.ogawa' },
{ name: 'fivestr', fbid: 'katsuhiro.ogawa' },
{ name: 'riaf', fbid: 'sato.keisuke' },
{ name: 'cocoitiban', fbid: 'cocoiti' },
{ name: 'yudoufu', fbid: 'yudoufu' },
{ name: 'cocoiti', fbid: 'cocoiti' },
{ name: 'yuchimiri', fbid: 'yuchimiri' },
{ name: 'wozozo', fbid: 'wozozo' },
{ name: 'suzuki', fbid: 'norio.suzuki' },
{ name: 'tofujiit', fbid: 'toshiyuki.fujita.9887' },
{ name: 'tetaketa', fbid: 'tetsuya.taketani' },
{ name: 'okapon', fbid: 'yuuichi.okada' },
{ name: 'chacococco', fbid: 'chacococco' },
{ name: 'misuyumi', fbid: 'misu.yumi' },
{ name: 'yumiyumi', fbid: 'misu.yumi' },
{ name: 'yummy', fbid: 'yumiyahata' }
];
$('pre').addClass('prettyprint');
$('.post').each(function() {
var $post = $(this)
, $author = $('.author', $post);
$.each(authors, function(i, val) {
if ($post.hasClass(val.name)) {
$author.append('<li><img src="http://res.cloudinary.com/riaf/image/facebook/w_25,h_25,c_thumb,g_face/' + val.fbid + '.png" alt="' + val.name + '" /> ' + val.name + '</li>');
}
});
});
});
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js" async="async"></script>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1&appId=389841687707445";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script src="//platform.twitter.com/widgets.js" async="async"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.min.js" async="async"></script>
{block:IfGoogleAnalyticsID}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("{text:Google Analytics ID}");
pageTracker._trackPageview();
} catch(err) {}
</script>
{/block:IfGoogleAnalyticsID}
<script src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
<link rel="stylesheet" type="text/css" href="http://google-code-prettify.googlecode.com/svn/trunk/styles/sunburst.css">
</body>
</html>