diff options
-rw-r--r-- | _config.yml | 57 | ||||
-rw-r--r-- | _config_dev.yml | 4 | ||||
-rw-r--r-- | index.html | 26 |
3 files changed, 47 insertions, 40 deletions
diff --git a/_config.yml b/_config.yml index 0cc4ced..f01d186 100644 --- a/_config.yml +++ b/_config.yml @@ -1,47 +1,36 @@ # Jekyll -plugins: - - jekyll-github-metadata - - jekyll-remote-theme - exclude: - Gemfile - Gemfile.lock - - LICENSE.txt - README.md - vendor/ +# Plugins +plugins: + - jekyll-github-metadata + - jekyll-remote-theme + # jekyll-github-metadata repository: egor-tensin/egor-tensin.github.io # jekyll-remote-theme -remote_theme: egor-tensin/jekyll-theme@9c44060f0d9dd530a4d90c635da7b83935a1ec19 - -# egor-tensin/jekyll-theme -bootstrap_version: 3.3.7 -jquery_version: 1.12.4 -html5shiv_version: 3.7.3 -respond_version: 1.4.2 +remote_theme: egor-tensin/jekyll-theme@f5dec4b9690193aa0eba8c9705ae01a0238ecf56 -minified_externals: true -hide_navbar: true +# Theme settings +settings: + project: + license: MIT License + license_file: LICENSE.txt + author: + name: Egor Tensin + email: Egor.Tensin@gmail.com + navbar: + hide: true + 3rdparty: + versions: + bootstrap: 3.3.7 + jquery: 1.12.4 + html5shiv: 3.7.3 + respond: 1.4.2 + minified: true personal_info: - name: Egor Tensin - email: Egor.Tensin@gmail.com - links: - - url: mailto:Egor.Tensin@gmail.com - text: Egor.Tensin@gmail.com - glyph: envelope - - url: /gpg.txt - text: GnuPG key - glyph: lock - - url: /cv/cv.pdf - text: CV - glyph: file - - url: https://egort.name/ - text: egort.name - glyph: globe - projects: - - url: /blog/ - name: Blog - - url: /sorting-algorithms/ - name: Sorting algorithms diff --git a/_config_dev.yml b/_config_dev.yml index fd91893..8651afd 100644 --- a/_config_dev.yml +++ b/_config_dev.yml @@ -1 +1,3 @@ -minified_externals: false +settings: + 3rdparty: + minified: false @@ -1,8 +1,23 @@ --- title: Main page layout: plain +links: + - url: /gpg.txt + text: GnuPG key + glyph: lock + - url: /cv/cv.pdf + text: CV + glyph: file + - url: https://egort.name/ + text: egort.name + glyph: globe +projects: + - url: /blog/ + name: Blog + - url: /sorting-algorithms/ + name: Sorting algorithms --- -<h1>{{ site.personal_info.name }}</h1> +<h1>{{ site.settings.author.name }}</h1> <hr/> <p>Hello! @@ -11,17 +26,18 @@ Feel free to make contributions or contact me.</p> <div class="list-group wide-enough"> <a class="list-group-item" href="{{ site.github.owner_url }}"><span class="glyphicon glyphicon-home"></span> GitHub</a> - {% if site.personal_info.links %} - {% for link in site.personal_info.links %} + <a class="list-group-item" href="mailto:{{ site.settings.author.email }}"><span class="glyphicon glyphicon-envelope"></span> {{ site.settings.author.email }}</a> + {% if page.links %} + {% for link in page.links %} <a class="list-group-item" href="{{ link.url }}"><span class="glyphicon glyphicon-{{ link.glyph }}"></span> {{ link.text }}</a> {% endfor %} {% endif %} </div> -{% if site.personal_info.projects %} +{% if page.projects %} <h3>Projects</h3> <div class="list-group wide-enough"> - {% for project in site.personal_info.projects %} + {% for project in page.projects %} <a class="list-group-item" href="{{ project.url }}"><span class="glyphicon glyphicon-chevron-right"></span> {{ project.name }}</a> {% endfor %} </div> |