annotate _layouts/default.html @ 261:5e56e2942f22

* Update FontAwesome.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 23 Aug 2021 17:53:50 +0900
parents 598d7f098082
children 2e13395adcc0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
1 <!DOCTYPE html>
210
d402a202c57e * _layouts/default.html: add "lang" attribute.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 206
diff changeset
2 <html lang="en">
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
3
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
4 <head>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
5 <meta charset="utf-8">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
6 <meta http-equiv="X-UA-Compatible" content="IE=edge">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
7 <meta name="viewport" content="width=device-width, initial-scale=1">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
8
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
9 <title>{{ page.title | default: site.title }}</title>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
10 <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | lstrip | rstrip | truncate: 140 }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
11 <meta property="og:title" content="{{ page.title | default: site.title }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
12 <meta property="og:description" content="{{ page.excerpt | default: site.description | strip_html | lstrip | rstrip | truncate: 140 }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
13 <meta property="og:image" content="{{ "/img/octave-logo.png" | absolute_url }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
14 <meta property="og:image:alt" content="GNU Octave">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
15 <meta property="og:type" content="website">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
16 <meta property="og:url" content="{{ page.url | absolute_url }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
17 <meta name="twitter:card" content="summary">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
18
201
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
19 <link
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
20 rel="stylesheet"
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
21 href="https://cdn.jsdelivr.net/npm/foundation-sites@6.6.3/dist/css/foundation.min.css"
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
22 integrity="sha256-ogmFxjqiTMnZhxCqVmcqTvjfe1Y/ec4WaRj/aQPvn+I="
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
23 crossorigin="anonymous">
241
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
24 <link rel="stylesheet"
261
5e56e2942f22 * Update FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 241
diff changeset
25 href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
5e56e2942f22 * Update FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 241
diff changeset
26 integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
5e56e2942f22 * Update FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 241
diff changeset
27 crossorigin="anonymous" referrerpolicy="no-referrer">
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
28 <link rel="stylesheet" href="{{ "/css/app.css" | relative_url }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
29 <link rel="stylesheet" href="{{ "/css/syntax-highlight.css" | relative_url }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
30
201
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
31 <script
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
32 src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
33 integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
34 crossorigin="anonymous"></script>
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
35 <script
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
36 src="https://cdn.jsdelivr.net/npm/foundation-sites@6.6.3/dist/js/foundation.min.js"
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
37 integrity="sha256-pRF3zifJRA9jXGv++b06qwtSqX1byFQOLjqa2PTEb2o="
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
38 crossorigin="anonymous"></script>
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
39
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
40 <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
41 <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | relative_url }}">
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
42 </head>
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
43
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
44 <body>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
45
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
46 <div data-sticky-container>
241
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
47 <div class="dark-background" data-sticky data-options="marginTop:0;">
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
48 <div class="top-bar">
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
49 <div class="top-bar-left octave-logo">
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
50 <a href="{{ "/" | relative_url }}">
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
51 <img src="{{ "/img/octave-logo.svg" | relative_url }}"
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
52 style="width: 32px; height: auto" alt="GNU Octave logo">
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
53 <span>{{ site.title }}</span>
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
54 </a>
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
55 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
56 <div class="top-bar-right">
241
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
57 <ul class="dropdown menu" data-dropdown-menu>
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
58 {%- for page in site.pages -%}
241
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
59 {%- if page.menu -%}
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
60 <li>
241
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
61 <a href="{{ page.url | relative_url }}">{{ page.icon }}
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
62 {{ page.title }}
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
63 </a>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
64 </li>
241
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
65 {%- endif -%}
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
66 {%- endfor -%}
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
67 </ul>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
68 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
69 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
70 </div>
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
71 </div>
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
72
241
598d7f098082 Overhaul website, less JavaScript, more FontAwesome.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 214
diff changeset
73 <div class="grid-container grid-container-mod">
214
fe5dcb23372a * _layouts/default.html: add another blind paragraph.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 213
diff changeset
74
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
75 {{ content }}
102
8d1c300f0a3a Layout changes suggested by Alex to avoid horizontal scrolling.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 0
diff changeset
76
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
77 <footer class="text-center">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
78 <p>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
79 Octave is free software under the
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
80 <a href="{{ "license.html" | relative_url }}">GNU General Public License.</a>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
81 </p>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
82 <small>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
83 Copyright © 1998-{{ site.time | date: "%Y" }} John W. Eaton.
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
84 This work is licensed under a
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
85 <a rel="license" href="https://creativecommons.org/licenses/by-nd/4.0/">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
86 Creative Commons Attribution-NoDerivatives 4.0 International License</a>.
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
87 Get the <a href="http://hg.octave.org/web-octave/file/tip">page sources</a>.
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
88 </small>
213
370d7d0cdf7d Fix layout at different default font sizes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 210
diff changeset
89 <p></p>
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
90 </footer>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
91
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
92 <script>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
93 $(document).foundation();
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
94 </script>
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
95 </div>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
96
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
97 </body>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
98
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
99 </html>