refactor(footer): add footer/include.html

To include HTML code for style and script
This commit is contained in:
Jimmy Cai
2020-09-17 19:47:03 +02:00
parent 841508f491
commit 845834baa6
4 changed files with 6 additions and 5 deletions
@@ -0,0 +1,11 @@
<script>
(function () {
const customFont = document.createElement('link');
customFont.href = "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap";
customFont.type = "text/css";
customFont.rel = "stylesheet";
document.head.appendChild(customFont);
}());
</script>