From 631ca196c9bbc7fc3eeef4cce6bd9a6463ef74d1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 14 Feb 2024 14:48:55 +0400 Subject: Set up the RSS feed and the authors of the posts --- _includes/author.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _includes/author.html (limited to '_includes/author.html') diff --git a/_includes/author.html b/_includes/author.html new file mode 100644 index 0000000..8652c82 --- /dev/null +++ b/_includes/author.html @@ -0,0 +1,17 @@ +{%- assign author = site.data.authors[page.author] -%} + +{%- if author -%} + + by  + +{%- unless author.email == empty -%} +{{- author.name | strip | normalize_whitespace | xml_escape -}} +{%- endunless -%} + +{%- if author.email == empty -%} +{{- author.name | strip | normalize_whitespace | xml_escape -}} +{%- endif -%} + +  + +{%- endif -%} \ No newline at end of file -- cgit v1.2.3