diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..66fe9c5 Binary files /dev/null and b/_includes/analytics.html differ diff --git a/_layouts/default.html b/_layouts/default.html index 58e141b..a456e98 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,6 +15,9 @@ {%- include footer.html -%} + {%- if jekyll.environment == 'production' -%} + {%- include analytics.html -%} + {%- endif -%} diff --git a/_layouts/home.html b/_layouts/home.html index e94ee83..98d5c9c 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -23,9 +23,6 @@ layout: default {% for post in paginator.posts %}

{{ post.title }}

- {% if post.alt_title %} -

{{ post.alt_title }}

- {% endif %}

{{ page.title | escape }}{% if page.subtitle %}: {{ page.subtitle | escape }}{% endif %}

- {% if page.alt_title %} -

{{ page.alt_title | escape }}

- {% endif %} - {%- include post_meta.html -%}
diff --git a/_sass/_custom.scss b/_sass/_custom.scss index ee7139d..b494cef 100644 --- a/_sass/_custom.scss +++ b/_sass/_custom.scss @@ -13,7 +13,7 @@ a:visited { text-decoration: none; &::after { color: $grey-color; - content: ' #'; + content: ' →'; } } } @@ -113,10 +113,12 @@ table:not(.rouge-table) { .previous-post { text-align: left; + max-width: 45%; } .next-post { text-align: right; + max-width: 45%; } @include media-query($on-laptop) { @@ -184,15 +186,19 @@ h2.post-alt-title { } .post-content { - > h1:not(:first-child){ + > h1:not(:first-of-type){ margin-top: $spacing-unit * 1.65; } - h2:not(:first-child) { + h2:first-of-type { + margin-top: $spacing-unit * 1.5; + } + + h2:not(:first-of-type) { margin-top: $spacing-unit * 1.4; } - h3:not(:first-child) { + h3:not(:first-of-type) { margin-top: $spacing-unit * 1.15; } diff --git a/assets/main/social-icons.svg b/assets/main/social-icons.svg index f095185..20b77e0 100644 --- a/assets/main/social-icons.svg +++ b/assets/main/social-icons.svg @@ -1,13 +1,13 @@ - + - + - + - dev.to icon +