summary: - adds prettier formatter configuration - formats the entire repo using prettier, ignoring minified files (`*.min.css`) and heavy generated html - changes extensions of all `.html` files to `.liquid`, which is more correct and necessary for prettier to work correctly - replaces "%-" and "-%" with just "%" — manual liquid formatting using minus signs is superfluous since we are compressing and minifying the code anyway - adds CI action for running prettier check on PR and pushes to master
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
{% 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 %}
|