annotate _layouts/default.html @ 203:3a99431030c1

Update website to use the foundation 6 framework.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 09 Jul 2020 17:51:40 +0900
parents 4f6a8d987f7f
children 68d54c6d397a
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>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
2 <html>
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">
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
24 <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
25 <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
26 <noscript>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
27 <style>
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
28 .no-js .title-bar { display: none; }
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
29 @media screen and (min-width: 40em) {
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
30 .no-js .top-bar { display: block; }
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
31 }
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
32 </style>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
33 </noscript>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
34
201
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/jquery@3.5.1/dist/jquery.min.js"
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
37 integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
38 crossorigin="anonymous"></script>
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
39 <script
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
40 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
41 integrity="sha256-pRF3zifJRA9jXGv++b06qwtSqX1byFQOLjqa2PTEb2o="
4f6a8d987f7f Update foundation framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 194
diff changeset
42 crossorigin="anonymous"></script>
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
43
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
44 <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
45 <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
46 </head>
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
47
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
48 <body>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
49
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
50 <div data-sticky-container>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
51 <div class="no-js" data-sticky data-options="marginTop:0;">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
52
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
53 <div class="title-bar" data-responsive-toggle="homepage-menu" data-hide-for="large">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
54 <!-- title-bar-X is visible in collapsed mode -->
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
55 <div class="title-bar-left">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
56 <div class="title-bar-title octave-logo">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
57 <img src="{{ "/img/octave-logo.svg" | relative_url }}"
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
58 style="width: 32px; height: auto" alt="GNU Octave logo">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
59 <a href="{{ "/" | relative_url }}" style="height:100%">{{ site.title }}</a>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
60 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
61 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
62 <div class="title-bar-right">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
63 <button class="menu-icon" type="button" data-toggle="homepage-menu"></button>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
64 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
65 </div>
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
66
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
67 <div class="top-bar" id="homepage-menu">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
68 <div class="top-bar-left">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
69 <div class="octave-logo">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
70 <img src="{{ "/img/octave-logo.svg" | relative_url }}"
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
71 style="width: 32px; height: auto" alt="GNU Octave logo">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
72 <a href="{{ "/" | relative_url }}" style="height:100%">{{ site.title }}</a>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
73 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
74 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
75 <div class="top-bar-right">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
76 <ul class="vertical medium-horizontal dropdown menu" data-responsive-menu="accordion large-dropdown">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
77 {%- for page in site.pages -%}
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
78 {%- if page.menu -%}
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
79 <li>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
80 <a href="{{ page.url | relative_url }}">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
81 <i class="{{ page.icon | default: "fi-list" }}"></i>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
82 <span>{{ page.title }}</span>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
83 </a>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
84 </li>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
85 {%- endif -%}
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
86 {%- endfor -%}
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
87 <li>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
88 <a href="{{site.docs_url}}">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
89 <i class="fi-arrow-down"></i>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
90 <span>Docs</span>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
91 </a>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
92 </li>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
93 </ul>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
94 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
95 </div>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
96 </div>
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
97 </div>
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
98
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
99
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
100
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
101
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
102 <div class="grid-container">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
103 {{ content }}
102
8d1c300f0a3a Layout changes suggested by Alex to avoid horizontal scrolling.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 0
diff changeset
104
203
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
105 <footer class="text-center">
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
106 <p>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
107 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
108 <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
109 </p>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
110 <small>
3a99431030c1 Update website to use the foundation 6 framework.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 201
diff changeset
111 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
112 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
113 <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
114 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
115 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
116 </small>
194
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
117 </footer>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
118
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
119 <script>
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
120 $(document).foundation();
9ac0211ca132 * _layouts/default.html: Inline includes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 102
diff changeset
121 </script>
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
122 </div>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
123
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
124 </body>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
125
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
126 </html>