-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (38 loc) · 1000 Bytes
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
layout: default
---
<section>
<nav>
{% for account in site.social %}
<a href="{{ account.url }}">{{ account.name }}</a>
{% endfor %}
</nav>
</section>
<section>
<h3><a href="posts.html">{{ site.texts.posts }}</a></h3>
<ul>
{% for post in site.posts %}
{% if post.podcast %}
{% assign ptype = 'title="پادکست صوتی" class="podcast-post"' %}
{% elsif post.video %}
{% assign ptype = 'title="ویدیو" class="video-post"' %}
{% else %}
{% assign ptype = 'title="متن" class="text-post"' %}
{% endif %}
<li>
<div class="title">
<a href="{{ post.url | prepend: site.baseurl }}" {{ ptype }}>{{ post.title }}</a>
{% include post-links.html link=post.link video=post.video class='inline' %}
</div>
</li>
{% if forloop.index == site.home_post_count %}
<li>
<div class="title">
<a href="posts.html">{{ site.texts.see_more }}</a>
</div>
</li>
{% break %}
{% endif %}
{% endfor %}
</ul>
</section>