Compare commits

..

No commits in common. "3f0923d0455d773d9fd3c6848417477aef17c4ca" and "5decc805ef7dd9d94c4a9ba543e66259aeb57b2d" have entirely different histories.

3 changed files with 18 additions and 10 deletions

View File

@ -1,4 +1,4 @@
Note - push to production by doing a `git push` in the build directory: Note - push to Dokku by doing a `git push` in the build directory:
`rayelliott.dev/`. `rayelliott.dev/`.
Serve development server with: Serve development server with:

View File

@ -86,15 +86,6 @@
{{ end -}} {{ end -}}
{{ hugo.Generator }} {{ hugo.Generator }}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-179219763-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-179219763-1', { 'anonymize_ip': true });
</script>
</head> </head>
{{ $csClass := "colorscheme-light" }} {{ $csClass := "colorscheme-light" }}
@ -117,6 +108,17 @@
{{ template "_internal/google_analytics.html" . }} {{ template "_internal/google_analytics.html" . }}
<script src="{{ .Site.Params.baseURL | absURL }}js/script.js"></script> <script src="{{ .Site.Params.baseURL | absURL }}js/script.js"></script>
<script>
owa_cmds.push(['setSiteId', '9010bbc622d7c2514fd73db73f05d89c']);
owa_cmds.push(['trackPageView']);
owa_cmds.push(['trackClicks']);
(function() {
var _owa = document.createElement('script'); _owa.type = 'text/javascript'; _owa.async = true;
owa_baseUrl = ('https:' == document.location.protocol ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl );
_owa.src = owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js';
var _owa_s = document.getElementsByTagName('script')[0]; _owa_s.parentNode.insertBefore(_owa, _owa_s);
}());
</script>
</body> </body>
</html> </html>

6
publish-frantech.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
_password="$1"
./build.sh
lftp -e "mirror -R blog ." -u "hugo@rayelliott.dev,$_password" ftp://ftp.rayelliott.dev