From ce6c7fdf5f8684844fc5eff5be29c8f1c6f32efa Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 13 Sep 2022 13:01:12 +0200 Subject: [PATCH] Add person card --- templates/partials/personCard.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 templates/partials/personCard.html diff --git a/templates/partials/personCard.html b/templates/partials/personCard.html new file mode 100644 index 000000000..2204df7ee --- /dev/null +++ b/templates/partials/personCard.html @@ -0,0 +1,26 @@ +
+ + {% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %} + {{page.title ~ ' Picture'}} +
+

{{page.title}}

+
+ {% if page.description %} + {{page.description}} + {% else %} + {{page.content | safe}} + {% endif %} +
+
+
+ +
+