diff --git a/_includes/comments/remark42.html b/_includes/comments/remark42.html index 5e2de52..9c50ac0 100644 --- a/_includes/comments/remark42.html +++ b/_includes/comments/remark42.html @@ -1,4 +1,35 @@
- \ No newline at end of file + + + \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index 16f48dd..d4ee750 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -6,41 +6,39 @@ - + {% capture seo_tags %} - {% seo title=false %} + {% seo title=false %} {% endcapture %} {% if page.image %} - {% assign img = page.image.path | default: page.image %} + {% assign img = page.image.path | default: page.image %} - {% unless img contains '://' %} - {% assign img_path = page.img_path | append: '/' | append: img | replace: '//', '/' %} - {% capture target %}"{{ img | absolute_url }}"{% endcapture %} + {% unless img contains '://' %} + {% assign img_path = page.img_path | append: '/' | append: img | replace: '//', '/' %} + {% capture target %}"{{ img | absolute_url }}"{% endcapture %} - {% if site.img_cdn contains '//' %} - - {% capture replacement %}"{{ site.img_cdn }}{{ img_path }}"{% endcapture %} - {% else %} - - {%- capture replacement -%} - "{{ site.img_cdn | append: '/' | append: img_path | replace: '//', '/' | absolute_url }}" - {%- endcapture -%} - {% endif %} + {% if site.img_cdn contains '//' %} + + {% capture replacement %}"{{ site.img_cdn }}{{ img_path }}"{% endcapture %} + {% else %} + + {%- capture replacement -%} + "{{ site.img_cdn | append: '/' | append: img_path | replace: '//', '/' | absolute_url }}" + {%- endcapture -%} + {% endif %} - {% assign seo_tags = seo_tags | replace: target, replacement %} - {% endunless %} + {% assign seo_tags = seo_tags | replace: target, replacement %} + {% endunless %} {% endif %} {{ seo_tags }} {%- unless page.layout == 'home' -%} - {{ page.title | append: ' | ' }} + {{ page.title | append: ' | ' }} {%- endunless -%} {{ site.title }} @@ -48,24 +46,24 @@ {% include_cached favicons.html %} {% if site.resources.ignore_env != jekyll.environment and site.resources.self_hosted %} - + {% else %} - {% for cdn in site.data.origin[type].cdns %} - - - {% endfor %} + {% for cdn in site.data.origin[type].cdns %} + + + {% endfor %} - + {% endif %} {% if jekyll.environment == 'production' and site.google_analytics.id != empty and site.google_analytics.id %} - - + + - - + + {% endif %} @@ -77,20 +75,41 @@ {% if site.toc and page.toc %} - + {% endif %} {% if page.layout == 'page' or page.layout == 'post' %} - - + + {% endif %} - + + + {% unless site.theme_mode %} - {% include mode-toggle.html %} + {% include mode-toggle.html %} {% endunless %} {% include metadata-hook.html %} - + \ No newline at end of file diff --git a/_includes/likes.html b/_includes/likes.html index 9f5628e..67f35d4 100644 --- a/_includes/likes.html +++ b/_includes/likes.html @@ -1,7 +1,81 @@ - + + + + {% include loader.html id="likes-loader" %} - \ No newline at end of file + + + \ No newline at end of file diff --git a/_includes/views.html b/_includes/views.html index 7cf606e..fe42695 100644 --- a/_includes/views.html +++ b/_includes/views.html @@ -4,5 +4,24 @@ - \ No newline at end of file + + + \ No newline at end of file