overhauled quotes

This commit is contained in:
tracer 2022-04-12 18:56:53 +02:00
parent bad8261c4c
commit 6cd5fdaca5
1 changed files with 23 additions and 16 deletions

View File

@ -16,14 +16,16 @@
<script> <script>
const _paq = window._paq = window._paq || []; const _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']); _paq.push(["trackPageView"]);
_paq.push(['enableLinkTracking']); _paq.push(["enableLinkTracking"]);
(function () { (function () {
const u = "https://analytics.24unix.net/"; const u = "https://analytics.24unix.net/";
_paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(["setTrackerUrl", u + "matomo.php"]);
_paq.push(['setSiteId', '1']); _paq.push(["setSiteId", "1"]);
const d = document, g = d.createElement("script"), s = d.getElementsByTagName("script")[0]; const d = document, g = d.createElement("script"), s = d.getElementsByTagName("script")[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); g.async = true;
g.src = u + "matomo.js";
s.parentNode.insertBefore(g, s);
})(); })();
</script> </script>
<!-- End Matomo Code --> <!-- End Matomo Code -->
@ -39,9 +41,12 @@
<div class="container-fluid text-center"> <div class="container-fluid text-center">
<div class="row content d-flex justify-content-md-start"> <div class="row content d-flex justify-content-md-start">
<div class="col-sm-2 sidenav-left box text-start" id="main-menu"> <div class="col-sm-2 sidenav-left box text-start" id="main-menu">
<i class="fa fa-lg fa-fw fa-file-code-o" aria-hidden="true"></i>&nbsp<a href="/projects">Projects</a><br> <i class="fa fa-lg fa-fw fa-file-code-o" aria-hidden="true"></i>&nbsp<a href="{{ path('app_projects') }}">Projects</a><br>
<i class="fa fa-lg fa-fw fa-gitea" aria-hidden="true"></i>&nbsp<a href="//git.24unix.net" target="_blank">Gitea</a>&nbsp;<i class="fa fa-external-link" aria-hidden="true"></i><br> <i class="fa fa-lg fa-fw fa-gitea" aria-hidden="true"></i>&nbsp<a href="//git.24unix.net" target="_blank">Gitea</a>&nbsp;<i
<i class="fa fa-lg fa-fw fa-nextcloud" aria-hidden="true"></i>&nbsp<a href="//cloud.24unix.net" target="_blank">NextCloud</a>&nbsp;<i class="fa fa-external-link" aria-hidden="true"></i> class="fa fa-external-link" aria-hidden="true"></i><br>
<i class="fa fa-lg fa-fw fa-nextcloud" aria-hidden="true"></i>&nbsp<a href="//cloud.24unix.net"
target="_blank">NextCloud</a>&nbsp;<i
class="fa fa-external-link" aria-hidden="true"></i>
<!-- <a href="//pastebin.24unix.net">pastebin.24unix.net</a>--> <!-- <a href="//pastebin.24unix.net">pastebin.24unix.net</a>-->
</div> </div>
<div class="col-sm-9 text-left center-block" id="main-content"> <div class="col-sm-9 text-left center-block" id="main-content">
@ -62,8 +67,10 @@
<div class="col"> <div class="col">
<h1 class="q-title-show">Quote of the Moment</h1> <h1 class="q-title-show">Quote of the Moment</h1>
<div class="q-display p-3"> <div class="q-display p-3">
<i class="fa fa-quote-left mr-3"></i> {# <i class="fa fa-quote-left"></i> #}
<p class="d-inline">{{ quote | markdown_to_html }}</p> <p class="d-inline">
{{ quote | markdown_to_html }}
</p>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}