Remove footer
This commit is contained in:
parent
499564d493
commit
f76cc88923
|
@ -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
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
{% if site.footer_fixed %}
|
||||
<footer class="fixed-bottom">
|
||||
<div class="container mt-0">
|
||||
© 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">
|
||||
© 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 %}
|
|
@ -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 }}">
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 %}
|
Loading…
Reference in New Issue