MitseaBlog/themes/hugo-theme-stack/layouts/partials/footer/components/custom-font.html

11 lines
337 B
HTML
Raw Normal View History

2022-10-11 17:34:41 +08:00
<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>