leo
50c3c939b6
All checks were successful
continuous-integration/drone/push Build is passing
* implement calculating integrity for script, stylesheet assets * break out browser-sync loader script to its own file (instead of inline) * implement Content Security Policy that only allows BrowserSync scripts and hooks to load from localhost when DevelMode is enabled (i.e. not in production)
20 lines
1.0 KiB
Go HTML Template
20 lines
1.0 KiB
Go HTML Template
<!-- footer anchored to the bottom https://stackoverflow.com/a/72232241 -->
|
|
<footer class="items-center md:mx-10 m-4 sticky top-[100vh] shadow bg-white dark:bg-gray-900 border-2 border-slate-300 rounded-sm">
|
|
<!-- alternatively -->
|
|
<!-- <footer class="fixed bottom-0 left-0 w-full bg-gray-800 mx-auto rounded-sm"> -->
|
|
<span class="block hover:shadow text-center text-sm px-6 py-2 text-pink-400 dark:bg-gray-900">
|
|
powered by <code>pcmt</code> version <code>{{ .AppVer }}</code>
|
|
·
|
|
<a class="text-pink-500 hover:text-pink-600 hover:underline" href="https://git.dotya.ml/wanderer" target="_blank">© wanderer</a>
|
|
·
|
|
<a class="text-pink-500 hover:text-pink-600 hover:underline" href="https://www.gnu.org/licenses/agpl-3.0.en.html" target="_blank">AGPL-3.0-only</a>
|
|
·
|
|
<a class="text-pink-500 hover:text-pink-600 hover:underline" href="https://git.dotya.ml/mirre-mt/pcmt" target="_blank">sources</a>
|
|
</span>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- inject browsersync script if running in devel mode -->
|
|
</body>
|
|
</html>
|