diff options
author | clarkzjw <[email protected]> | 2023-02-28 21:54:53 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-28 22:34:04 -0800 |
commit | e0a69eb031316ae145f1c40319bceb8ec520ad44 (patch) | |
tree | 6f436581b4c29b61ba4d82e09a7eecdc4f73fb24 /_layouts/default.html | |
parent | 6a77e4e0494e14fdbe1cb7847d2880132714d568 (diff) | |
download | photo-e0a69eb031316ae145f1c40319bceb8ec520ad44.tar.gz |
init project structure
Diffstat (limited to '_layouts/default.html')
-rw-r--r-- | _layouts/default.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..168424f --- /dev/null +++ b/_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 | Jinwei Zhao | ||
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> | ||