summaryrefslogtreecommitdiff
path: root/_layouts/default.html
blob: e817bc0c91dba4bade20058c74e4047b93b370d0 (plain)
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
{%   comment %} === DESCRIPTION === {% endcomment
%}{% if page.description %}{% assign desc = page.description %}{% else
%}{% assign desc = site.description %}{% endif
%}{% assign url = site.url | append: site.baseurl | append: page.url

%}{% comment %} === AUTHOR === {% endcomment
%}{% if page.author %}{% assign author = site.data.authors[page.author]
%}{% else %}{% assign author = site.data.authors[site.author]
%}{% endif

%}<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">

<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.name }}</title>
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
<meta name="author" content="{{ author.name.first }} {{ author.name.last }}">
{% if author.website
%}<link rel="author" href="{{ author.website }}">
{% endif
%}<meta property="og:description" name="description" content="{{ desc }}">
<link rel="icon" type="image/png" href="{{ site.baseurl }}/favicon.png">
<!--[if IE]>
<link rel="shortcut icon" type="image/ico" href="{{ site.baseurl }}/favicon.ico">
<[endif]-->

<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %}">
<meta property="og:site_name" content="{{ site.name }}">
<meta property="og:url" content="{{ url }}">
<meta property="og:type" content="website">
{% if site.thumb
%}<meta property="og:image" content="{{ site.url }}{% asset "{{ site.thumb }}" @path %}">
{% endif
%}
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{% if page.title %}{{ page.title }} | {% endif %}{{ site.name }}">
<meta name="twitter:description" content="{{ desc }}">
<meta name="twitter:url" content="{{ url }}">
{% if site.thumb
%}<meta name="twitter:image" content="{{ site.url }}{% asset "{{ site.thumb }}" @path %}">
{% endif
%}
{% if site.flattr
%}<meta name="flattr:id" content="{{ site.flattr }}">
{% endif
%}
{% if site.google-verification
%}<!-- Google verification -->
<meta name="google-site-verification" content="{{ site.google-verification }}">
{% endif
%}
<link rel="pavatar" href="{{ site.url }}{{ site.baseurl }}/pavatar.png">

{% asset css/light.css title="Light theme" %}
{% asset css/dark.css  title="Dark theme"  rel="alternate stylesheet" %}
</head><body><div class="container">
<div class="higher">

<!-- Main content. -->

<section class="content">
<div class="content-title">
<h1>John Touhey</h1><p class="int">: </p><h2>{% if page.layout == "post" %}{{ page.date | date_to_string }}: {% endif %}{% if page.title %}{{ page.title }}{% else %}About myself{% endif %}</h2>
</div>

<hr />

{{ content | strip }}
</section>

<!-- Sidebar. -->

<div class="side">
<div class="side-photo"><a href="{{ site.url }}{{ site.baseurl }}/">
{% asset profile.jpg magick:resize="350x350" alt="Photo of me during a concert" class="picture" %}
</a></div>

<div class="side-content"><header>
	<p class="menu-title">John Touhey</p>
	<p>Musician, painter, father.</p>
</header><nav><ul>
	<li><a href="{{ site.baseurl }}/">Home</a></li>
	<li><a href="{{ site.baseurl }}/biography.html">Biography</a></li>
	<li><a href="{{ site.baseurl }}/paintings.html">Paintings</a></li>
</ul></nav></div>
</div></div>

<!-- Footer. -->

<hr /><footer>
<p>Copyright (C) 2017 - {{ site.time | date: "%Y" }} <a href="{{ site.url }}{{ site.baseurl }}/">John Touhey</a> &lt;<a href="mailto:john.touhey@orange.fr">john.touhey@orange.fr</a>&gt;. All&nbsp;rights&nbsp;reserved.<br />
Website design by <a href="https://thomas.touhey.fr/">Thomas Touhey</a> &lt;<a href="mailto:thomas@touhey.fr">thomas@touhey.fr</a>&gt;</p>
</footer>

</div></body></html>