build_a_blog: format shell
This commit is contained in:
parent
bc16e8c13f
commit
3519112157
1 changed files with 12 additions and 12 deletions
|
@ -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 -> 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 -> 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
|
||||||
|
|
Loading…
Reference in a new issue