2024-02-14 13:48:55 +03:00
|
|
|
{%- 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 13:48:55 +03:00
|
|
|
|
2024-02-14 15:12:23 +03:00
|
|
|
|