-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·25 lines (24 loc) · 1.3 KB
/
index.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
---
layout: main
---
{% for post in paginator.posts %}
<article class="post">
{% if post.img %}
<a class="post-thumbnail" style="background-image: url({{"/assets/img/" | prepend: site.baseurl | append : post.img}})" href="{{post.url | prepend: site.baseurl}}"></a>
{% else %}
{% endif %}
<div class="post-content">
<h2 class="post-title">
<a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a>
<a href="https://github.com/scalalandio{{post.url}}"><i class="fa fa-github"></i></a>
<span style="float:right;line-height:35px">
<a class="github-button" href="https://github.com/scalalandio{{post.url}}" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star scalalandio{{post.url}} on GitHub">Star</a>
<a class="github-button" href="https://github.com/scalalandio{{post.url}}subscription" data-icon="octicon-eye" data-size="large" data-show-count="true" aria-label="Watch scalalandio{{post.url}} on GitHub">Watch</a>
<a class="github-button" href="https://github.com/scalalandio{{post.url}}fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork scalalandio{{post.url}} on GitHub">Fork</a>
</span>
</h2>
<p>{{ post.content }}</p>
</div>
</article>
{% endfor %}
{% include pagination.html %}