From f76cc889230c7e0b972715c140ac63c6e078a864 Mon Sep 17 00:00:00 2001
From: Santiago Lo Coco <santilococo.01@gmail.com>
Date: Thu, 10 Feb 2022 10:52:06 -0300
Subject: [PATCH] Remove footer

---
 _config.yml                           |  3 --
 _includes/footer.html                 | 25 ----------------
 _layouts/distill.html                 | 10 +------
 _sass/_base.scss                      | 27 -----------------
 blog/templates/2021-07-04-diagrams.md | 43 ---------------------------
 5 files changed, 1 insertion(+), 107 deletions(-)
 delete mode 100644 _includes/footer.html
 delete mode 100644 blog/templates/2021-07-04-diagrams.md

diff --git a/_config.yml b/_config.yml
index 758bf64..3df9138 100644
--- a/_config.yml
+++ b/_config.yml
@@ -8,7 +8,6 @@ middle_name:
 last_name: Lo Coco
 email:
 description:
-footer_text:
 keywords:
 
 lang: en
@@ -23,8 +22,6 @@ impressum_path:
 # -----------------------------------------------------------------------------
 
 navbar_fixed: true
-footer_fixed: true
-
 max_width: 800px
 
 # -----------------------------------------------------------------------------
diff --git a/_includes/footer.html b/_includes/footer.html
deleted file mode 100644
index acc4688..0000000
--- a/_includes/footer.html
+++ /dev/null
@@ -1,25 +0,0 @@
-    {% if site.footer_fixed %}
-    <footer class="fixed-bottom">
-      <div class="container mt-0">
-        &copy; Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }}
-        {%- if site.impressum_path -%}
-        <a href="{{ site.url }}{{ site.baseurl }}{{ site.impressum_path }}">Impressum</a>.
-        {%- endif -%}
-        {%- if site.last_updated -%}
-        Last updated: {{ "now" | date: '%B %d, %Y' }}.
-        {%- endif %}
-      </div>
-    </footer>
-    {%- else -%}
-    <footer class="sticky-bottom mt-5">
-      <div class="container">
-        &copy; Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }}
-        {%- if site.impressum_path -%}
-        <a href="{{ site.url }}{{ site.baseurl }}{{ site.impressum_path }}">Impressum</a>.
-        {%- endif -%}
-        {%- if site.last_updated -%}
-        Last updated: {{ "now" | date: '%B %d, %Y' }}.
-        {%- endif %}
-      </div>
-    </footer>
-    {%- endif %}
\ No newline at end of file
diff --git a/_layouts/distill.html b/_layouts/distill.html
index 6e617b3..d22f96b 100644
--- a/_layouts/distill.html
+++ b/_layouts/distill.html
@@ -1,15 +1,12 @@
 <!DOCTYPE html>
-<!-- _layouts/distill.html -->
 <html>
   <head>
     {%- include head.html %}
 
     {% include scripts/mathjax.html %}
-    <!-- Distill js -->
     <script src="{{ '/assets/js/distillpub/template.v2.js' | relative_url }}"></script>
     <script src="{{ '/assets/js/distillpub/transforms.v2.js' | relative_url }}"></script>
     {% if page._styles %}
-    <!-- Page/Post style -->
     <style type="text/css">
       {{ page._styles }}
     </style>
@@ -52,12 +49,10 @@
     }</script>
   </d-front-matter>
 
-  <body class="{%- if site.navbar_fixed -%}fixed-top-nav{%- endif -%} {%- unless site.footer_fixed -%}sticky-bottom-footer{%- endunless -%}">
+  <body class="{%- if site.navbar_fixed -%}fixed-top-nav{%- endif -%}">
 
-    <!-- Header -->
     {%- include header.html %}
 
-    <!-- Content -->
     <div class="post distill">
 
       <d-title>
@@ -96,9 +91,6 @@
 
     </div>
 
-    <!-- Footer -->
-    {%- include footer.html %}
-
   </body>
 
   <d-bibliography src="{{ page.bibliography | prepend: '/assets/bibliography/' | relative_url }}">
diff --git a/_sass/_base.scss b/_sass/_base.scss
index 613dbb1..f937254 100644
--- a/_sass/_base.scss
+++ b/_sass/_base.scss
@@ -239,33 +239,6 @@ blockquote {
   }
 }
 
-
-// Footer
-footer.fixed-bottom {
-  background-color: var(--global-footer-bg-color);
-  font-size: 0.75rem;
-  .container {
-    color: var(--global-footer-text-color);
-    padding-top: 9px;
-    padding-bottom: 8px;
-  }
-  a {
-    color: var(--global-footer-link-color);
-    &:hover {
-      color: var(--global-theme-color);
-      text-decoration: none;
-    }
-  }
-}
-
-footer.sticky-bottom {
-  border-top: 1px solid var(--global-divider-color);
-  padding-top: 40px;
-  padding-bottom: 40px;
-  font-size: 0.9rem;
-}
-
-
 // Blog
 
 .header-bar {
diff --git a/blog/templates/2021-07-04-diagrams.md b/blog/templates/2021-07-04-diagrams.md
deleted file mode 100644
index 7957fce..0000000
--- a/blog/templates/2021-07-04-diagrams.md
+++ /dev/null
@@ -1,43 +0,0 @@
----
-layout: post
-title: a post with diagrams
-date: 2021-07-04 17:39:00
-description: an example of a blog post with diagrams
----
-
-This theme supports generating various diagrams from a text description using [jekyll-diagrams](https://github.com/zhustec/jekyll-diagrams){:target="\_blank"} plugin.
-Below, we generate a few examples of such diagrams using languages such as [mermaid](https://mermaid-js.github.io/mermaid/){:target="\_blank"}, [plantuml](https://plantuml.com/){:target="\_blank"}, [vega-lite](https://vega.github.io/vega-lite/){:target="\_blank"}, etc.
-
-**Note:** different diagram-generation packages require external dependencies to be installed on your machine.
-Also, be mindful of that because of diagram generation the fist time you build your Jekyll website after adding new diagrams will be SLOW.
-For any other details, please refer to [jekyll-diagrams](https://github.com/zhustec/jekyll-diagrams){:target="\_blank"} README.
-
-
-## Mermaid
-
-Install mermaid using `node.js` package manager `npm` by running the following command:
-```bash
-npm install -g mermaid.cli
-```
-
-The diagram below was generated by the following code:
-
-{% raw %}
-```
-{% mermaid %}
-sequenceDiagram
-    participant John
-    participant Alice
-    Alice->>John: Hello John, how are you?
-    John-->>Alice: Great!
-{% endmermaid %}
-```
-{% endraw %}
-
-{% mermaid %}
-sequenceDiagram
-    participant John
-    participant Alice
-    Alice->>John: Hello John, how are you?
-    John-->>Alice: Great!
-{% endmermaid %}