summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-07-26 21:18:24 -0400
committerluxagraf <sng@luxagraf.net>2020-07-26 21:18:24 -0400
commitb8d217c6781d713fb6fd1199cbdda84017a95c8d (patch)
tree6ce71037143beea212f397c2cf213e113030c4b6
parent6547470e6e9705b8feddadf1284998931ecccbab (diff)
two performace optimizations
-rw-r--r--design/sass/_fonts.scss6
-rw-r--r--design/templates/base.html5
2 files changed, 8 insertions, 3 deletions
diff --git a/design/sass/_fonts.scss b/design/sass/_fonts.scss
index e456b8d..1ae40f8 100644
--- a/design/sass/_fonts.scss
+++ b/design/sass/_fonts.scss
@@ -6,7 +6,7 @@
url('/media/fonts/carroisgothic-regular-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
-
+ font-display: swap;
}
@font-face {
font-family: 'mffweb';
@@ -14,6 +14,7 @@
src: url('/media/fonts/ffmpb.woff') format('woff');
font-weight: 400;
font-style: normal;
+ font-display: swap;
}
@font-face {
font-family: 'mffweb';
@@ -21,6 +22,7 @@
src: url('/media/fonts/ffmbi.woff') format('woff');
font-weight: 400;
font-style: italic;
+ font-display: swap;
}
@font-face {
font-family: 'mffnweb';
@@ -28,6 +30,7 @@
src: url('/media/fonts/ffmn.woff') format('woff');
font-weight: 400;
font-style: normal;
+ font-display: swap;
}
@font-face {
font-family: 'mffnbweb';
@@ -35,5 +38,6 @@
src: url('/media/fonts/ffmn.woff') format('woff');
font-weight: 700;
font-style: normal;
+ font-display: swap;
}
diff --git a/design/templates/base.html b/design/templates/base.html
index 2bdd7c0..2a80f4e 100644
--- a/design/templates/base.html
+++ b/design/templates/base.html
@@ -19,6 +19,7 @@
<link rel="stylesheet" href="/media/print.css" media="print" title="print" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="manifest" href="/manifest.json" />
+ <link rel="dns-prefetch" href="https://stats.luxagraf.net">
{%block extrahead%}{%endblock%}
</head>
<body {%block bodyid%}{%endblock%}{%block bodyevents%}{%endblock%}>
@@ -33,8 +34,8 @@
<ul>
<li><a href="/jrnl/" title="Stories of life on the road.">Jrnl</a></li>
<!--<li><a href="/guides/" title="Advice, Tools, Tips and Tricks for Full Time Van or RV Life.">Guides</a></li>-->
- <li><a href="/essays/" title="longer essays and posts about non-travel related things">Essays</a></li>
- <li><a href="/field-notes/" title="Short stories, snapshots of daily life on the road.">Notes</a></li>
+ <!--<li><a href="/essays/" title="longer essays and posts about non-travel related things">Essays</a></li>-->
+ <!--<li><a href="/field-notes/" title="Short stories, snapshots of daily life on the road.">Notes</a></li>-->
<li><a href="/newsletter/" title="The 'friends of a long year' newsletter">Lttr</a></li>
<li><a href="/about" title="About Scott">About</a></li>
</ul>