-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (56 loc) · 2.52 KB
/
index.html
File metadata and controls
71 lines (56 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
layout: default
title: Home
cover: /assets/images/cover.jpg
about: about/
---
<header class="site-head" {% if page.cover %} style="background-image: url({{ page.cover }})"{% endif %}>
<div class="vertical">
<div class="site-head-content" class="inner">
{% if page.logo %}
<a class="blog-logo" href="{{ site.baseurl }}">
<img src="{{ page.logo }}" alt="Blog Logo" />
</a>
{% endif %}
<a href="/"> <img class="profile-main" src="/assets/images/bio-photo.jpg" alt="Author's profile picture">
</a>
<h1 class="blog-title">{{ site.name }}</h1>
<h2 class="blog-description">
{{ site.description }}.
{% if page.about %} <a href="{{page.about}}"> About me </a> {% endif %}
</h2>
<br>
<div>
<a class="genericon genericon-facebook social-buttons float"href="http://www.facebook.com/ananth.madhavan"></a>
<a class="genericon genericon-twitter social-buttons float" href="http://twitter.com/AnanthMadhavan"></a>
<a class="genericon genericon-github social-buttons float" href="http://github.com/ananth99"></a>
</div>
</div>
</div>
</header>
<main class="content" role="main">
{% for post in paginator.posts %}
<article class="post">
<header class="post-header">
<span class="post-meta"><time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date_to_string }}</time> {{!tags prefix="on "}}</span>
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt">
{{ post.description }}
</section>
</article>
{% endfor %}
<nav class="pagination" role="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="newer-posts" href="/" title="Previous Page">« Newer Posts</a>
{% else %}
<a class="newer-posts" href="/page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a>
{% endif %}
{% endif %}
<span class="page-number"> Page {{paginator.page}} of {{paginator.total_pages}} </span>
{% if paginator.next_page %}
<a class="older-posts" href="/page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a>
{% endif %}
</nav>
</main>