Skip to content

Commit 015e865

Browse files
authored
Create default.html
1 parent 46232fa commit 015e865

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

_layouts/default.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
{% seo %}
9+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
10+
<style>
11+
.footer {
12+
text-align: center;
13+
margin-bottom: 1rem;
14+
}
15+
16+
.footer-logo {
17+
width: 150px;
18+
}
19+
</style>
20+
</head>
21+
<body>
22+
<div class="container-lg px-3 my-5 markdown-body">
23+
{% if site.title and site.title != page.title %}
24+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
25+
{% endif %}
26+
27+
{{ content }}
28+
29+
{% if site.github.private != true and site.github.license %}
30+
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
31+
This site is open source. {% github_edit_link "Improve this page" %}.
32+
</div>
33+
{% endif %}
34+
</div>
35+
<footer class="footer">
36+
<a href="https://www.innoq.com">
37+
<img src="/images/supported-by-innoq--petrol-apricot.svg" class="footer-logo" />
38+
</a>
39+
</footer>
40+
<script src="{{ "assets/javascript/anchor-js/anchor.min.js" | relative_url }}"></script>
41+
<script>anchors.add();</script>
42+
{% if site.google_analytics %}
43+
<script>
44+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
45+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
46+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
47+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
48+
ga('create', '{{ site.google_analytics }}', 'auto');
49+
ga('send', 'pageview');
50+
</script>
51+
{% endif %}
52+
<script data-mode="hash" async defer src="https://cdn.simpleanalytics.io/hello.js"></script>
53+
<noscript><img src="https://api.simpleanalytics.io/hello.gif" alt=""></noscript>
54+
</body>
55+
</html>

0 commit comments

Comments
 (0)