From f9f914d7ff66f26683075eb7e34794948e4dd840 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 14 Jun 2016 21:26:17 +0300 Subject: put most of my personal info to _config.yml --- Gemfile | 1 + Gemfile.lock | 10 +++++++++- _config.yml | 14 ++++++++++++++ _includes/footer.html | 2 +- index.html | 35 +++++++++++++++++++++++------------ 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 @@
-
This project is licensed under the terms of the MIT License. See License for details.
+
This project is licensed under the terms of the MIT License. See License for details.
diff --git a/index.html b/index.html index 59584f8..599a0ed 100644 --- a/index.html +++ b/index.html @@ -4,21 +4,32 @@ layout: main ---
-

Egor Tensin

+

{{ page.title }}


Hello! I'm a software engineer, and I'll be publishing some of my notes on GitHub Pages. Feel free to make contributions or contact me.

-

My personal GnuPG public key can be found here. -Its fingerprint is 0281 0B23 3E1A 7D41 8FB1 5245 0494 6FC7 502B 539A.

-

Projects

-
-  Sorting algorithms -  C++ notes +  GitHub profile + {% if site.personal_info.email %} +  {{ site.personal_info.email }} + {% endif %} + {% if site.personal_info.cv_url %} +  Curriculum vitae + {% endif %} + {% if site.personal_info.linkedin_url %} +  LinkedIn profile + {% endif %}
+ {% if site.personal_info.gpg %} +

My personal GnuPG public key can be found here. +Its fingerprint is {{ site.personal_info.gpg.fingerprint }}.

+ {% endif %} + {% if site.personal_info.projects %} +

Projects

+
+ {% for project in site.personal_info.projects %} +  {{ project.name }} + {% endfor %} +
+ {% endif %}
-- cgit v1.2.3