1

Use some fancy JS to load fontawesome

This commit is contained in:
Evan Pratten 2020-09-12 14:06:48 -04:00
parent a3ba507061
commit c2966edb3f
No known key found for this signature in database
GPG Key ID: 93AC7B3D071356D3
2 changed files with 14 additions and 4 deletions

View File

@ -44,7 +44,6 @@
<!-- Site style -->
<link rel="stylesheet" href="/assets/css/site.css">
<!-- <link rel="stylesheet" href="{{site.baseurl}}/assets/css/color-theme.scss">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/fonts.css" rel="preload">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/github-syntax.css">
@ -53,11 +52,23 @@
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/home.css">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/edges.css"> -->
<!-- Icons and Brands -->
<link rel="stylesheet" href="{{site.baseurl}}/assets/external/fontawesome/css/fontawesome.min.css">
<!-- Google fonts -->
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,400i|IBM+Plex+Sans:100,100i,400,400i,700,700i"
rel="stylesheet">
<!-- Load fontawesome -->
<link rel="prefetch" as="style" href="/assets/external/fontawesome/css/fontawesome.min.css" crossorigin="anonymous">
<script>
var fa = document.createElement("link");
fa.type = "text/css";
fa.rel = "stylesheet";
fa.href = "/assets/external/fontawesome/css/fontawesome.min.css";
document.head.appendChild(fa);
</script>
<noscript>
<link rel="stylesheet" href="/assets/external/fontawesome/css/fontawesome.min.css">
</noscript>
<!-- Adsense -->
<!-- <script data-ad-client="ca-pub-6940033544404615" async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> -->

View File

@ -1,5 +1,4 @@
---
layout: pdf_paper
src: https://ewpratten.retrylife.ca/highschool_notes/robotics/papers/Simple_Path_Planning_of_Turret.pdf
authors:
- Evan Pratten