diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-24 19:37:57 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-24 19:37:57 +0300 |
commit | 79c3ff52bd3454fdba20e4634fb858bae4af0482 (patch) | |
tree | 96e8db66ab3562a3090db2f0f9151832fd2c335d | |
parent | 86c86d6b6a11f38aa80339a9aa871f16376c18c4 (diff) | |
download | popov.link-79c3ff52bd3454fdba20e4634fb858bae4af0482.tar.xz popov.link-79c3ff52bd3454fdba20e4634fb858bae4af0482.zip |
Collection with information about the author
Signed-off-by: Valentin Popov <info@valentineus.link>
-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 --> |