Recycling information about the author
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
70ce3d517d
commit
e8189ad97e
@ -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"
|
||||
|
@ -1,3 +0,0 @@
|
||||
email: "info@valentineus.link"
|
||||
name: "Valentin Popov"
|
||||
url: "http://valentineus.link"
|
@ -9,6 +9,6 @@ layout: default
|
||||
<p>Sorry, this page does not exist.</p>
|
||||
<p>
|
||||
<a class="btn btn-lg btn-primary" role="button" href="/">Home page</a>
|
||||
<a class="btn btn-lg btn-default" role="button" href="mailto:{{ site.data.author_info.email | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">Contact</a>
|
||||
<a class="btn btn-lg btn-default" role="button" href="mailto:{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">Contact</a>
|
||||
</p>
|
||||
</div>
|
||||
|
@ -1,6 +1,8 @@
|
||||
---
|
||||
permalink: "atom.xml"
|
||||
layout: compress
|
||||
title: "RSS"
|
||||
show: true
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
@ -19,9 +21,9 @@ layout: compress
|
||||
|
||||
<!-- Author -->
|
||||
<author>
|
||||
<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>
|
||||
<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>
|
||||
</author>
|
||||
|
||||
{% for item in site.posts %}
|
||||
@ -39,9 +41,9 @@ layout: compress
|
||||
|
||||
<!-- Author -->
|
||||
<author>
|
||||
<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>
|
||||
<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>
|
||||
</author>
|
||||
|
||||
<!-- Content -->
|
||||
|
Loading…
Reference in New Issue
Block a user