From 50de1b6ca53855d3b250ec424804fd6547b22b6a Mon Sep 17 00:00:00 2001 From: Lucas Amaro Date: Thu, 10 Mar 2022 22:00:53 -0300 Subject: [PATCH] Add html_minifier and meta images to redirects --- _layouts/listing.html | 77 ++++++++++++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 23 deletions(-) diff --git a/_layouts/listing.html b/_layouts/listing.html index a04677a..6cf599a 100644 --- a/_layouts/listing.html +++ b/_layouts/listing.html @@ -1,34 +1,65 @@ --- -layout: default +layout: html_minifier --- -
- {%- include header.html -%} -
+ + -
+ + {%- include head.html -%} + + + -

{{ page.title | escape }}

+ +
+ {%- include header.html -%} +
+ +
+ +

{{ page.title | escape }}

+ +

Posts filed under this category:

+ + + +
+ +
+ +
+ {%- include footer.html -%} +
-

Posts filled under this category:

+ {%- include darken.html -%} - + {% if jekyll.environment != "local" and site.shynet %} -
+ {% comment %} This is to prevent double slashes "//" {% endcomment %} + {% assign shynet_last_char = site.shynet | slice: -1 %} -
+ {% if shynet_last_char == "/" %} + {% assign new_length = site.shynet | size | minus: 1 %} + {% assign shynet = site.shynet | slice: 0, new_length %} + {% else %} + {% assign shynet = site.shynet %} + {% endif %} - + + + {% endif %} - \ No newline at end of file + + + + \ No newline at end of file