{% macro social_link(name) %} {% for var in config.extra.socials %} {% if var.name == name %} {{ var.link }} {% endif %} {% endfor %} {% endmacro social_link %} {% macro cache_bust(path) %} {{ get_url(path=path, cachebust=true) }}" {% endmacro cache_bust %} {% macro social_link_icon(name, icon) %} {% for var in config.extra.socials %} {% if var.name == name %} {% if var.name == "email" %} {% else %} {% endif %} {% endif %} {% endfor %} {% endmacro social_link_icon %} {% macro get_month(month) %} {% if month == 1 %} January {% elif month == 2 %} February {% elif month == 3 %} March {% elif month == 4 %} April {% elif month == 5 %} May {% elif month == 6 %} June {% elif month == 7 %} July {% elif month == 8 %} August {% elif month == 9 %} September {% elif month == 10 %} October {% elif month == 11 %} November {% elif month == 12 %} December {% else %} invalid date {% endif %} {% endmacro get_month %} {% macro get_meta_tags(title, description) %} {% set title = title ~ " | LibrePages: JAMstack platform with focus on privacy and speed" %} {{ title }} {% if config.extra.author %} {% endif %} {% endmacro get_meta_tags %} {% macro nav_link(link, name) %} {% endmacro nav_link %} {% macro nav_link_action(link, name) %} {% endmacro nav_link %} {% macro get_author(nick) %} {% for author in config.extra.authors %} {% if author.nick == nick %} {{ author.name }} {% endif %} {% endfor %} {% endmacro get_author %}