2018-07-04 23:47:24 +00:00
|
|
|
<!DOCTYPE html>
|
2017-05-20 22:06:30 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
{{ template "title" . }}
|
2018-07-04 23:47:24 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2017-05-20 22:40:12 +00:00
|
|
|
<link rel="stylesheet" href="/css/hack.css" />
|
2018-07-04 23:47:24 +00:00
|
|
|
<link rel="stylesheet" href="/css/gruvbox-dark.css" />
|
2018-10-20 20:03:36 +00:00
|
|
|
<link rel="manifest" href="/static/manifest.json" />
|
2017-05-21 01:03:16 +00:00
|
|
|
|
|
|
|
<link rel="alternate" type="application/rss+xml" href="https://christine.website/blog.rss" />
|
|
|
|
<link rel="alternate" type="application/atom+xml" href="https://christine.website/blog.atom" />
|
|
|
|
<link rel="alternate" title="My Feed" type="application/json" href="https://christine.website/blog.json" />
|
|
|
|
|
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href="/static/favicon/apple-icon-57x57.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="60x60" href="/static/favicon/apple-icon-60x60.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/static/favicon/apple-icon-72x72.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href="/static/favicon/apple-icon-76x76.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="/static/favicon/apple-icon-114x114.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href="/static/favicon/apple-icon-120x120.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/static/favicon/apple-icon-144x144.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/static/favicon/apple-icon-152x152.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-icon-180x180.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/static/favicon/android-icon-192x192.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="96x96" href="/static/favicon/favicon-96x96.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">
|
|
|
|
<link rel="manifest" href="/static/favicon/manifest.json">
|
|
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
|
|
<meta name="msapplication-TileImage" content="/static/favicon/ms-icon-144x144.png">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
2017-05-20 22:06:30 +00:00
|
|
|
<style>
|
|
|
|
.main {
|
|
|
|
padding: 20px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack h1 {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer.footer {
|
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
margin-top: 80px;
|
|
|
|
margin-top: 5rem;
|
|
|
|
padding: 48px 0;
|
|
|
|
padding: 3rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2017-05-21 02:34:46 +00:00
|
|
|
padding: 1em;
|
2017-05-20 22:06:30 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
{{ template "styles" . }}
|
|
|
|
</head>
|
2018-07-04 23:47:24 +00:00
|
|
|
<body class="hack gruvbox-dark">
|
2017-05-20 22:06:30 +00:00
|
|
|
{{ template "scripts" . }}
|
|
|
|
<div class="container">
|
|
|
|
<header>
|
2018-10-31 23:10:04 +00:00
|
|
|
<p><a href="/">{{ trans "header" "name" }}</a> - <a href="/blog">{{ trans "header" "blog" }}</a> - <a href="/contact">{{ trans "header" "contact" }}</a> - <a href="/resume">{{ trans "header" "resume" }}</a></p>
|
2017-05-20 22:06:30 +00:00
|
|
|
</header>
|
|
|
|
{{ template "content" . }}
|
|
|
|
<footer>
|
2018-10-31 23:10:04 +00:00
|
|
|
<blockquote>{{ trans "meta" "copyright" "2018" }}</blockquote>
|
2017-05-20 22:06:30 +00:00
|
|
|
</footer>
|
2018-10-20 20:17:13 +00:00
|
|
|
<script>
|
|
|
|
if (navigator.serviceWorker.controller) {
|
|
|
|
console.log("Active service worker found, no need to register");
|
|
|
|
} else {
|
2018-10-20 20:34:44 +00:00
|
|
|
navigator.serviceWorker.register("/sw.js").then(function(reg) {
|
2018-10-20 20:17:13 +00:00
|
|
|
console.log("Service worker has been registered for scope:" + reg.scope);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
</script>
|
2017-05-20 22:06:30 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
{{ define "scripts" }}{{ end }}
|
|
|
|
{{ define "styles" }}{{ end }}
|