aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-14 21:26:17 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-14 21:26:17 +0300
commitf9f914d7ff66f26683075eb7e34794948e4dd840 (patch)
treeadf1b79ed1feeecffcc518541d4d8b54d1565d50
parentREADME update (diff)
downloadegor-tensin.github.io-f9f914d7ff66f26683075eb7e34794948e4dd840.tar.gz
egor-tensin.github.io-f9f914d7ff66f26683075eb7e34794948e4dd840.zip
put most of my personal info to _config.yml
Diffstat (limited to '')
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock10
-rw-r--r--_config.yml14
-rw-r--r--_includes/footer.html2
-rw-r--r--index.html35
5 files changed, 48 insertions, 14 deletions
diff --git a/Gemfile b/Gemfile
index 6edab2a..53205a6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,3 +1,4 @@
source 'https://rubygems.org'
gem 'github-pages'
+gem 'jekyll-github-metadata'
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
diff --git a/Gemfile.lock b/Gemfile.lock
index d2adf60..307ed9b 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
+ RedCloth (4.2.9)
RedCloth (4.2.9-x86-mingw32)
activesupport (4.2.5.2)
i18n (~> 0.7)
@@ -19,6 +20,7 @@ GEM
execjs (2.6.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
+ ffi (1.9.10-x64-mingw32)
ffi (1.9.10-x86-mingw32)
gemoji (2.1.0)
github-pages (54)
@@ -67,6 +69,8 @@ GEM
jekyll-feed (0.4.0)
jekyll-gist (1.4.0)
octokit (~> 4.2)
+ jekyll-github-metadata (1.11.1)
+ octokit (~> 4.0)
jekyll-mentions (1.0.1)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
@@ -97,6 +101,8 @@ GEM
minitest (5.8.4)
multipart-post (2.0.0)
net-dns (0.8.0)
+ nokogiri (1.6.7.2-x64-mingw32)
+ mini_portile2 (~> 2.0.0.rc2)
nokogiri (1.6.7.2-x86-mingw32)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.3.0)
@@ -122,11 +128,13 @@ GEM
wdm (0.1.1)
PLATFORMS
+ x64-mingw32
x86-mingw32
DEPENDENCIES
github-pages
+ jekyll-github-metadata
wdm (>= 0.1.0)
BUNDLED WITH
- 1.11.2
+ 1.12.5
diff --git a/_config.yml b/_config.yml
index c884da7..d8844cc 100644
--- a/_config.yml
+++ b/_config.yml
@@ -9,3 +9,17 @@ exclude:
- LICENSE.txt
- serve.bat
- README.md
+gems: ['jekyll-github-metadata']
+repository: egor-tensin/egor-tensin.github.io
+personal_info:
+ email: Egor.Tensin@gmail.com
+ cv_url: https://rawgit.com/egor-tensin/cv/master/pdf/Egor_Tensin_CV_en.pdf
+ linkedin_url: https://ru.linkedin.com/pub/egor-tensin/62/90/28b
+ gpg:
+ public_key_url: /gpg.txt
+ fingerprint: 0281 0B23 3E1A 7D41 8FB1 5245 0494 6FC7 502B 539A
+ projects:
+ - url: /sorting-algorithms/
+ name: Sorting algorithms
+ - url: /cpp-notes/
+ name: C++ notes
diff --git a/_includes/footer.html b/_includes/footer.html
index 4688047..2e9f717 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -6,7 +6,7 @@
<div style="display: table; width: 100%;">
<div style="display: table-row;">
<div style="display: table-cell;">
- <div class="text-center text-muted"><small>This project is licensed under the terms of the MIT License. See <a href="https://github.com/egor-tensin/egor-tensin.github.io#license">License</a> for details.</small></div>
+ <div class="text-center text-muted"><small>This project is licensed under the terms of the MIT License. See <a href="{{ site.github.repository_url }}#license">License</a> for details.</small></div>
</div>
</div>
<div style="display: table-row;">
diff --git a/index.html b/index.html
index 59584f8..599a0ed 100644
--- a/index.html
+++ b/index.html
@@ -4,21 +4,32 @@ layout: main
---
<div class="row">
<div class="col-md-12">
- <h1>Egor Tensin</h1>
+ <h1>{{ page.title }}</h1>
<hr/>
<p>Hello! I'm a software engineer, and I'll be publishing some of my notes on <a href="https://pages.github.com/">GitHub Pages</a>. Feel free to make contributions or contact me.</p>
<div class="list-group reasonable-width">
- <a class="list-group-item" href="https://github.com/egor-tensin/"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub profile</a>
- <a class="list-group-item" href="mailto:Egor.Tensin@gmail.com"><span class="glyphicon glyphicon-envelope"></span>&nbsp;Egor.Tensin@gmail.com</a>
- <a class="list-group-item" href="https://rawgit.com/egor-tensin/cv/master/pdf/Egor_Tensin_CV_en.pdf"><span class="glyphicon glyphicon-file"></span>&nbsp;Curriculum vitae</a>
- <a class="list-group-item" href="https://ru.linkedin.com/pub/egor-tensin/62/90/28b"><span class="glyphicon glyphicon-zoom-in"></span>&nbsp;LinkedIn profile</a>
- </div>
- <p>My personal GnuPG public key can be found <a href="/gpg.txt">here</a>.
-Its fingerprint is <code style="white-space: pre-wrap;">0281 0B23 3E1A 7D41 8FB1 5245 0494 6FC7 502B 539A</code>.</p>
- <h3>Projects</h3>
- <div class="list-group reasonable-width">
- <a class="list-group-item" href="/sorting-algorithms/"><span class="glyphicon glyphicon-chevron-right"></span>&nbsp;Sorting algorithms</a>
- <a class="list-group-item" href="/cpp-notes/"><span class="glyphicon glyphicon-chevron-right"></span>&nbsp;C++ notes</a>
+ <a class="list-group-item" href="{{ site.github.owner_url }}"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub profile</a>
+ {% if site.personal_info.email %}
+ <a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span>&nbsp;{{ site.personal_info.email }}</a>
+ {% endif %}
+ {% if site.personal_info.cv_url %}
+ <a class="list-group-item" href="{{ site.personal_info.cv_url }}"><span class="glyphicon glyphicon-file"></span>&nbsp;Curriculum vitae</a>
+ {% endif %}
+ {% if site.personal_info.linkedin_url %}
+ <a class="list-group-item" href="{{ site.personal_info.linkedin_url }}"><span class="glyphicon glyphicon-zoom-in"></span>&nbsp;LinkedIn profile</a>
+ {% endif %}
</div>
+ {% if site.personal_info.gpg %}
+ <p>My personal GnuPG public key can be found <a href="{{ site.personal_info.gpg.public_key_url }}">here</a>.
+Its fingerprint is <code style="white-space: pre-wrap;">{{ site.personal_info.gpg.fingerprint }}</code>.</p>
+ {% endif %}
+ {% if site.personal_info.projects %}
+ <h3>Projects</h3>
+ <div class="list-group reasonable-width">
+ {% for project in site.personal_info.projects %}
+ <a class="list-group-item" href="{{ project.url }}"><span class="glyphicon glyphicon-chevron-right"></span>&nbsp;{{ project.name }}</a>
+ {% endfor %}
+ </div>
+ {% endif %}
</div>
</div>