fix(css): fix footer css

master
JimZhang 2 years ago
parent 1a82c78660
commit a594705f7e

@ -1,6 +1,6 @@
+++
title = "My first post"
date = 2019-11-27
title = "Hey, this is my blog"
date = 2022-08-25
+++
This is my first blog post.
Congratulations!

File diff suppressed because one or more lines are too long

@ -323,8 +323,10 @@ button:hover {
}
footer {
margin-top: 2rem;
bottom: 0;
position: absolute;
left: 0;
right: 0;
display: flex;
align-items: center;
flex-direction: column;
@ -360,10 +362,14 @@ footer {
article {
margin-bottom: 2rem;
.body {
word-wrap: break-word;
}
}
.pagination {
margin-bottom: 2rem;
}
pre {
padding: 1rem;
overflow: auto;

@ -17,12 +17,15 @@
{%- if page.draft %}
{% continue %}
{% endif -%}
{%- if page.permalink is ending_with("/about/") %}
{% continue %}
{% endif -%}
<li >
{{ page.date | date(format="%Y-%m-%d") }} <a href={{ page.permalink }}>{{page.title}}</a>
</li>
{% endfor -%}
{%- if current_path =="/" %}
{% set pages_len = pages | length %}
{%- if current_path =="/" and pages_len > 7 %}
<li>
<a href="/posts">more posts...</a>
</li>

Loading…
Cancel
Save