build_a_blog: format shell

This commit is contained in:
Collin Lefeber 2024-06-17 22:46:01 -04:00
parent bc16e8c13f
commit 3519112157

View file

@ -104,22 +104,22 @@ INFO:root:opening posts/build_a_blog.md for parsing, dest posts/build_a_blog.htm
INFO:root:reading posts/build_a_blog.md INFO:root:reading posts/build_a_blog.md
INFO:root:parsing posts/build_a_blog.md INFO:root:parsing posts/build_a_blog.md
INFO:root:writing to posts/build_a_blog.html INFO:root:writing to posts/build_a_blog.html
head posts/build_a_blog.html
<h1>Build-a-blog</h1>
<p>I want to share my thought process for how one would go about building a static blog generator from scratch.</p>
<ul>
<li>Generate an index with recent list of posts.</li>
<li>Generate each individual post written in markdown -&gt; html<ul>
<li>Support some metadata in each post</li>
<li>A post title should have a slug</li>
</ul>
</li>
<li>Generate RSS</li>
``` ```
Looking pretty good. Looking pretty good.
head posts/build_a_blog.html
<h1>Build-a-blog</h1>
<p>I want to share my thought process for how one would go about building a static blog generator from scratch.</p>
<ul>
<li>Generate an index with recent list of posts.</li>
<li>Generate each individual post written in markdown -&gt; html<ul>
<li>Support some metadata in each post</li>
<li>A post title should have a slug</li>
</ul>
</li>
<li>Generate RSS</li>
Now lets do this for all `.md` files in `posts/` Now lets do this for all `.md` files in `posts/`
```python ```python