Add option to disable fancy fonts, addressing #57

Also, small README update
This commit is contained in:
Michael Noronha
2017-12-25 19:21:29 -05:00
parent a5ab088e48
commit ddd098a6a3
3 changed files with 37 additions and 8 deletions

View File

@@ -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>