annotate _includes/head.html @ 159:d8eb48d642d1

Add Open Graph protocol meta data for social media sharing.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 06 Sep 2018 20:15:57 +0200
parents 78b9661d8a36
children 6f7960fdca0e
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 <head>
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
2 <meta charset="utf-8">
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
3 <meta http-equiv="X-UA-Compatible" content="IE=edge">
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
4 <meta name="viewport" content="width=device-width, initial-scale=1">
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
5
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
6 <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
159
d8eb48d642d1 Add Open Graph protocol meta data for social media sharing.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 142
diff changeset
7 <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | lstrip | rstrip | truncate: 140 }}{% else %}{{ site.description | strip_html | lstrip | rstrip | truncate: 140 }}{% endif %}">
d8eb48d642d1 Add Open Graph protocol meta data for social media sharing.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 142
diff changeset
8 <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
d8eb48d642d1 Add Open Graph protocol meta data for social media sharing.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 142
diff changeset
9 <meta property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | lstrip | rstrip | truncate: 140 }}{% else %}{{ site.description | strip_html | lstrip | rstrip | truncate: 140 }}{% endif %}">
d8eb48d642d1 Add Open Graph protocol meta data for social media sharing.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 142
diff changeset
10 <meta property="og:image" content="https://www.gnu.org/software/octave/img/octave-logo.svg">
d8eb48d642d1 Add Open Graph protocol meta data for social media sharing.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 142
diff changeset
11 <meta property="og:image:alt" content="GNU Octave">
d8eb48d642d1 Add Open Graph protocol meta data for social media sharing.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 142
diff changeset
12 <meta property="og:type" content="website">
d8eb48d642d1 Add Open Graph protocol meta data for social media sharing.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 142
diff changeset
13 <meta property="og:url" content="{{ page.url | absolute_url }}">
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
14
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
15 <link rel="stylesheet" href="{{ "/css/foundation.min.css" | relative_url }}">
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
16 <link rel="stylesheet" href="{{ "/css/normalize.css" | relative_url }}">
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
17 <link rel="stylesheet" href="{{ "/css/app.css" | relative_url }}">
97
7dd5053fdca1 Remove unused CSS for syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 94
diff changeset
18 <link rel="stylesheet" href="{{ "/css/syntax-highlight.css" | relative_url }}">
110
40babc87d1bc Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 98
diff changeset
19 <noscript>
40babc87d1bc Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 98
diff changeset
20 <style>
40babc87d1bc Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 98
diff changeset
21 div.no-js { position: relative; }
40babc87d1bc Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 98
diff changeset
22 nav.no-js { height: auto; }
40babc87d1bc Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 98
diff changeset
23 .tabs-content > div.no-js { display: block; }
40babc87d1bc Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 98
diff changeset
24 </style>
40babc87d1bc Enable website accessabilty without Javascript.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 98
diff changeset
25 </noscript>
97
7dd5053fdca1 Remove unused CSS for syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 94
diff changeset
26
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
27 <script src="{{ "/js/vendor/modernizr.js" | relative_url }}"></script>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
28 <script src="{{ "/js/vendor/jquery.js" | relative_url }}"></script>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
29 <script src="{{ "/js/foundation/foundation.js" | relative_url }}"></script>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
30 <script src="{{ "/js/foundation/foundation.reveal.js" | relative_url }}"></script>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
31 <script src="{{ "/js/foundation/foundation.topbar.js" | relative_url }}"></script>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
32 <script src="{{ "/js/foundation/foundation.tab.js" | relative_url }}"></script>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
33 <script src="{{ "/js/foundation/foundation.dropdown.js" | relative_url }}"></script>
98
86b96d9a0075 Format main page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 97
diff changeset
34
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
35 <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 5
diff changeset
36 <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | relative_url }}">
0
7abe02bf29ec initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff changeset
37 </head>