2022-12-22 14:03:03 +00:00
|
|
|
<!DOCTYPE html>
|
2022-12-22 13:25:18 +00:00
|
|
|
<html lang="en">
|
2022-12-22 14:03:03 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2022-12-25 18:51:51 +00:00
|
|
|
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
|
|
|
|
<link rel="preconnect" href="https://cdnjs.cloudflare.com" />
|
2022-12-22 14:03:03 +00:00
|
|
|
<link rel="stylesheet" href="/static/tailwind.css" />
|
|
|
|
<link rel="stylesheet" href="/static/styles.css" />
|
|
|
|
</head>
|
|
|
|
<body class="bg-zinc-800">
|
|
|
|
<div class="flex flex-col items-center space-y-12">
|
|
|
|
<h2 class="text-3xl font-bold text-gray-300">Obsolute Paste</h2>
|
2022-12-21 17:56:41 +00:00
|
|
|
{% block content %}
|
2022-12-25 18:46:19 +00:00
|
|
|
{% if md %}
|
2023-08-19 14:01:26 +00:00
|
|
|
<link href='https://fonts.googleapis.com/css?family=Lunasima' rel='stylesheet'>
|
2022-12-25 18:46:19 +00:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
2023-08-19 14:01:26 +00:00
|
|
|
<div class="w-10/12 text-gray-100 border border-solid border-emerald-200 rounded bg-zinc-800 p-2 mdpaste" id="pastecontent"></div>
|
2022-12-25 18:46:19 +00:00
|
|
|
<script>
|
|
|
|
document.getElementById('pastecontent').innerHTML = marked.parse(`{{paste_content}}`);
|
|
|
|
</script>
|
|
|
|
{% else %}
|
2024-01-10 06:19:45 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
2022-12-25 18:46:19 +00:00
|
|
|
<script>
|
|
|
|
document.addEventListener("DOMContentLoaded", (event) => {
|
|
|
|
const elem = document.getElementById("pastecontent");
|
|
|
|
hljs.highlightElement(elem);
|
2023-08-19 14:01:26 +00:00
|
|
|
Prism.highlightElement(elem);
|
2022-12-25 18:46:19 +00:00
|
|
|
});
|
|
|
|
</script>
|
2023-08-19 14:01:26 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
|
|
<link href='https://fonts.googleapis.com/css?family=Fira Code' rel='stylesheet'>
|
|
|
|
<pre class="w-10/12 text-gray-100 border border-solid border-emerald-200 rounded bg-zinc-800 p-2"><code id="pastecontent">{{paste_content}}</code></pre>
|
2022-12-25 18:46:19 +00:00
|
|
|
{% endif %}
|
2022-12-21 17:56:41 +00:00
|
|
|
{% endblock content %}
|
2022-12-22 14:03:03 +00:00
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<div class="fixed bottom-4 left-0 w-screen h-12 md:flex md:items-center md:justify-between md:p-6">
|
2023-01-08 13:19:42 +00:00
|
|
|
<span class="text-sm text-gray-400 sm:text-center">©2023 Maestro Creativescape.</span>
|
2022-12-21 17:55:55 +00:00
|
|
|
<ul class="flex flex-wrap items-center mt-3 text-sm text-gray-400 sm:mt-0">
|
2022-12-22 14:03:03 +00:00
|
|
|
<li>
|
|
|
|
<a href="https://baalajimaestro.me" class="mr-4 hover:underline md:mr-6 ">Home</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://links.baalajimaestro.me" class="mr-4 hover:underline md:mr-6">Links</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://git.baalajimaestro.me/baalajimaestro/obsolute-paste" class="mr-4 hover:underline md:mr-6">Source Code</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2023-10-10 13:22:43 +00:00
|
|
|
Powered by <a href="https://actix.rs" class="hover:underline">Actix</a> & <a href="https://gitea.com" class="mr-4 hover:underline md:mr-6">Gitea</a>
|
2022-12-22 14:03:03 +00:00
|
|
|
</li>
|
2022-12-21 17:55:55 +00:00
|
|
|
</ul>
|
2022-11-19 17:26:05 +00:00
|
|
|
</div>
|
2022-12-25 18:55:50 +00:00
|
|
|
<!-- Matomo -->
|
|
|
|
<script>
|
|
|
|
var _paq = window._paq = window._paq || [];
|
|
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
|
|
_paq.push(['trackPageView']);
|
|
|
|
_paq.push(['enableLinkTracking']);
|
|
|
|
(function() {
|
|
|
|
var u="https://counter.baalajimaestro.me/";
|
|
|
|
_paq.push(['setTrackerUrl', u+'86eff12f2496']);
|
|
|
|
_paq.push(['setSiteId', '3']);
|
|
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
|
|
g.async=true; g.src=u+'dd168412e25a.js'; s.parentNode.insertBefore(g,s);
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
<!-- End Matomo Code -->
|
2022-12-22 14:03:03 +00:00
|
|
|
</body>
|
2023-09-07 18:24:09 +00:00
|
|
|
</html>
|