aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/_layouts')
-rw-r--r--site/_layouts/default.html37
-rw-r--r--site/_layouts/redirect.html1
2 files changed, 38 insertions, 0 deletions
diff --git a/site/_layouts/default.html b/site/_layouts/default.html
new file mode 100644
index 0000000..7ff8d4d
--- /dev/null
+++ b/site/_layouts/default.html
@@ -0,0 +1,37 @@
1<!doctype html>
2<html lang="en">
3 <head>
4 <meta content="width=device-width, initial-scale=1.0" name="viewport">
5 <meta content="text/html; charset=utf-8" http-equiv="content-type">
6 <link rel="icon" href="/assets/icon.png" type="image/png" sizes="24x24">
7 <link href="/assets/new.css" rel="stylesheet" type="text/css">
8 <meta content="summary" name="twitter:card">
9 <meta content="{{ site.title }}" name="twitter:title">
10 <title>Photos</title>
11 <meta content="{{ site.title }}" property="og:title">
12 <meta content="blog" property="og:type">
13 <meta content="{{ site.description }}" name="description">
14 <link href="https://fonts.googleapis.com/css2?family=Readex+Pro&display=swap" rel="stylesheet">
15
16 </head>
17 <body class="{% if page.root != true %}post-body{% endif %}" data-page-title="{{ page.title }}">
18 <header>
19 <h1 class="h1">
20 {{ page.title }}
21 </h1>
22 </header>
23 <main>
24 {{ content }}
25 </main>
26 <footer>
27 <hr class="hr">
28 {% capture label %}View source{% endcapture %}
29 Made w/ ❤️ from 🇨🇦
30 (<a href="https://cgit.jinwei.me/clarkzjw/photo/">{{ label }}</a>)
31 </footer>
32
33 {% if page.root %}
34 <script defer type="module" src="/assets/site.js"></script>
35 {% endif %}
36 </body>
37</html>
diff --git a/site/_layouts/redirect.html b/site/_layouts/redirect.html
new file mode 100644
index 0000000..3e2238f
--- /dev/null
+++ b/site/_layouts/redirect.html
@@ -0,0 +1 @@
<meta http-equiv="refresh" content="0; url={{ page.redirect_to }}">
Powered by cgit v1.2.3 (git 2.41.0)