Update footer, change analytics
All checks were successful
ci / build-image (push) Successful in 16s

This commit is contained in:
Jonathan Cremin 2025-05-29 19:39:04 +01:00
parent 57a6b70191
commit 843a9e0dee

View file

@ -1,41 +1,73 @@
<!DOCTYPE html> <!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/static/style.css" /> <link rel="stylesheet" href="/static/style.css" />
<title>minie links!</title> <title>minie links!</title>
</head> <script
<body> defer
data-domain="min.ie"
src="https://plausible.io/js/script.js"
></script>
</head>
<body>
<div class="container">
<div id="logo">
<a href="/"><img src="/static/minie.png" alt="min.ie" /></a>
</div>
<div class="container"> <form method="post" action="/">
<div id="logo"> {{form.url}}
<a href="/"><img src="/static/minie.png" alt="min.ie" /></a> <input
</div> type="submit"
value="shrink"
name="shrink"
class="button-primary"
/>
</form>
<form method="post" action="/"> {% if short_url %}
{{form.url}} <form name="url">
<input type="submit" value="shrink" name="shrink" class="button-primary" /> <label
</form> onclick="document.url.short_link.focus();document.url.short_link.select();"
for="short_link"
{% if short_url %} >Short Link</label
<form name="url"> >
<label onclick="document.url.short_link.focus();document.url.short_link.select();" for="short_link">Short Link</label> <input
<input type="text" class="u-full-width" name='short_link' value='{{short_url}}' readonly='true' onclick='javascript:this.focus();this.select();' /> type="text"
</form> class="u-full-width"
{% endif %} name="short_link"
<div id="info"> value="{{short_url}}"
<p>Makes links shorter, like this: <a href="https://min.ie/WVFdWJMa" target="_blank">https://min.ie/WVFdWJMa</a></p> readonly="true"
<p>Drag this bookmarklet <a onclick="return false" class="bookmark" href="javascript:void(window.location='https://min.ie/'+window.location)">min.ie</a> to your bookmark bar for quick shrinking. Then just click the bookmark on a page you want a short url for.</p> onclick="javascript:this.focus();this.select();"
</div> />
<footer><a href="https://twitter.com/kudoz">Tweet</a> or <a href="https://github.com/kudos/min.ie">Fork</a>. &copy; <a href="https://crem.in">Jonathan Cremin</a></footer> </form>
</div> {% endif %}
<div id="info">
<script> <p>
var _gaq=[['_setAccount','UA-66209-5'],['_trackPageview'],['_trackPageLoadTime']]; Makes links shorter, like this:
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; <a href="https://min.ie/WVFdWJMa" target="_blank"
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; >https://min.ie/WVFdWJMa</a
s.parentNode.insertBefore(g,s)}(document,'script')); >
</script> </p>
</body> <p>
</html> Drag this bookmarklet
<a
onclick="return false"
class="bookmark"
href="javascript:void(window.location='https://min.ie/'+window.location)"
>min.ie</a
>
to your bookmark bar for quick shrinking. Then just click
the bookmark on a page you want a short url for.
</p>
</div>
<footer>
Follow me on
<a href="https://social.crem.in/@jonathan">Mastodon</a>. &copy;
<a href="https://crem.in">Jonathan Cremin</a>
</footer>
</div>
</body>
</html>