-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.html
33 lines (26 loc) · 1.03 KB
/
default.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
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<!-- General meta -->
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if page.indexing == false %}
<meta name="robots" content="noindex">
{% endif %}
{% if page.collectionpage %}
{% seo title=false %}
{% assign collectiondata = site.collections | where: "label", page.collectionpage | first %}
<title>{{ collectiondata.title }} - {{ site.title }}</title>
<meta property="og:title" content="{{ collectiondata.title }}">
<meta name="description" content="{{ collectiondata.description }}">
<meta property="og:description" content="{{ collectiondata.description }}">
{% else %}
{% seo %}
{% endif %}
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
{% if site.avatarurl %}{% include site-favicons.html %}{% endif %}
</head>
<body class="layout-{{ page.layout }}{% if page.title %} {{ page.title | slugify }}{% endif %}">
{% include site-icons.svg %}
{{ content }}
</body>
</html>