Blog format changing
This commit is contained in:
parent
7a8d50922b
commit
55015745ae
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: default.liquid
|
layout: default.liquid
|
||||||
|
|
||||||
title: First Post
|
title: First Post
|
||||||
|
description: Description
|
||||||
is_draft: true
|
is_draft: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en-US">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" href="/style.css">
|
||||||
|
<link rel="alternate" title="Main RSS Feed" type="application/rss+xml" href="/rss.xml">
|
||||||
|
|
||||||
|
<link rel="icon" href="/assets/logo.svg">
|
||||||
|
<title>{{ page.title }}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{% include "navigation.liquid" %}
|
||||||
|
<div class="section">
|
||||||
|
<div class="inner-section">
|
||||||
|
{{ page.content }}
|
||||||
|
{% for post in collections.posts.pages %}
|
||||||
|
<h3>
|
||||||
|
<span><a href="{{post.permalink}}">🔗</a></span>
|
||||||
|
{{ post.title }}
|
||||||
|
<span><code class="date">{{post.published_date}}</code></span>
|
||||||
|
</h3>
|
||||||
|
<p>{{post.description}}</p>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% include "footer.liquid" %}
|
||||||
|
</body>
|
||||||
|
</html>
|
6
blog.md
6
blog.md
|
@ -1,9 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: default.liquid
|
layout: blog.liquid
|
||||||
permalink: /blog
|
permalink: /blog
|
||||||
---
|
---
|
||||||
# {{page.title}}
|
# {{page.title}}
|
||||||
|
|
||||||
{% for post in collections.posts.pages %}
|
|
||||||
### [{{ post.title }}](/{{ post.permalink }})
|
|
||||||
{% endfor %}
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Formatting Test
|
title: Formatting Test
|
||||||
|
description: Page to test formatting and CSS
|
||||||
|
published_date: "2022-03-05 20:51:17 +0000"
|
||||||
layout: default.liquid
|
layout: default.liquid
|
||||||
is_draft: false
|
is_draft: false
|
||||||
---
|
---
|
Loading…
Reference in New Issue