From e8189ad97ef502076d8a275734b687bfbedfd09c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 15 May 2018 15:33:05 +0400 Subject: Recycling information about the author Signed-off-by: Valentin Popov --- _config.yml | 6 ++++++ _data/author_info.yml | 3 --- _pages/404.html | 2 +- _pages/atom.xml | 14 ++++++++------ 4 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 _data/author_info.yml diff --git a/_config.yml b/_config.yml index e63ac94..0a8ffff 100644 --- a/_config.yml +++ b/_config.yml @@ -42,6 +42,12 @@ title: "Personal blog" rss: "/atom.xml" lang: "ru" +# About the author +author: + email: "info@valentineus.link" + name: "Valentin Popov" + url: "http://valentineus.link" + # Plugins plugins: - "jekyll-paginate" diff --git a/_data/author_info.yml b/_data/author_info.yml deleted file mode 100644 index 03ef667..0000000 --- a/_data/author_info.yml +++ /dev/null @@ -1,3 +0,0 @@ -email: "info@valentineus.link" -name: "Valentin Popov" -url: "http://valentineus.link" diff --git a/_pages/404.html b/_pages/404.html index 59d4490..be2e1fb 100644 --- a/_pages/404.html +++ b/_pages/404.html @@ -9,6 +9,6 @@ layout: default

Sorry, this page does not exist.

Home page - Contact + Contact

diff --git a/_pages/atom.xml b/_pages/atom.xml index 79cd5e1..d149c67 100644 --- a/_pages/atom.xml +++ b/_pages/atom.xml @@ -1,6 +1,8 @@ --- permalink: "atom.xml" layout: compress +title: "RSS" +show: true --- @@ -19,9 +21,9 @@ layout: compress - {{ 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 }} + {{ 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 }} {% for item in site.posts %} @@ -39,9 +41,9 @@ layout: compress - {{ 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 }} + {{ 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 }} -- cgit v1.2.3