Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

62
Vistas
Pelican template: current year, undefined 'now'

I'm trying to display the current year in the footer of the Pelican website. My understanding is that Pelican uses the jinja2 template. In my footer.html I use:

 <span>{{ now().year }}</span>

And I use it in my base.html like

 {% include 'footer.html' %}

But when I generate the page I get the error "Undefined error: 'now' is not defined." I can't find the reason. Is there any trick/setting/plugin I need to do to use this?

over 2 years ago · Carlos Garzón Colorado
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda