blob: 8652c82c1ed590b5d9b019c76e62095a2f946a1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{%- 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 -%}
{%- endif -%}
|