]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note_base.html
Enabled fenced code in Markdown module and added CSS for this
[pcdenotes.git] / notes / templates / note_base.html
index fe61801a31bd02d867daf4e83a66f03424bc407f..5e88f7b398886231790f5eca8c3821ea4f9c4472 100644 (file)
       </div>
     </div>
     <div id="copyright">
-      © 2022 <a href="https://www.patrick-canterino.de/">Patrick Canterino</a>
+      {% with year_start="2022" %}
+      {% now "Y" as year_current %}
+      © {% if year_current > year_start %}{{ year_start }}-{% endif %}{{ year_current }} <a href="https://www.patrick-canterino.de/">Patrick Canterino</a>
+      {% endwith %}
     </div>
   </footer>
 </body>

patrick-canterino.de