{# Heading with anchor link #} {% macro anchor_heading(content, size="2") %} {{ content }} {% endmacro anchor_heading %} {# Contact list item #} {% macro contact(classes, link) %} {% endmacro contact %} {# Styling for authors in publication list #} {% macro author(name) %} {%- if name == "Rachit Nigam" -%} {{ name }} {%- else -%} {% set_global link = "" %} {% for author in config.extra.author %} {% if author.name == name %} {% set_global link = author.link %} {% endif %} {% endfor %} {%- if link != "" -%} {%- endif -%} {{ name }} {%- if link != "" -%} {%- endif -%} {%- endif -%} {% endmacro author %} {# Styling for Posts #} {% macro generate_post(post) %}