<!DOCTYPE html>
<html>
<head>
  {{! Dynamic header parts. }}
  <title>{{#if title}}{{title}}{{else}}OpenPowerlifting{{/if}}</title>

  {{! Static header parts. }}
  <meta charset="utf-8">

  {{! External sources -- these should be self-hosted eventually. }}
  <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

  {{! Internal sources. }}
  <link rel="stylesheet" type="text/css" href="/static/style.css"/>

  {{! Google Analytics code -- should move to Piwik to remove the Google dependency. }}
  <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
    ga('create', 'UA-82103130-1', 'auto');
    ga('send', 'pageview');
  </script>
</head>
<body>
  {{~> body}}
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  {{! Dynamic header parts. }}
  <title>{{#if title}}{{title}}{{else}}OpenPowerlifting{{/if}}</title>

  {{! Static header parts. }}
  <meta charset="utf-8">

  {{! External sources -- these should be self-hosted eventually. }}
  <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

  {{! Internal sources. }}
  <link rel="stylesheet" type="text/css" href="/static/style.css"/>
</head>
<body>
  {{~> body}}

  {{! Google Analytics code -- should move to Piwik to remove the Google dependency. }}
  <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
    ga('create', 'UA-82103130-1', 'auto');
    ga('send', 'pageview');
  </script>
</body>
</html>

Move Google Analytics code to just before `</body>`.
Move Google Analytics code to just before `</body>`.
