Claudio Yanes
2022-03-04 7f6523337c96e631e80b18c888b2f237ea8a4482
Move popover to the end of the page

The popover script doesn’t ever start in until the DOM has finished
Loading, so wait for the script to be downloaded and parsed before
Showing the content to the user makes no sense.
6 files modified
6 ■■■■ changed files
layouts/_default/section.html 1 ●●●● patch | view | raw | blame | history
layouts/_default/single.html 1 ●●●● patch | view | raw | blame | history
layouts/_default/taxonomy.html 1 ●●●● patch | view | raw | blame | history
layouts/_default/term.html 1 ●●●● patch | view | raw | blame | history
layouts/index.html 1 ●●●● patch | view | raw | blame | history
layouts/partials/head.html 1 ●●●● patch | view | raw | blame | history
layouts/_default/section.html
@@ -19,6 +19,7 @@
    </article>
    {{partial "contact.html" .}}
</div>
{{partial "popover.html" .}}
</body>
</html>
layouts/_default/single.html
@@ -32,6 +32,7 @@
    </article>
    {{partial "footer.html" .}}
    {{partial "popover.html" .}}
</div>
</body>
layouts/_default/taxonomy.html
@@ -28,6 +28,7 @@
    </article>
    {{partial "contact.html" .}}
</div>
{{partial "popover.html" .}}
</body>
</html>
layouts/_default/term.html
@@ -19,6 +19,7 @@
    </article>
    {{partial "contact.html" .}}
</div>
{{partial "popover.html" .}}
</body>
</html>
layouts/index.html
@@ -22,6 +22,7 @@
        {{- .Content -}}
    </article>
    {{partial "footer.html" .}}
    {{partial "popover.html" .}}
</div>
</body>
</html>
layouts/partials/head.html
@@ -43,4 +43,3 @@
    </script>
</head>
{{ template "_internal/google_analytics.html" . }}
{{ partial "popover.html" .}}