From 79c3ff52bd3454fdba20e4634fb858bae4af0482 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 24 Apr 2018 20:37:57 +0400 Subject: Collection with information about the author Signed-off-by: Valentin Popov --- _data/author_info.yml | 3 +++ _pages/atom.xml | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 _data/author_info.yml diff --git a/_data/author_info.yml b/_data/author_info.yml new file mode 100644 index 0000000..03ef667 --- /dev/null +++ b/_data/author_info.yml @@ -0,0 +1,3 @@ +email: "info@valentineus.link" +name: "Valentin Popov" +url: "http://valentineus.link" diff --git a/_pages/atom.xml b/_pages/atom.xml index 8aeeb98..79cd5e1 100644 --- a/_pages/atom.xml +++ b/_pages/atom.xml @@ -19,9 +19,9 @@ layout: compress - {{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} - {{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} - {{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.data.author_info.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.data.author_info.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.data.author_info.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} {% for item in site.posts %} @@ -39,9 +39,9 @@ layout: compress - {{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} - {{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} - {{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.data.author_info.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.data.author_info.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.data.author_info.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} -- cgit v1.2.3