From 75854fded94246fb8d4d7d6637c7cf5f4762265a Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Thu, 13 Jun 2024 14:43:11 +0200 Subject: [PATCH] html: Sanitize indentation --- _layouts/about.html | 26 +++++----- _layouts/blog.html | 44 ++++++++--------- _layouts/default.html | 20 ++++---- _layouts/freelance.html | 24 ++++----- _layouts/post.html | 106 ++++++++++++++++++++-------------------- _layouts/software.html | 24 ++++----- _layouts/work.html | 50 +++++++++---------- 7 files changed, 147 insertions(+), 147 deletions(-) diff --git a/_layouts/about.html b/_layouts/about.html index 7fb2101..04685df 100644 --- a/_layouts/about.html +++ b/_layouts/about.html @@ -5,21 +5,21 @@ {% endcomment -%} - {% include head.html %} +{% include head.html %} - - {% include header.html %} + +{% include header.html %} -
-
-
-

{{ page.title }}

- {{ page.profile_picture.alt }} - {{ content }} -
-
+
+
+
+

{{ page.title }}

+ {{ page.profile_picture.alt }} + {{ content }}
+
+
- {% include footer.html %} - +{% include footer.html %} + diff --git a/_layouts/blog.html b/_layouts/blog.html index b489bd7..fd1900f 100644 --- a/_layouts/blog.html +++ b/_layouts/blog.html @@ -5,30 +5,30 @@ {% endcomment -%} - {% include head.html %} +{% include head.html %} - - {% include header.html %} + +{% include header.html %} -
-
-
-

{{ page.title }}

- {{ content }} -
    - {% for post in site.posts %} -
  • - - - {{ post.title }} - -
  • - {% endfor %} -
-
-
+
+
+
+

{{ page.title }}

+ {{ content }} +
    + {% for post in site.posts %} +
  • + + + {{ post.title }} + +
  • + {% endfor %} +
+
+
- {% include footer.html %} - +{% include footer.html %} + diff --git a/_layouts/default.html b/_layouts/default.html index d6e8f15..bdbfb0d 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,17 +5,17 @@ {% endcomment -%} - {% include head.html %} +{% include head.html %} - - {% include header.html %} + +{% include header.html %} -
-
- {{ content }} -
-
+
+
+ {{ content }} +
+
- {% include footer.html %} - +{% include footer.html %} + diff --git a/_layouts/freelance.html b/_layouts/freelance.html index 400aeee..bac4221 100644 --- a/_layouts/freelance.html +++ b/_layouts/freelance.html @@ -5,20 +5,20 @@ {% endcomment -%} - {% include head.html %} +{% include head.html %} - - {% include header.html %} + +{% include header.html %} -
-
-
-

{{ page.title }}

- {{ content }} -
-
+
+
+
+

{{ page.title }}

+ {{ content }}
+
+
- {% include footer.html %} - +{% include footer.html %} + diff --git a/_layouts/post.html b/_layouts/post.html index 8f0d5e4..be411bc 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -5,65 +5,65 @@ {% endcomment -%} - {% include head.html %} +{% include head.html %} - - {% include header.html %} + +{% include header.html %} -
-
-
+
+
+
-
- {%- if page.draft %} - {% include draft-banner.html %} - {%- endif %} -

- {%- if page.headline_formatted_title %} - {{ page.headline_formatted_title | newline_to_br }} - {%- else %} - {{ page.title }} - {%- endif %} -

+
+ {%- if page.draft %} + {% include draft-banner.html %} + {%- endif %} +

+ {%- if page.headline_formatted_title %} + {{ page.headline_formatted_title | newline_to_br }} + {%- else %} + {{ page.title }} + {%- endif %} +

- {%- if page.subtitle %} -

{{ page.subtitle }}

- {%- endif %} - -
+ {%- if page.subtitle %} +

{{ page.subtitle }}

+ {%- endif %} + +
-
- {{ content }} -
+
+ {{ content }} +
- {%- if page.draft %} - {% include draft-banner.html %} - {%- endif %} -
- {%- if page.license %} - {% include cc-by-4.0.html %} - {%- endif %} -
+ {%- if page.draft %} + {% include draft-banner.html %} + {%- endif %}
+ {%- if page.license %} + {% include cc-by-4.0.html %} + {%- endif %} +
+
- {% include footer.html %} - +{% include footer.html %} + diff --git a/_layouts/software.html b/_layouts/software.html index 14f9e4c..12f10c2 100644 --- a/_layouts/software.html +++ b/_layouts/software.html @@ -4,20 +4,20 @@ {% endcomment -%} - {% include head.html %} +{% include head.html %} - - {% include header.html %} + +{% include header.html %} -
-
-
-

{{ page.title }}

- {{ content }} -
-
+
+
+
+

{{ page.title }}

+ {{ content }}
+
+
- {% include footer.html %} - +{% include footer.html %} + diff --git a/_layouts/work.html b/_layouts/work.html index c955953..7304a05 100644 --- a/_layouts/work.html +++ b/_layouts/work.html @@ -5,35 +5,35 @@ {% endcomment -%} - {% include head.html %} +{% include head.html %} - - {% include header.html %} + +{% include header.html %} -
-
-
-

{{ page.title }}

- {{ content }} +
+
+
+

{{ page.title }}

+ {{ content }} - {% for item in page.items %} -
- {{ item.image.alt }} - - {{ item.title }} - — - {{ item.description }} - -
- {% endfor %} -
+ {% for item in page.items %} +
+ {{ item.image.alt }} + + {{ item.title }} + — + {{ item.description }} +
+ {% endfor %}
+
+
- {% include footer.html %} - +{% include footer.html %} +