www-from-model/page_templates/person.md.j2
Michał Szczepanik 60b7db5770
All checks were successful
Deploy on webserver / Build site and deploy on success (push) Successful in 2m6s
Add LinkedIn link to Person's identifiers
Confirmed with @adina, one can set a custom public profile URL, in
which case the URL looks like the one now added to the template.

https://www.linkedin.com/help/talent-insights/answer/a542685
2026-01-21 11:59:09 +01:00

16 lines
1 KiB
Django/Jinja

---
title: {{ given_name }} {{ family_name }}
---
{{ description }}
{%- for identifier in identifiers if identifier.creator.name is defined -%}
{%- if description is defined and loop.first %}{{ '\n\n' }}{% endif -%}
{% if identifier.creator.name == "Debian" %}- [Debian: {{ identifier.notation }}](https://qa.debian.org/developer.php?login={{ identifier.notation }})
{% elif identifier.creator.name == "GitHub" %}- [GitHub: {{ identifier.notation }}](https://github.com/{{ identifier.notation }})
{% elif identifier.creator.name == "LinkedIn" %}- [LinkedIn: {{ identifier.notation }}](https://www.linkedin.com/in/{{ identifier.notation }})
{% elif identifier.creator.name == "ORCID" %}- [ORCID: {{ identifier.notation }}](https://orcid.org/{{ identifier.notation }})
{% elif identifier.creator.name == "ResearchGate" %}- [ResearchGate: {{ identifier.notation }}](https://www.researchgate.net/profile/{{ identifier.notation }})
{% else %}- {{ identifier.creator.name }}: {{ identifier.notation }}
{% endif %}
{%- endfor -%}