popov.link/_includes/author.html

17 lines
500 B
HTML
Raw Normal View History

{%- assign author = site.data.authors[page.author] -%}
{%- if author -%}
 by 
{%- unless author.email == empty -%}
<a href="mailto:{{- author.email | strip | url_encode -}}?subject={{- page.title | default: site.title | strip | normalize_whitespace | uri_escape -}}">{{- author.name | strip | normalize_whitespace | xml_escape -}}</a>
{%- endunless -%}
{%- if author.email == empty -%}
{{- author.name | strip | normalize_whitespace | xml_escape -}}
{%- endif -%}
2024-02-14 15:12:23 +03:00
{%- endif -%}
2024-02-14 15:12:23 +03:00
&nbsp;