aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-10 02:05:06 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-10 02:12:31 +0300
commit9828129b3072ad66b9cf195db16796c9dd73ed59 (patch)
tree79b8a49b61a9ad415303a7350a601aa6e2a8977c
parentworkflows/test: merge jobs, Bundler caching (diff)
downloadegor-tensin.github.io-9828129b3072ad66b9cf195db16796c9dd73ed59.tar.gz
egor-tensin.github.io-9828129b3072ad66b9cf195db16796c9dd73ed59.zip
bump jekyll-theme, move links to index.html
-rw-r--r--_config.yml57
-rw-r--r--_config_dev.yml4
-rw-r--r--index.html26
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
diff --git a/index.html b/index.html
index 19003c2..fded95c 100644
--- a/index.html
+++ b/index.html
@@ -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>&nbsp;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>&nbsp;{{ 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>&nbsp;{{ 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>&nbsp;{{ project.name }}</a>
{% endfor %}
</div>