mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Add option to disable fancy fonts, addressing #57
Also, small README update
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{{ if not .Site.Params.disablefancyfonts }}
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
|
||||
<script>
|
||||
WebFont.load({
|
||||
@@ -6,6 +7,7 @@
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
<script src="{{ .Site.BaseURL }}js/highlight.min.js" defer></script>
|
||||
|
Reference in New Issue
Block a user