mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Add fonts asynchronousy and add all css inline
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
|
||||
<script>
|
||||
WebFont.load({
|
||||
google: {
|
||||
families: ['Raleway:400,600,700', 'Merriweather:300,300i,700,700i', 'Ubuntu+Mono:400,700']
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
<script src="{{ .Site.BaseURL }}js/highlight.min.js" defer></script>
|
||||
{{ range .Site.Params.highlightjslanguages }}
|
||||
|
Reference in New Issue
Block a user