Kaynağa Gözat

Pongo depuración entre dobles llaves

creylopez 9 ay önce
ebeveyn
işleme
2ec825c7ae
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/templates/_cabecera.html

+ 1 - 1
src/templates/_cabecera.html

@@ -2,7 +2,7 @@
 
 
 <header class="app-header fixed-top">	   	            
 <header class="app-header fixed-top">	   	            
     <div class="app-header-inner">  
     <div class="app-header-inner">  
-        {% if depuracion %}
+        {% if {{ depuracion }} %}
         <div class="alert alert-warning text-center mb-0" role="alert" style="border-radius:0;">
         <div class="alert alert-warning text-center mb-0" role="alert" style="border-radius:0;">
             <strong>DEBUG</strong> está activado — entorno de desarrollo. No usar en producción.
             <strong>DEBUG</strong> está activado — entorno de desarrollo. No usar en producción.
         </div>
         </div>