Browse Source

data dinamica di pubblicazione

romo 11 months ago
parent
commit
ba7885207b
1 changed files with 8 additions and 3 deletions
  1. 8 3
      templates/flyers/simple.html

+ 8 - 3
templates/flyers/simple.html

@@ -2,12 +2,12 @@
 <html lang="it">
   <head>
     <meta charset="utf-8">
-    <title>Balotta - sito in manutenzione</title>
+    <title>Balotta cartecea</title>
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <link rel="stylesheet" href="{{ url_for('static', filename='flyers/simple/style.css') }}">
     <link rel="stylesheet" href="{{ url_for('static', filename='flyers/simple/paper.css') }} ">
-    <link rel="icon" type="image/x-icon" href="favicon.ico">
   </head>
+
   <body class="A3 center">
 
     <header class="intestazione">
@@ -51,8 +51,13 @@
       info@balotta.org
     </div>
     <div class="published">
-      stampato il 16/10/23
+      stampato il <span id="publish_time"></span>
     </div>
+    <script>
+      let today = new Date();
+      let publish_time = today.toLocaleDateString('it-IT');
+      document.getElementById("publish_time").innerHTML = publish_time;
+    </script>
   </footer>
 
   </body>