aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-26 07:59:58 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-26 07:59:58 +0200
commit8842cc8d2ff0240172843d8e7cdbbfb8c0cab0ce (patch)
tree9ff30cf0276746ae0794d62e43fb1f006334b589
parent"blog" is self-explanatory (diff)
downloadegor-tensin.github.io-8842cc8d2ff0240172843d8e7cdbbfb8c0cab0ce.tar.gz
egor-tensin.github.io-8842cc8d2ff0240172843d8e7cdbbfb8c0cab0ce.zip
refactoring
-rw-r--r--index.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/index.html b/index.html
index e745ab5..fca379a 100644
--- a/index.html
+++ b/index.html
@@ -33,8 +33,7 @@ projects:
<h1>{{ site.settings.author.name }}</h1>
<hr/>
-<div class="row">
-
+{% capture links %}
<div class="col-sm-5 col-md-4 col-lg-3">
<div class="list-group">
@@ -68,7 +67,9 @@ projects:
</div>
</div>
+{% endcapture %}
+{% capture projects %}
{% if page.projects %}
<div class="col-sm-6 col-md-5 col-lg-4">
@@ -93,5 +94,9 @@ projects:
</div>
{% endif %}
+{% endcapture %}
+<div class="row">
+{{ links }}
+{{ projects }}
</div>