forked from sumn2u/learn-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.html
More file actions
31 lines (25 loc) · 1.39 KB
/
layout.html
File metadata and controls
31 lines (25 loc) · 1.39 KB
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
{% extends "layout.html" %}
{% block head %}
{{ super() }}
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ "images/apple-touch-icon-precomposed-152.png"|resolveAsset }}">
<link rel="shortcut icon" href="{{ "images/favicon.ico"|resolveAsset }}" type="image/x-icon">
<meta property="og:image" content="https://github-production-user-asset-6210df.s3.amazonaws.com/80192140/277288453-4e65df60-ee6d-41af-8911-931e7f43313c.png" />
<meta property="twitter:image" content="https://github-production-user-asset-6210df.s3.amazonaws.com/80192140/277288453-4e65df60-ee6d-41af-8911-931e7f43313c.png" />
<script src="/website/dark-mode.js"></script>
{% endblock %}
{% block style %}
{### Include theme css before plugins css ###}
<link rel="stylesheet" href="{{ "style.css"|resolveAsset }}">
{{ super() }}
{### Custom stylesheets for the book ###}
{% for type, style in config.styles %}
{% if fileExists(style) and type == "website" %}
<link rel="stylesheet" href="{{ style|resolveFile }}">
{% endif %}
{% endfor %}
{% endblock %}
{% block body %}{% endblock %}