Have added sidebar panel
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
5668edea38
commit
fdf1029737
49
_config.yml
49
_config.yml
@ -1,12 +1,12 @@
|
|||||||
# Permalinks
|
# Permalinks
|
||||||
permalink: "/:year-:month-:day/:title"
|
permalink: '/:year-:month-:day/:title'
|
||||||
|
|
||||||
# Time Zone
|
# Time Zone
|
||||||
timezone: "Europe/Samara"
|
timezone: 'Europe/Samara'
|
||||||
|
|
||||||
# Catalogs
|
# Catalogs
|
||||||
include:
|
include:
|
||||||
- "_pages"
|
- '_pages'
|
||||||
|
|
||||||
# Parsers
|
# Parsers
|
||||||
highlighter: rouge
|
highlighter: rouge
|
||||||
@ -20,49 +20,50 @@ kramdown:
|
|||||||
|
|
||||||
# SASS/SCSS
|
# SASS/SCSS
|
||||||
sass:
|
sass:
|
||||||
sass_dir: "_scss"
|
sass_dir: '_scss'
|
||||||
style: ":compressed"
|
style: ':compressed'
|
||||||
|
|
||||||
# AutoPrefixer
|
# AutoPrefixer
|
||||||
autoprefixer:
|
autoprefixer:
|
||||||
browsers:
|
browsers:
|
||||||
- "> 1%"
|
- '> 1%'
|
||||||
- "last 10 versions"
|
- 'last 10 versions'
|
||||||
|
|
||||||
# Compress HTML
|
# Compress HTML
|
||||||
compress_html:
|
compress_html:
|
||||||
blanklines: false
|
blanklines: false
|
||||||
clippings: all
|
clippings: all
|
||||||
comments: ["<!-- ", " -->"]
|
comments: ['<!-- ', ' -->']
|
||||||
endings: []
|
endings: []
|
||||||
profile: false
|
profile: false
|
||||||
startings: []
|
startings: []
|
||||||
|
|
||||||
# Website address
|
# Website address
|
||||||
url: "https://valentineus.link"
|
url: 'https://valentineus.link'
|
||||||
baseurl: ""
|
baseurl: ''
|
||||||
|
|
||||||
# Site description
|
# Site description
|
||||||
title: "Personal blog"
|
title: 'Personal blog'
|
||||||
description: "Free developer and dreamer"
|
description: 'Free developer and dreamer'
|
||||||
repos: "valentineus/valentineus.github.io"
|
avatar: 'https://www.gravatar.com/avatar/989fb5288ac482414a6d13acc329cc38?s=148'
|
||||||
rss: "/atom.xml"
|
repos: 'https://github.com/valentineus/valentineus.github.io'
|
||||||
lang: "ru"
|
rss: '/atom.xml'
|
||||||
|
lang: 'ru'
|
||||||
|
|
||||||
# About the author
|
# About the author
|
||||||
author:
|
author:
|
||||||
email: "info@valentineus.link"
|
email: 'info@valentineus.link'
|
||||||
name: "Valentin Popov"
|
name: 'Valentin Popov'
|
||||||
url: "https://valentineus.link"
|
url: 'https://valentineus.link'
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
plugins:
|
plugins:
|
||||||
- "octopress-autoprefixer"
|
- 'octopress-autoprefixer'
|
||||||
|
|
||||||
# Exceptions
|
# Exceptions
|
||||||
exclude:
|
exclude:
|
||||||
- ".*"
|
- '.*'
|
||||||
- "Gemfile"
|
- 'Gemfile'
|
||||||
- "Gemfile.lock"
|
- 'Gemfile.lock'
|
||||||
- "LICENSE.txt"
|
- 'LICENSE.txt'
|
||||||
- "README.md"
|
- 'README.md'
|
||||||
|
15
_data/aside_links.yml
Normal file
15
_data/aside_links.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
- name: 'e-mail'
|
||||||
|
tag: 'info@valentineus.link'
|
||||||
|
url: 'mailto:info@valentineus.link'
|
||||||
|
|
||||||
|
- name: 'github'
|
||||||
|
tag: '@valentineus'
|
||||||
|
url: 'https://github.com/valentineus'
|
||||||
|
|
||||||
|
- name: 'pgp'
|
||||||
|
tag: 'A90A8EA3'
|
||||||
|
url: '/publickey.txt'
|
||||||
|
|
||||||
|
- name: 'twitter'
|
||||||
|
tag: '@valyaha'
|
||||||
|
url: 'https://twitter.com/valyaha'
|
41
_includes/aside.html
Normal file
41
_includes/aside.html
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<aside class="sidebar" role="navigation">
|
||||||
|
<div class="avatar">
|
||||||
|
<img alt="Avatar" src="{{ site.avatar | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</p>
|
||||||
|
|
||||||
|
{% for link in site.data.aside_links %}
|
||||||
|
<p>
|
||||||
|
<span>{{ link.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span>
|
||||||
|
|
||||||
|
<a href="{{ link.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" target="_blank">
|
||||||
|
{{ link.tag | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<h4>Recent Posts</h4>
|
||||||
|
|
||||||
|
{% for post in site.posts limit: 5 %}
|
||||||
|
<div>
|
||||||
|
<small>
|
||||||
|
<time datetime="{{ post.date | date_to_xmlschema }}">
|
||||||
|
{{ post.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
||||||
|
</time>
|
||||||
|
</small>
|
||||||
|
|
||||||
|
<a href="{{ post.url | relative_url | uri_escape }}">
|
||||||
|
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<h4>License</h4>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The content for this site is <a href="https://creativecommons.org/licenses/by-nc/3.0/" target="_blank">CC BY-NC 3.0</a>.
|
||||||
|
The <a href="{{ site.repos | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" target="_blank">code</a>
|
||||||
|
for this site is <a href="https://opensource.org/licenses/MIT" target="_blank">MIT</a>.
|
||||||
|
</p>
|
||||||
|
</aside>
|
@ -1 +1,2 @@
|
|||||||
|
@import 'components/avatar';
|
||||||
@import 'components/core';
|
@import 'components/core';
|
||||||
|
9
_scss/components/_avatar.scss
Normal file
9
_scss/components/_avatar.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
.avatar {
|
||||||
|
margin: auto;
|
||||||
|
max-width: 148px;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
}
|
52
publickey.txt
Normal file
52
publickey.txt
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBFqQEMEBEADZEwh6YZzlJM3IyrAgbcuZWmxJVmhRU0adCUPB1cKgz3ncYXez
|
||||||
|
SqT4LtoZmnAzqlJ8qj0TME9IgQwRzTUE/OuEVzoqq3cOBtYA3JiF/Ez4oQib6Wip
|
||||||
|
ekoz+uSV415aKs3LYv6HmS0GezSnxIwvERFdaQfmw/RWy+y7PqS7t0iaDxeGB9MC
|
||||||
|
8D5UwoeWxm/QbJZbjLPVwvl4D303DE+bXG/eJH6sXu106uKgML0SeOTbH4sSuEcE
|
||||||
|
sjo1aWVVPoTPR/3DRH30z2PbCjuyMvD5i9NdPmRkf5hw6NVU7V01ESus6xs+uHN/
|
||||||
|
db9o7t2LhU4/8KPfR0TYcWFSyDiD4cym6ijfDkJV0e+jYEVSBKSXjMTG8M8+Zgub
|
||||||
|
kJxCDIke2kkDaiNyM46Dc6IkIgh104ZInn5oQMVT/uXBg+SpfkIgme93xnUXhadB
|
||||||
|
hy864daVojrWO1pg0tkRVccW0a9+6NuJZknvlRgI5ehVloDBxvpijjW+4HYxVNRe
|
||||||
|
LEVNWOox/KiBTcrcAXMUKTzwgslaMxOnrdBcNjsCZi0Oer/OFSQNG6GbN+bO5Jbu
|
||||||
|
fJKDietvT1j7o2T47QBOaExMTkWH/D0lRfBduwK9qmH4C7DyqHsnlrFx9/ynKdFD
|
||||||
|
wknoWJIllmFXLQrO1iNC+jkyO6PDZ3bnKrO6OTRDUbJ7xxTdaoCO3sSchwARAQAB
|
||||||
|
t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uc75Dv5rzBmIjuLvFXs63G0pi4JMkiqbYaE
|
||||||
|
YZLJ7PbPsKHkG2oXi293f4AyAMsgh3ZVMGsHVsQxEdp2nv8IRrNJsZVOzRIs+7h4
|
||||||
|
dwtO2I8MKDmjPOtsYzzWElsW+Syl7QRPvAUe9H5oer2yBBlsbo+90QzjC3y6Fnu5
|
||||||
|
081UoDWQ4rrlzNV9E0kutMOUL4oD/HH5INdmADDGT8piiBZr4/VFe1pfBmNZUL4d
|
||||||
|
HyCEhAVIv89KtLq+UYhR1GYgohx3ugt4Lz9HwF0ky31bIqQgF9b4Oh9zmfMT1u++
|
||||||
|
M21gYonKMK2Skwxq2o8QGBPkzWKPDtPiFLK0CBYbOtS+Z/nyTSwqPhh2who71vHC
|
||||||
|
6N8fChEpjD4t57epE6MnZiwckgUThvjfGgkbKhSAEJx9SPq+5klz/ojYcP4RSCWl
|
||||||
|
7/M=
|
||||||
|
=J5dt
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
Loading…
Reference in New Issue
Block a user