docspell/website/site/templates/index.html
Eike Kettner 72569287ba Add fathom script
And fix output dir for elm compile
2020-09-07 23:59:05 +02:00

36 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
{% include "meta.html" %}
<title>Docspell Simple document organizer</title>
<link rel="stylesheet" href="styles.css">
<script type="application/javascript" src="js/bundle.js"></script>
</head>
<body id="app">
</body>
<script type="application/javascript">
var elmFlags = {
"version": "{{ config.extra.version }}"
};
var elmApp = Elm.Main.init({
node: document.getElementById("app"),
flags: elmFlags
});
</script>
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, '//webstats.daheim.site/tracker.js', 'fathom');
fathom('set', 'siteId', 'OGJDF');
fathom('trackPageview');
</script>
<!-- / Fathom -->
</html>