-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (55 loc) · 3.25 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
---
<!DOCTYPE html>
<html lang="en">
<head>
{% if site.use_css == true %}
<meta http-equiv="x-dns-prefetch-control" content="on" />
<link rel="dns-prefetch" href="https://cdnjs.cloudflare.com" />
<link rel="dns-prefetch" href="https://fonts.gstatic.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
{% endif %}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ site.name }}</title>
{% if site.description != "" %}
<meta name="description" content="{{ site.description | markdownify | strip_html }}" />
{% endif %}
<link rel="canonical" href="{{ site.url }}" />
<link rel="alternate" href="{{ site.baseurl }}/links.atom" title="Feed" type="application/atom+xml" />
<link rel="alternate" href="{{ site.baseurl }}/links.json" title="JSON feed" type="application/json" />
{% if site.use_css == true %}
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" integrity="sha384-wKclsw1inR27tF/KhTEhyufz5SmBKSkOaIEKhq9qu8QbqeaMhzuGtCQmrghNKXq0" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Raleway:400,300,600" />
{% endif %}
</head>
<body>
<main role="main" class="container">
<header {% if site.use_css == true %}class="one-half columns" style="margin-top: 5%" {% endif %}role="banner">
<h1>{{ site.name }}</h1>
</header>
<nav class="twelve columns" role="navigation">
<ul>
{% for link in site.data.links %}
{% capture archive_link %}{% if link.archive %}<a title="Archive link for {{ site.quotes.left }}{{ link.title | smartify }}{{ site.quotes.right }}" href="{{ link.archive }}">{{ site.archive_symbol }}</a>{% else %}<a title="Automatically generated archive link for {{ site.quotes.left }}{{ link.title | smartify }}{{ site.quotes.right }}" href="https://web.archive.org/web/*/{{ link.url }}">(unarchived)</a>{% endif %}{% endcapture %}
<li><time datetime="{{ link.date | date: "%Y-%m-%d" }}" is="time-ago" title="{{ link.date | date: "%Y-%m-%d" }}">{{ link.date | date_to_string }}</time> <span><a href="{{ link.url }}">{{ site.quotes.left }}{{ link.title | smartify }}{{ site.quotes.right }}</a> {{ archive_link }}</span></li>
{% endfor %}
</ul>
</nav>
</main>
</body>
{% if site.ga != "UA-XXXXXXXX-Y" %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga("create", "{{ site.ga }}", "{{ site.url | remove: "https://" }}");
ga("set", "anonymizeIp", true);
ga("set", "forceSSL", true);
ga("send", "pageview");
</script>
{% endif %}
</body>
</html>