-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (43 loc) · 2.52 KB
/
index.html
File metadata and controls
47 lines (43 loc) · 2.52 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
---
layout: default
---
{% for post in site.posts %}
<article class="wrapper__rows {{ post.tagMaster }}">
<div class="content">
{% for tags in post.tags %}
<span class="label label--{{ tags }}">{{ tags }}</span>
{% endfor %}
<div class="header">
<time class="post__date" datetime="{{ post.date }}">{{ post.date | date: "%b %-d, %Y" }}</time>
</div>
<h1>{{ post.title }}</h1>
{{ post.content }}
<button class="share-button js-share">
<svg version="1.1" id="Your_Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="25px" height="25px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
<g>
<path d="M77.421,22.706h-6.976c-1.266,0-2.293,1.026-2.293,2.293s1.027,2.293,2.293,2.293h6.976c2.538,0,4.683,3.15,4.683,6.879
v50.447c0,3.793-3.086,6.879-6.879,6.879H24.777c-3.793,0-6.879-3.086-6.879-6.879V34.172c0-3.665,2.099-6.879,4.491-6.879h6.783
c1.267,0,2.293-1.026,2.293-2.293s-1.026-2.293-2.293-2.293h-6.783c-5.005,0-9.077,5.143-9.077,11.465v50.447
c0,6.322,5.143,11.465,11.465,11.465h50.448c6.321,0,11.465-5.143,11.465-11.465V34.172C86.689,27.849,82.531,22.706,77.421,22.706
z" />
<path d="M41.782,17.671l5.925-5.925v53.181c0,1.267,1.026,2.293,2.293,2.293c1.268,0,2.293-1.026,2.293-2.293V11.746l5.925,5.925
c0.447,0.448,1.034,0.671,1.621,0.671s1.175-0.224,1.621-0.671c0.896-0.896,0.896-2.348,0-3.243l-9.839-9.839
c-0.895-0.896-2.348-0.896-3.242,0l-9.839,9.839c-0.896,0.896-0.896,2.348,0,3.243C39.435,18.566,40.888,18.566,41.782,17.671z" />
</g>
</svg>
Share this post
</button>
<ul class="social__list">
<li>
<a href="javascript:void(0)" class="facebook" target="" onclick="shareFacebook('{{ site.url }}{{post.url }}', '{{post.title}}', '{{post.content | strip_html | truncatewords:45}}')">Facebook</a>
</li>
<li>
<a href="javascript:void(0)" class="twitter" target="" onclick="genericShare('http://www.twitter.com/home?status='+encodeURIComponent('{{ post.title }}')+' - {{ site.url }}/%23{{ post.url | split:'/#' }}')">Twitter</a>
</li>
<li>
<a href="javascript:void(0)" class="google" target="" onclick="genericShare('https://plus.google.com/share?url={{ site.url }}/%23{{ post.url | split:'/#' }}')">Google+</a>
</li>
</ul>
</div>
</article>
{% endfor %}