0
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:
2024-02-14 14:48:55 +04:00
parent d863b358a6
commit 631ca196c9
10 changed files with 32 additions and 48 deletions

17
_includes/author.html Normal file
View 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 -%}
&nbsp;
{%- endif -%}