Skip to content

JavaScript references in wrong place #314

@sgtrusty

Description

@sgtrusty

{{ range .Site.Params.custom_js }}
<script src="{{ . | relURL }}"></script>
{{ end }}

Scripts in head of html presentation should be at bottom of element;

This prevents render blocking while the scripts load and is much better for site perception speed.
sources:

If anyone else agrees, I can make PR, although that'd take a little while. If you want to proceed with PR, go ahead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions