-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (56 loc) · 1.76 KB
/
index.html
File metadata and controls
57 lines (56 loc) · 1.76 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
48
49
50
51
52
53
54
55
56
57
---
layout: default
---
<!--
1. review
-->
<div id="sidebar1" class="sidebar left col220 clearfix" role="complementary">
{% include widget_tags.html %}
{% include widget_categories.html %}
{% include widget_twitter.html %}
</div>
<div id="main" class="col700 right clearfix" role="main">
{% if site.categories.portfolio %}
<section id="portfolio">
<div class="title">
Latest Projects <a class="more" href="/portfolio">see all</a>
</div>
<div class="content clearfix">
<ul id="slider">
{% for post in site.categories.portfolio limit:10 %}
{% unless post.private == true %}
<li>
<a href="{{ post.url }}">
<div class="alltogether">
<div class="thumb">
<img width="420" src="/uploads/posts/portfolio/{{ post.images.featured }}" class="attachment-portfolio-thumb-420 wp-post-image" alt="" title="" />
</div>
<div class="title">{{ post.title }}</div>
</div>
</a>
</li>
{% endunless %}
{% endfor %}
</ul>
</div>
</section>
<div class="line"></div>
{% endif %}
{% if site.categories.blog %}
<section id="posts">
<div class="title">
Latest Posts <a class="more" href="/blog">see all</a>
</div>
<div class="top"></div>
<div class="middle">
{% for post in site.categories.blog limit:10 %}
{% include post.html param="post" %}
{% endfor %}
{% if site.categories.blog.size > 10 %}
<a class="next" href="/blog/page/2">see more</a>
{% endif %}
</div>
<div class="bottom"></div>
</section>
{% endif %}
</div>