Site logo

Archived topic

How to add a current year tag to the footer

5 replies · Started by Christophe on May 27, 2022

Viewing posts 1–6 of 6

Hi,

I'm trying to add a {{current_year}} in my footer Element.
I thought it was as simple as typing {{current_year}} in the dedicated block but all i get is:

http://skravik.alambic.bzh/

How can i fix it pls ?

Hi there,

is the Block Element > Element Type set to: Site Footer ?

Nop, it's set like this:

Type: Hook
Hook Name: footer

Done. Worked like a charm.

Why the tags are not working for all element types ? (just to know)

Cheers,

Because the year is usually not needed for other element types.

This archived topic is closed to new replies.