diff options
author | Damien Caselli <damien.caselli@manomano.com> | 2021-04-02 11:01:17 +0300 |
---|---|---|
committer | Damien Caselli <damien.caselli@manomano.com> | 2021-04-02 11:01:17 +0300 |
commit | 081c58c1ddfdc5ccb61a19da200c9c570bd3a9e8 (patch) | |
tree | 8224e1f409ac845c2f0c950c16e99f24ae0c8318 | |
parent | 8d03acb7d7a52349c5eeb0570d83bdabeba4d652 (diff) |
perf: remove highlight from homepage
-rw-r--r-- | layouts/partials/bottom.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/bottom.html b/layouts/partials/bottom.html index bc84996..b7fc028 100644 --- a/layouts/partials/bottom.html +++ b/layouts/partials/bottom.html @@ -30,8 +30,10 @@ </footer> </div> + {{ if not .IsHome -}} <script src="{{ "js/highlight.pack.js" | relURL }}"></script> <script>hljs.initHighlightingOnLoad();</script> + {{- end }} </body> </html> |