Update post and footer layout
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<a href="/journal">Back</a>
|
||||
<link rel="stylesheet" href="/assets/blog.css">
|
||||
|
||||
<div class="infobar">
|
||||
<a href="/blog">All posts</a>
|
||||
•
|
||||
<p>{{ page.date | date: "%Y.%m.%d" }}</p>
|
||||
</div>
|
||||
|
||||
{{ content }}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: "Hello World"
|
||||
layout: post
|
||||
date: 2025.07.18
|
||||
---
|
||||
# Welcome
|
||||
|
||||
|
||||
10
assets/blog.css
Normal file
10
assets/blog.css
Normal file
@@ -0,0 +1,10 @@
|
||||
.infobar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 1rem;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.infobar p {
|
||||
margin: 0;
|
||||
}
|
||||
@@ -30,6 +30,7 @@ footer {
|
||||
width: 100%;
|
||||
|
||||
padding-bottom: 64px;
|
||||
padding-top: 64px;
|
||||
color: dimgray;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user