-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.html
35 lines (30 loc) · 866 Bytes
/
post.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
---
layout: default
---
<h2>{{ page.title }}</h2>
<p class="post-date">{{ page.date | date_to_string }}</p>
<div class="post">
{{ content }}
</div>
<a class="twitter-share-button"
href="https://twitter.com/intent/tweet?text={{page.title}}"
data-hashtags="{{ page.tags | join: ',' }}"
data-via="{{ site.owner.twitter_username }}"
data-size="large">Tweet</a>
<script>window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function(f) {
t._e.push(f);
};
return t;
}(document, "script", "twitter-wjs"));</script>
{% if site.disqus_shortname %}
{% include disqus_comments.html %}
{% endif %}