removed templates and updated content
This commit is contained in:
parent
60600a9a21
commit
7bbb03eeac
9 changed files with 21 additions and 47 deletions
5
content/blog/not-a-post.md
Normal file
5
content/blog/not-a-post.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
post: false
|
||||
---
|
||||
|
||||
This is not a blog post!
|
5
content/blog/topic.md
Normal file
5
content/blog/topic.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: smth idk
|
||||
---
|
||||
|
||||
yeet
|
|
@ -2,9 +2,7 @@
|
|||
title: My First Post
|
||||
---
|
||||
|
||||
# My Title
|
||||
|
||||
- This post has some content.
|
||||
- This post has some content. I changed it.
|
||||
|
||||
```python
|
||||
def md_to_html(
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
Okay, here's a post. It references [topic](./topic.md)
|
||||
---
|
||||
post: true
|
||||
---
|
||||
|
||||
Okay, here's a post. It references [topic](./topic.md). What??
|
||||
|
|
5
content/post_list.md
Normal file
5
content/post_list.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
template: post_list
|
||||
---
|
||||
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ metadata.title }}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta charset="UTF-8" />
|
||||
<link
|
||||
href="{{ metadata.style }}"
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
media="all"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
{% if header %}
|
||||
<header id="header">
|
||||
<center>
|
||||
{{ header | safe }}
|
||||
</center>
|
||||
<hr>
|
||||
</header>
|
||||
{% endif %}
|
||||
{% block content %}{% endblock %}
|
||||
{% if footer %}
|
||||
<footer id="footer">
|
||||
<hr>
|
||||
{{ footer | safe }}
|
||||
</footer>
|
||||
{% endif %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1 +0,0 @@
|
|||
The footer content.
|
|
@ -1,2 +0,0 @@
|
|||
- One
|
||||
- Two
|
|
@ -1,6 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<article>{{ content | safe }}</article>
|
||||
{% endblock %}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue