snapshot of https://github.com/ThreeDotsLabs/watermill.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
master / ci (push) Failing after 0s
Some checks failed
master / ci (push) Failing after 0s
This commit is contained in:
16
docs/layouts/partials/head/custom-head.html
Normal file
16
docs/layouts/partials/head/custom-head.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- Custom head -->
|
||||
|
||||
<!-- google fonts -->
|
||||
{{ $pf:= "Heebo:wght@400;600" }}
|
||||
{{ $sf:= "Quicksand:wght@700" }}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<script>
|
||||
(function () {
|
||||
const googleFont = document.createElement("link");
|
||||
googleFont.href = "https://fonts.googleapis.com/css2?family={{$pf | safeURL}}{{with $sf}}&family={{. | safeURL}}{{end}}&display=swap";
|
||||
googleFont.type = "text/css";
|
||||
googleFont.rel = "stylesheet";
|
||||
document.head.appendChild(googleFont);
|
||||
})();
|
||||
</script>
|
||||
Reference in New Issue
Block a user