-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
100 lines (90 loc) · 4.64 KB
/
blog.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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
---
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if page.title %}{{ page.title }} — {{ site.to.title }}{% else %}{{ site.to.title }} — {{ site.to.subtitle }}{% endif %}</title>
{% if site.to.google_font %}<link href="https://fonts.googleapis.com/css?family={{ site.to.google_font }}" rel="stylesheet" type="text/css">{% endif %}
<link rel="stylesheet" type="text/css" href="/source/main.css">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="/images/{{ site.to.logo }}"/>
<meta name="title" content="{% if page.title %}{{ page.title }} {% else %}{{ site.to.title }}{% endif %}">
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
{% if page.site.gplus %}<link rel="publisher" href="https://plus.google.com/{{ site.to.gplus }}">{% endif %}
{% if page.author.gplus %}<link rel="author" href="https://plus.google.com/{{ page.author.gplus }}">{% endif %}
<meta property="og:title" content="{% if page.title %}{{ page.title }} {% else %}{{ site.to.title }}{% endif %}"/>
<meta property="og:url" content="{{ site.url }}{{ page.url }}"/>
{% if page.cover_image %}
<meta property="og:image" content="{{ site.url }}/images/{{ page.cover_image }}"/>
<meta property="og:image" content="{{ site.url }}/images/{{ site.to.logo }}"/>
{% endif %}
{% if page.excerpt %}
<meta property="og:description" content="{{ page.excerpt }}"/>
<meta name="description" content="{{ page.excerpt }}"/>
{% endif %}
<meta property="og:site_name" content="{{ site.to.title }}">
</head>
<body>
<section class="site-nav">
<header>
<nav id="navigation">
<a class="brand" href="/">
<img src="/images/{{ site.to.logo }}" alt="Inc">
</a>
<a href="/" class="home">Home</a>
{% if site.to.blog_link %}<a href="{{ site.to.blog_link }}">Blog</a>{% endif %}
{% if site.to.about_link %}<a href="{{ site.to.about_link }}">About</a>{% endif %}
{% if site.to.portfolio_link %}<a href="{{ site.to.portfolio_link }}">Portfolio</a>{% endif %}
</nav>
{% if site.to.tagline %}<nav class="tagline">
{% if site.to.tagline %}<span>{{ site.to.tagline }}</span>{% endif %}
{% if site.to.contact_link %}<a href="{{ site.to.contact_link }}" class="btn btn-outline">Get In Touch</a>{% endif %}
</nav>{% endif %}
</header>
</section>
<article class="container">
{% for post in site.posts %}
{% unless post.draft %}
<section class="index">
{% if post.author.image %}<img src="/images/{{ post.author.image }}" class="avatar">{% endif %}
<div>
<h2 class="title"><a href="{{ post.url }}" rel="prefetch">{{ post.title }}</a></h2>
<p>{{ post.excerpt }}</p>
<div class="meta">
Written By <address>{{ post.author.name }}</address> —
<time pubdate datetime="{{ post.date | date: "%Y-%d-%B" }}" title="{{ post.date | date: "%B %d, %Y" }}">{{ post.date | date: "%B %d, %Y" }}</time>
</div>
</div>
<hr>
</section>
{% endunless %}
{% endfor %}
</article>
<footer class="site-footer">
<div class="container">
<nav>
<a href="/" class="home">Home</a> ·
{% if site.to.blog_link %}<a href="{{ site.to.blog_link }}">Blog</a>{% endif %} ·
{% if site.to.about_link %}<a href="{{ site.to.about_link }}">About</a> · {% endif %}
{% if site.to.portfolio_link %}<a href="{{ site.to.portfolio_link }}">Portfolio</a> · {% endif %}
{% if site.to.contact_link %}<a href="{{ site.to.contact_link }}">Contact</a>{% endif %}
</nav>
<nav class="social">
{% if site.to.twitter %}
<a href="https://twitter.com/{{ site.to.twitter }}" title="Follow on Twitter" target="_blank"><i class="icon icon-twitter"></i></a>
{% endif %}
{% if site.to.facebook %}
<a href="http://facebook.com/{{ site.to.facebook }}" title="Follow on Facebook" target="_blank"><i class="icon icon-facebook"></i></a>
{% endif %}
<!--<a href="/feed.xml" title="RSS Feed">
<i class="icon icon-rss black"></i>
</a>-->
</nav>
<p><span style="margin-right:.3em;">© {{ site.time | date: "%Y" }}</span> TimbaObjects Technologies Ltd.</p>
</div>
</footer>
{% include _scripts.html %}
</body>
</html>