Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

57
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda