Debian Codegraph @

docs/_layouts/default.html

raw symbols SCIP
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 <meta name="author" content="{{ site.github.owner_name }}" />
9 <!-- Open Graph Meta Tags -->
10 <meta
11 property="og:title"
12 content="{{ site.title | default: site.github.repository_name }}"
13 />
14 <meta
15 property="og:description"
16 content="A recreation of the Heroes of Might and Magic II game engine. This open source multiplatform project, written from scratch, is designed to reproduce the original game with significant
17 improvements in gameplay, graphics and logic (including support for high-resolution graphics, improved AI, numerous fixes
18 and user interface improvements), breathing new life into one of the most addictive turn-based strategy games."
19 />
20 <meta
21 property="og:image"
22 content="{{ '/images/screenshots/screenshot_world_map.webp' | absolute_url }}"
23 />
24 <meta property="og:url" content="{{ page.url | absolute_url }}" />
25 <meta property="og:type" content="website" />
26 <meta property="og:site_name" content="fheroes2" />
27 <meta property="article:author" content="{{ site.github.owner_name }}" />
28 <meta property="article:publisher" content="{{ site.github.owner_url }}" />
29 {% if page.date %}
30 <meta
31 property="article:published_time"
32 content="{{ page.date | date_to_xmlschema }}"
33 />
34 {% endif %} {% if page.last_modified_at %}
35 <meta
36 property="article:modified_time"
37 content="{{ page.last_modified_at | date_to_xmlschema }}"
38 />
39 {% endif %}
40
41 <link
42 href="{{ '/assets/css/fonts.css?v=' | append: site.github.build_revision | relative_url }}"
43 rel="preload"
44 as="style"
45 onload="
46 this.rel = 'stylesheet';
47 this.removeAttribute('onload');
48 "
49 />
50
51 <link
52 href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"
53 rel="preload"
54 as="style"
55 onload="
56 this.rel = 'stylesheet';
57 this.removeAttribute('onload');
58 "
59 />
60
61 <!-- Scripts -->
62 <script
63 src="{{ '/assets/js/accessibility-manager.js?v=' | append: site.github.build_revision | relative_url }}"
64 defer
65 ></script>
66 <script
67 src="{{ '/assets/js/theme-manager.js?v=' | append: site.github.build_revision | relative_url }}"
68 defer
69 ></script>
70 <script
71 src="{{ '/assets/js/templates.js?v=' | append: site.github.build_revision | relative_url }}"
72 defer
73 ></script>
74 <script
75 src="{{ '/assets/js/heading-copy-manager.js?v=' | append: site.github.build_revision | relative_url }}"
76 defer
77 ></script>
78 <script
79 src="{{ '/assets/js/code-copy-manager.js?v=' | append: site.github.build_revision | relative_url }}"
80 defer
81 ></script>
82
83 {% seo %}
84 <link
85 rel="shortcut icon"
86 type="image/x-icon"
87 href="{{ '/images/favicon.ico' | relative_url }}"
88 />
89 </head>
90
91 <body>
92 <div class="shell">
93 <div class="theme-toggle-container">
94 <button
95 id="theme-toggle"
96 class="btn btn-primary"
97 aria-label="Toggle dark mode"
98 aria-pressed="false"
99 tabindex="0"
100 >
101 🌙 Dark Mode
102 </button>
103 </div>
104 <header>
105 <h1>
106 <a
107 href="{{ site.baseurl }}/"
108 data-text="{{ site.title | default: site.github.repository_name }}"
109 >{{ site.title | default: site.github.repository_name }}</a
110 >
111 </h1>
112 <h2>
113 A recreation of the <strong>Heroes of Might and Magic II</strong> game
114 engine.
115 </h2>
116 </header>
117
118 <section id="main_content">{{ content }}</section>
119
120 <footer>
121 {% if site.github.is_project_page %}
122 <p>
123 This project by
124 <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>
125 can be found on <a href="{{ site.github.repository_url }}">GitHub</a>
126 </p>
127 {% endif %} {% if site.github.is_user_page %}
128 <p>
129 Projects by
130 <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>
131 can be found on <a href="{{ site.github.repository_url }}">GitHub</a>
132 </p>
133 {% endif %}
134 </footer>
135 </div>
136 </body>
137 </html>