diff --git a/_layouts/default.html b/_layouts/default.html index 6a499f3..5870208 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -87,7 +87,9 @@ + {% unless page.no_header %}{% include header.html %}{% endunless %} {{ content }} + {% unless page.no_footer %}{% include footer.html %}{% endunless %} \ No newline at end of file diff --git a/_layouts/pagination.html b/_layouts/pagination.html index fc2aab4..20dda7e 100644 --- a/_layouts/pagination.html +++ b/_layouts/pagination.html @@ -1,7 +1,6 @@ --- layout: default --- -{% include header.html %}

{{ site.title }}

{%- if page.autopages %}
Posts {{ page.pagination_type | default: "in category" }} "{{ page.autopages.display_name }}"
@@ -27,9 +26,9 @@ layout: default {%- if paginator.total_pages > 1 %} {%- endif %} diff --git a/_layouts/post.html b/_layouts/post.html index e8a98e3..7b784b1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,7 +1,7 @@ --- layout: default --- -{% include header.html %} +

{{ page.title }}

@@ -15,7 +15,7 @@ layout: default {%- if page.tags.size > 0 -%} label Tags: {{ " " }}{%- for tag in page.tags -%} - {{ tag }} + {%- unless tag == page.tags.last %}, {% endunless %} {%- endfor %} {%- endif %} @@ -51,7 +51,7 @@ layout: default

Leave a comment

- coming soon uwu +
\ No newline at end of file diff --git a/assets/style.css b/assets/style.css index 4b97f97..54b2384 100644 --- a/assets/style.css +++ b/assets/style.css @@ -1,7 +1,6 @@ body { font-family: "Liberation Sans", "Nimbus Sans", "Arial", "Helvetica", sans-serif; margin: 0; - margin-bottom: 20px; } h1 { @@ -20,11 +19,17 @@ h1#logo { margin-top: -20px; } -header { +header, footer { font-family: sans-serif; background: #fafafa; padding: 0 20px; } +footer { + margin-top: 20px; + text-align: center; + padding: 10px 20px; +} + nav { display: inline-block; } diff --git a/mastodon-share.html b/mastodon-share.html index cb11500..1365448 100644 --- a/mastodon-share.html +++ b/mastodon-share.html @@ -1,6 +1,8 @@ --- title: Share Bune City Blog post on Mastodon layout: default +no_header: true +no_footer: true ---