diff options
-rw-r--r-- | _data/author_info.yml | 3 | ||||
-rw-r--r-- | _pages/atom.xml | 12 |
2 files changed, 9 insertions, 6 deletions
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 <!-- Author --> <author> - <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> - <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> - <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> + <email>{{ site.data.author_info.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> + <name>{{ site.data.author_info.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> + <uri>{{ site.data.author_info.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> </author> {% for item in site.posts %} @@ -39,9 +39,9 @@ layout: compress <!-- Author --> <author> - <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> - <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> - <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> + <email>{{ site.data.author_info.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> + <name>{{ site.data.author_info.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> + <uri>{{ site.data.author_info.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> </author> <!-- Content --> |