From 30ea88e8d8c201c3fcce409a54712de820610dff Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 30 May 2022 23:20:43 -0700 Subject: Add Favicons, Add Head Macro, 404 noindex, config.toml Resources, Whitespace Cleanup --- templates/macros/social.html | 67 +++++++++++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 26 deletions(-) (limited to 'templates/macros/social.html') diff --git a/templates/macros/social.html b/templates/macros/social.html index 6d45b9e..06f4a7c 100644 --- a/templates/macros/social.html +++ b/templates/macros/social.html @@ -1,26 +1,41 @@ -{% macro social_links(social_config) %} -{% set base_url = get_url(path="", lang=lang) %} - -{% if config.generate_feed %}{% if config.extra.social.feed %} {% endif %}{% endif %} - -{% if social_config.mail %} {% endif %} -{% if social_config.mastodon %} {% endif %} -{% if social_config.element %} {% endif %} -{% if social_config.matrix %} {% endif %} -{% if social_config.twitter %} {% endif %} -{% if social_config.facebook %} {% endif %} -{% if social_config.linkedin %} {% endif %} - -{% if social_config.gitlab %} {% endif %} -{% if social_config.github %} {% endif %} -{% if social_config.bitbucket %} {% endif %} -{% if social_config.python %} {% endif %} -{% if social_config.docker %} {% endif %} -{% if social_config.stack %} {% endif %} - -{% if social_config.instagram %} {% endif %} -{% if social_config.pinterest %} {% endif %} -{% if social_config.twitch %} {% endif %} -{% if social_config.youtube %} {% endif %} - -{% endmacro %} +{%- macro social_links(social_config) %} +{%- set base_url = get_url(path="", lang=lang) %} + + {%- if config.generate_feed %}{%- if config.extra.social.feed %} + {% endif %}{% endif %} + {%- if social_config.mail %} + {% endif %} + {%- if social_config.mastodon %} + {% endif %} + {%- if social_config.element %} + {% endif %} + {%- if social_config.matrix %} + {% endif %} + {%- if social_config.twitter %} + {% endif %} + {%- if social_config.facebook %} + {% endif %} + {%- if social_config.linkedin %} + {% endif %} + {%- if social_config.gitlab %} + {% endif %} + {%- if social_config.github %} + {% endif %} + {%- if social_config.bitbucket %} + {% endif %} + {%- if social_config.python %} + {% endif %} + {%- if social_config.docker %} + {% endif %} + {%- if social_config.stack %} + {% endif %} + {%- if social_config.instagram %} + {% endif %} + {%- if social_config.pinterest %} + {% endif %} + {%- if social_config.twitch %} + {% endif %} + {%- if social_config.youtube %} + {% endif %} + +{%- endmacro %} -- cgit v1.3.1