mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-04 00:20:26 +03:00
Set up the RSS feed and the authors of the posts
This commit is contained in:
17
_includes/author.html
Normal file
17
_includes/author.html
Normal file
@ -0,0 +1,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 -%}
|
Reference in New Issue
Block a user