| 1 |
{% include defs.html -%} |
| 2 |
<!DOCTYPE HTML> |
| 3 |
<html lang="en"> |
| 4 |
<head> |
| 5 |
<meta charset="utf-8"> |
| 6 |
<title>{{title}}</title> |
| 7 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 8 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 9 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 10 |
<link rel="stylesheet" href="{{url_root}}inter.css?v={{ release_version }}"> |
| 11 |
<link rel="stylesheet" href="{{url_root}}res/base.css?v={{ base_css_v }}"> |
| 12 |
<link rel="icon" type="image/png" href="{{url_root}}res/favicon.png?v={{ favicon_v }}"> |
| 13 |
<link rel="preload" href="{{url_root}}font-files/InterVariable.woff2?v={{release_version}}" as="font" type="font/woff2" crossorigin="anonymous"> |
| 14 |
<link rel="preload" href="{{url_root}}font-files/InterVariable-Italic.woff2?v={{release_version}}" as="font" type="font/woff2" crossorigin="anonymous"> |
| 15 |
<meta name="format-detection" content="telephone=no"> |
| 16 |
<meta name="twitter:card" content="summary_large_image"> |
| 17 |
<meta name="twitter:site" content="@rsms"> |
| 18 |
<meta name="twitter:creator" content="@rsms"> |
| 19 |
<meta name="twitter:description" content="{{description}}"> |
| 20 |
<meta name="description" content="{{description}}"> |
| 21 |
<meta property="og:description" content="{{description}}"> |
| 22 |
{% if page.title %} |
| 23 |
<meta property="og:title" content="{{ page.title }}"> |
| 24 |
<meta name="twitter:title" content="{{ page.title }}"> |
| 25 |
{% else %} |
| 26 |
<meta property="og:title" content="{{ title }}"> |
| 27 |
<meta name="twitter:title" content="{{ title }}"> |
| 28 |
{% endif %} |
| 29 |
{% if page.og_image_url %} |
| 30 |
<meta property="og:image" content="{{ page.og_image_url }}"> |
| 31 |
<meta name="twitter:image" content="{{ page.og_image_url }}"> |
| 32 |
{% else %} |
| 33 |
<meta property="og:image" content="https://rsms.me/inter/res/share.png"> |
| 34 |
<meta name="twitter:image" content="https://rsms.me/inter/res/share.png"> |
| 35 |
{% endif %} |
| 36 |
<meta property="og:image:alt" content="Inter font family sample image"> |
| 37 |
<meta property="fb:app_id" content="38027689216"> |
| 38 |
<meta property="og:site_name" content="rsms.me/inter"> |
| 39 |
<meta property="og:type" content="product"> |
| 40 |
<meta property="og:locale" content="en_US"> |
| 41 |
<meta property="og:url" content="https://rsms.me/inter{{ page.url }}"> |
| 42 |
{% if page.url contains "/download/" -%} |
| 43 |
{%- if site.is_development_mode %} |
| 44 |
|
| 45 |
{% endif -%} |
| 46 |
{%- endif -%} |
| 47 |
{%- if page.custom_html_header -%} |
| 48 |
{{page.custom_html_header}} |
| 49 |
{%- endif %} |
| 50 |
</head> |
| 51 |
<body> |
| 52 |
<header><div> |
| 53 |
<h4><a {% if page.url == "/" %}href="#" class=scroll-reveal{% else %}href="{{url_root}}"{% endif %}>Inter</a></h4> |
| 54 |
<div class=menu> |
| 55 |
<a href="{{url_root}}#features">Features</a> |
| 56 |
<a href="{{url_root}}#glyphs">Glyphs</a> |
| 57 |
<a href="{{url_root}}#faq" class=not-small-screen>FAQ</a> |
| 58 |
<a href="{{url_root}}lab/">Lab</a> |
| 59 |
<a href="{{url_root}}download/" {% if page.url contains "/download/" %}class="active"{% endif %}>Download ↓</a> |
| 60 |
</div> |
| 61 |
</div></header> |
| 62 |
|
| 63 |
|
| 64 |
{{ content }} |
| 65 |
|
| 66 |
|
| 67 |
<footer class="row"> |
| 68 |
<p> |
| 69 |
Inter is a trademark of <a href="https://rsms.me/">Rasmus Andersson</a> (<a href="https://learn.microsoft.com/en-us/typography/vendors/#r">RSMS</a>) |
| 70 |
</p> |
| 71 |
</footer> |
| 72 |
|
| 73 |
|
| 74 |
{% if site.safe == false %}<script> |
| 75 |
// Allows passing "?debug" in the query string for local builds, which |
| 76 |
// sets "debug" on the <html> element, enabling CSS debugging. |
| 77 |
if (document.location.search.indexOf("debug") != -1) { |
| 78 |
document.documentElement.classList.add("debug") |
| 79 |
} |
| 80 |
</script>{% endif %} |
| 81 |
</body> |
| 82 |
</html> |