diff --git a/templates/people/single.html b/templates/people/single.html index 6ae30fc2c..180d0e47e 100644 --- a/templates/people/single.html +++ b/templates/people/single.html @@ -1,58 +1,54 @@ -{% extends "_default/base.html" %} -{% block content %} +{% extends "_default/base.html" %} {% block content %} {% set page_path = +term.path ~ 'index.md' | replace(from='-', to='_') | trim_start_matches(pat="/") +%} {% set people = get_section(path="people/_index.md") %} {% set pages_str = +people.pages | json_encode() | as_str %} {% if pages_str is +containing(term.name) %} {% set page = get_page(path=page_path) %} -{% set page_path = term.path ~ 'index.md' | replace(from='-', to='_') | trim_start_matches(pat="/") %} -{% set people = get_section(path="people/_index.md") %} -{% set pages_str = people.pages | json_encode() | as_str %} -{% if pages_str is containing(term.name) %} - {% set page = get_page(path=page_path) %} - - -
-
-
- -
-
-
-

- {{page.title}} -

-
- {% include "partials/socialLinks.html" %} -
-
-
- {{page.content | safe }} -
-
-
-
    - {% for org in page.extra.organizations %} -
  • - - - -
  • - {% endfor %} -
-
-
- {% if page.taxonomies.memberships %} - {% for tag in page.taxonomies.memberships %} - - {{tag}} - +
+
+
+ +
+
+
+

+ {{page.title}} +

+
{% include "partials/socialLinks.html" %}
+
+
{{page.content | safe }}
+
+
+
    + {% for org in page.extra.organizations %} +
  • + + + +
  • {% endfor %} - {% endif %} +
+
+ {% if page.taxonomies.memberships %} {% for tag in + page.taxonomies.memberships %} + + {{tag}} + + {% endfor %} {% endif %}
-
-
-
-
-
+
+
+
+
-{% endif %} - -{% endblock content %} \ No newline at end of file +{% endif %} {% endblock content %}