-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdefault.html
76 lines (76 loc) · 3.95 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!doctype html>
<html lang="{{ site.lang | default: 'en-US' }}">
<!--
___ _ ___ ___ ___ ___ ___ ___
| _ ) /_\ / __|_ _/ __|__| \ / _ \/ __|
| _ \/ _ \\__ \| | (_|___| |) | (_) \__ \
|___/_/ \_\___/___\___| |___/ \___/|___/
-->
{% comment %}
BASIC-DOS website © 2020-2021 by Jeff Parsons (@jeffpar)
ASCII art from http://patorjk.com/software/taag/#p=display&f=Small&t=BASIC-DOS
{% endcomment %}
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% if page.title %}{{ page.title }} | BASIC-DOS{% else %}{{ site.title }}{% endif %}</title>
<meta name="author" content="{{ site.author }}">
<meta property="og:locale" content="en_US">
<meta property="og:site_name" content="{{ site.title }}">
<meta name="description" property="og:description" content="{{ site.title }}: {{ site.description | default: site.github.project_tagline | rstrip }}">
{%- comment %}{% seo %}{% endcomment %}
{%- if page.title != nil %}
<meta name="twitter:title" property="og:title" content="{{ page.title }}">
{%- else %}
<meta name="twitter:title" property="og:title" content="BASIC-DOS">
{%- endif %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="{{ site.twitter_id | default: '@jeffpar' }}">
{%- if page.preview != nil %}
<meta name="twitter:image" property="og:image" content="{{ page.preview | prepend: site.baseurl | prepend: site.url }}">
{%- else %}
<meta name="twitter:image" property="og:image" content="{{ '/assets/images/BASIC-DOS-Cover.gif' | prepend: site.baseurl | prepend: site.url }}">
{%- endif %}
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/pcjs.css' | relative_url }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="wrapper">
<section>
<div id="title">
<h1><a href="{{ site.betaurl }}/">{{ site.title | default: site.github.repository_name }}</a></h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
<div id="header">
<menu>
<li class="internal"><a href="{{ site.betaurl }}/blog/">Blog</a></li>
<li class="internal"><a href="{{ site.betaurl }}/build/">Build</a></li>
<li class="internal"><a href="{{ site.betaurl }}/docs/">Docs</a></li>
<li class="internal"><a href="{{ site.betaurl }}/preview/">Preview</a></li>
<li class="external"><a href="{{ site.github.repository_url }}">Repo</a></li>
</menu>
</div>
<span class="credits left"><a href="https://twitter.com/basicdos">BASIC-DOS</a> is on Twitter</span>
<span class="credits right">Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></span>
</div>
{{ content }}
<p>
<span class="credits left">Copyright (c) 2020-2021 <a href="mailto:[email protected]">Jeff Parsons</a></span>
<span class="credits right">Released under <a href="https://basicdos.com/LICENSE.txt">MIT License</a></span>
</p>
</section>
</div>
{% include scripts.html -%}
{%- if site.google_analytics and site.developer != true %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{%- endif %}
</body>
</html>