implement comments and footer
This commit is contained in:
parent
36aa0f676a
commit
6bf7faa80b
5 changed files with 16 additions and 8 deletions
|
@ -87,7 +87,9 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
{% unless page.no_header %}{% include header.html %}{% endunless %}
|
||||
{{ content }}
|
||||
{% unless page.no_footer %}{% include footer.html %}{% endunless %}
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
{% include header.html %}
|
||||
<h1 id='logo'>{{ site.title }}</h1>
|
||||
{%- if page.autopages %}
|
||||
<div id='subheading'>Posts {{ page.pagination_type | default: "in category" }} "{{ page.autopages.display_name }}"</div>
|
||||
|
@ -27,9 +26,9 @@ layout: default
|
|||
|
||||
{%- if paginator.total_pages > 1 %}
|
||||
<div id='pagination'>
|
||||
<a {%- if paginator.previous_page %} href='{{ paginator.previous_page_path | absolute_url }}' {%- endif %}>Newer</a>
|
||||
<a {%- if paginator.previous_page %} href='{{ paginator.previous_page_path | absolute_url }}' rel='prev' {%- endif %}>Newer</a>
|
||||
Page {{ paginator.page }} of {{ paginator.total_pages }}
|
||||
<a {%- if paginator.next_page %} href='{{ paginator.next_page_path | absolute_url }}' {%- endif %}>Older</a>
|
||||
<a {%- if paginator.next_page %} href='{{ paginator.next_page_path | absolute_url }}' rel='next' {%- endif %}>Older</a>
|
||||
</div>
|
||||
{%- endif %}
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
{% include header.html %}
|
||||
<script data-isso="//isso.bune.city/" src="//isso.bune.city/js/embed.min.js"></script>
|
||||
<h1 id='post-title'>{{ page.title }}</h1>
|
||||
<main>
|
||||
<article id='post-content'>
|
||||
|
@ -15,7 +15,7 @@ layout: default
|
|||
{%- if page.tags.size > 0 -%}
|
||||
<i class='material-icons'>label</i> Tags:
|
||||
{{ " " }}{%- for tag in page.tags -%}
|
||||
<a href='/tags/{{ tag | downcase }}'>{{ tag }}</a>
|
||||
<a href='/tags/{{ tag | downcase }}' rel='tag'>{{ tag }}</a>
|
||||
{%- unless tag == page.tags.last %}, {% endunless %}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
@ -51,7 +51,7 @@ layout: default
|
|||
</section>
|
||||
<section id='post-comments'>
|
||||
<h2 id='comments'>Leave a comment</h2>
|
||||
coming soon uwu
|
||||
<div id='isso-thread'></div>
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Share Bune City Blog post on Mastodon
|
||||
layout: default
|
||||
no_header: true
|
||||
no_footer: true
|
||||
---
|
||||
<script src='/assets/mastodon-share.js'></script>
|
||||
<main>
|
||||
|
|
Loading…
Reference in a new issue