forked from nerdhaus/eleventufte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…Aaand adding the actual head changes.
- Loading branch information
Showing
2 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
<!-- Required meta tags --> | ||
{% set metaTitle = page.title or meta.title %} | ||
{% set metaDescription = page.description or meta.description %} | ||
{% set metaDescription = page.subtitle or meta.subtitle %} | ||
|
||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
|
||
<title>{{ metaTitle }}</title> | ||
<meta name="description" content="{{ metaDescription }}"> | ||
<title>{{ metaTitle | markdownInline | striptags }}</title> | ||
<meta name="description" content="{{ metaDescription | markdownInline | striptags }}"> | ||
<link type="application/atom+xml" rel="alternate" href="{{ meta.url }}/feed.xml" title="{{ meta.title }}"> | ||
|
||
{% set css = '/assets/tufte-css' %} | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ css }}/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff" /> | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ css }}/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff" /> | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ css }}/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff" /> | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ css }}/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff" /> | ||
<link rel="stylesheet" href="{{ css }}/tufte.min.css"> | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="/assets/tufte-css/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff" /> | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="/assets/tufte-css/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff" /> | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="/assets/tufte-css/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff" /> | ||
<link rel="preload" as="font" type="font/woff2" crossorigin href="/assets/tufte-css/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff" /> | ||
|
||
<link rel="stylesheet" href="/assets/main.css"> | ||
<link rel="stylesheet" href="/assets/tufte-css/tufte.min.css"> | ||
<link rel="stylesheet" href="https://use.fontawesome.com/3434e84155.css"> | ||
|
||
{% if attachments %}{{ attachments | linkToHead | safe }}{% endif %} | ||
{% if libraries %}{{ libraries | linkToHead | safe }}{% endif %} | ||
|