ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

commit 7d8c479ba2b8d623c9d5b73de6863c1b8821dd3b
parent 3f3c56432ec5515062238df20dba3bc0459555ba
Author: Yohanes Bandung <bandungpenting@gmail.com>
Date:   Mon,  4 May 2020 02:05:41 +0700

refactor: performance on first load fix

Diffstat:
Mlayouts/partials/head/head.html | 12++++++------

1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html
@@ -16,18 +16,18 @@
     {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $rssTitle | safeHTML }}
 {{ end }}
 
+<script type="application/javascript" src="{{ .Site.BaseURL }}darkToggler.js" async="true"></script>
+<script type="application/javascript" src="{{ .Site.BaseURL }}lazyImage.js" async="true"></script>
+
 <style amp-custom>
   {{ with resources.Get "styles.scss" | resources.ToCSS | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
 </style>
 
-<script type="application/javascript" src="{{ .Site.BaseURL }}darkToggler.js"></script>
-<script type="application/javascript" src="{{ .Site.BaseURL }}lazyImage.js"></script>
-
 <link rel="canonical" href="{{ .Permalink }}" />
 <link rel="sitemap" href="{{ "sitemap.xml" | absURL }}" type="application/xml" />
 
+{{ partial "head/auth-links.html" . }}
 {{ partial "head/og-metas.html" . }}
-{{ partial "head/twitter-card-metas.html" . }}
-{{ partial "head/auth-links.html" . }}-
\ No newline at end of file
+{{ partial "head/twitter-card-metas.html" . }}+
\ No newline at end of file