diff --git a/source/_assets/index/social.scss b/source/_assets/index/social.scss
index bc5fe50..acc5da1 100644
--- a/source/_assets/index/social.scss
+++ b/source/_assets/index/social.scss
@@ -1,14 +1,14 @@
.social {
list-style: none;
padding: 0;
- margin: 3em 0;
+ margin: 2.4em 0;
display: block;
- text-align: center;
+ text-align: left;
&__item {
display: inline-block;
margin: 0.25em 0.5em;
- font-size: 180%;
+ font-size: 120%;
}
&__link {
diff --git a/source/_assets/index/style.scss b/source/_assets/index/style.scss
index e1b723e..534b95d 100644
--- a/source/_assets/index/style.scss
+++ b/source/_assets/index/style.scss
@@ -14,27 +14,24 @@
}
@import 'social';
-}
-.hello {
- margin-top: 1em;
- font-size: 3.4em;
- margin-bottom: 0.3em;
- font-weight: normal;
+ .name {
+ margin-top: 0.6em;
+ font-size: 2.4em;
+ margin-bottom: 0.3em;
+ font-weight: bold;
- @media (max-width: $first-media-step) {
- margin-top: $mobile-margin;
+ @media (max-width: $first-media-step) {
+ margin-top: $mobile-margin;
+ }
+ }
+
+ .info {
+ margin-top: 0;
+ margin-bottom: 0.8em;
+ }
+
+ .year-title {
+ font-weight: bold;
}
}
-
-.heading {
- margin-top: 2.3em;
- margin-bottom: 0.4em;
- font-size: 1.2em;
- font-weight: normal;
-}
-
-.text {
- margin-top: 0;
- margin-bottom: 0.8em;
-}
diff --git a/source/_includes/article_list.twig b/source/_includes/article_list.twig
new file mode 100644
index 0000000..09d7634
--- /dev/null
+++ b/source/_includes/article_list.twig
@@ -0,0 +1,20 @@
+{% for year in 2010..2030 %}
+
+ {% set items = [] %}
+
+ {% for article in data.articles %}
+ {% if article.date|date('Y') == year %}
+ {% set items = items|merge([article]) %}
+ {% endif %}
+ {% endfor %}
+
+ {% if items %}
+
- Привет,
+ Антов Вахрушев
-
- меня зовут Антон Вахрушев, и это моя домашняя страница.
+
+ Я веб-программист в eLama. Пишу на PHP.
+ Предпочитаю разработку back-end, экспериментирую с front-end, интересуюсь функциональным программированием.
+ Иногда фотографирую.
-
-
+
- Читать
-
+ {% include 'article_list.twig' %}