-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (69 loc) · 2.76 KB
/
index.html
File metadata and controls
82 lines (69 loc) · 2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
layout: layout
title: tim james blog
---
{% for post in site.categories.blog limit:10 %}
<div class="post-wrapper">
{% if post.video_url %}
<div class="video-wrapper">
<iframe width="560" height="349"
class="yt-embed"
src="{{ post.video_url }}"
frameborder="0"
allowfullscreen="true"
></iframe>
</div>
{% endif %}
{% if post.image_url %}
<div class="image-type">
<a href="{{ post.image_url }}" rel="prettyPhoto" title="{{ post.image_alt }}"><img alt="{{ post.image_alt }}" src="{{ post.image_url }}"></a>
<div class="image-zoom"><i class="icon-zoom-in icon-large"></i>
</div>
{% if post.image_caption %}
<div class="image-caption">
<h4>{{ post.image_caption }}</h4>
<p>{{ post.image_text }}</p>
</div>
{% endif %}
</div>
{% endif %}
{% if post.images %}
<div id="myCarousel" class="carousel slide">
<div class="carousel-inner">
{% for img in post.images %}
<div class="item">
<a href="{{ img }}" rel="prettyPhoto[pp_gal]"><img src="{{ img }}" /></a>
</div>
{% endfor %}
</div>
<a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">›</a>
</div>
{% endif %}
<h1><a href="{{ post.url | remove:'.html' }}" class="post-title">{{ post.title }}</a> <i class="icon-link"></i></h1>
{{ post.content | split:'<!--excerpt-->' | first }}
<a href="{{ post.url | remove:'.html' | append:'#more' }}">...Read more</a>
<hr>
<ul class="meta">
<li class="post-date"><i class="icon-calendar"></i><a href="{{ post.url | remove:'.html' }}">{{ post.date | date_to_string }}</a></li>
<!--<li><i class="icon-user"></i><a href="" title="Posts by admin" rel="author">{{ post.author }}</a></li>-->
<li><i class="icon-list"></i><a href="{{ post.url | remove:'.html' | append:'#more' }}">Read more...</a>
<!--<a href="" title="View all posts in link" rel="category tag">Link</a>--></li>
<li><i class="icon-comment"></i><a href="{{ post.url | remove:'.html' }}#disqus_thread">0 Comments</a></li>
</ul>
<ul class="tags">
<li class="tags-list">
<i class="icon-tags"></i>
{% for tag in post.tags %}
<a href="/tags/#{{ tag }}" rel="tag">{{ tag }}</a>
{% endfor %}
</li>
</ul>
</div>
{% endfor %}
<p>
<a href="/archive/">More posts...</a>
</p>
<p>
<a href="/tags/">Posts by Tags...</a>
</p>