~bt/barf

96eb6e243f9da2df53b7f03c0ceabdde24779185 — Bradley Taunt 4 months ago 474faa4
Include small description explaining the post file format and set proper date of blog post since it is 2023 - not 2022
5 files changed, 23 insertions(+), 8 deletions(-)

M README.md
M build/atom.xml
M build/index.html
M build/markdown-examples/index.html
M posts/markdown-examples.md
M README.md => README.md +15 -0
@@ 64,6 64,21 @@ Media (such as images, videos) are placed in the "public" folder and carried ove

---

## Post Structure

The first line of any markdown file inside your `posts` directory should start
with a h1 heading, then a line break, then the date in `YYYY-MM-DD` format.
Like so:

```
# This is the Post Title

2023-01-05
```

Changing this structure or date format will break things or require you to edit
the `barf` script accordingly.

## Projects Goals

- The core focus should be to **reduce** the code of this project, not increase it. Overall scope needs to remain small.

M build/atom.xml => build/atom.xml +4 -4
@@ 2,7 2,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>barf</title>
	<link href="https://barf.bt.ht/atom.xml" rel="self" />
	<updated>2023-01-05T10:06:01Z</updated>
	<updated>2023-01-06T14:45:05Z</updated>
	<author>
		<name>Bradley Taunt</name>
	</author>


@@ 10,7 10,7 @@
	<entry>
		<title>Markdown Examples in barf</title>
		<content type="html">&lt;h1&gt;Markdown Examples in barf&lt;/h1&gt;
&lt;p&gt;2022-01-05&lt;/p&gt;
&lt;p&gt;2023-01-05&lt;/p&gt;
&lt;p&gt;This following was lifted from &lt;a href=&quot;https://github.com/karlb/smu&quot;&gt;https://github.com/karlb/smu&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;&lt;code&gt;smu&lt;/code&gt; Syntax&lt;/h1&gt;
&lt;p&gt;smu was started as a rewrite of


@@ 244,7 244,7 @@ behaviour, use the &lt;code&gt;-n&lt;/code&gt; flag when executing smu to stricl
tags.&lt;/p&gt;</content>
		<link href="https://barf.bt.ht/markdown-examples"/>
		<id>https://barf.bt.ht/markdown-examples</id>
		<updated>2022-01-05T00:00:00Z</updated>
		<published>2022-01-05T00:00:00Z</published>
		<updated>2023-01-05T00:00:00Z</updated>
		<published>2023-01-05T00:00:00Z</published>
	</entry>
</feed>

M build/index.html => build/index.html +1 -1
@@ 117,7 117,7 @@
<p>Blogs Are Really Fun</p>
</blockquote>
<hr />
<span class='created'>2022-01-05 &mdash; <a href="markdown-examples/">Markdown Examples in barf</a></span>
<span class='created'>2023-01-05 &mdash; <a href="markdown-examples/">Markdown Examples in barf</a></span>
<footer role="contentinfo">
    <span><a href="#">↑ Back to Top</a></span><br><br>
    <small>

M build/markdown-examples/index.html => build/markdown-examples/index.html +1 -1
@@ 108,7 108,7 @@

<main>
<h1>Markdown Examples in barf</h1>
<p>2022-01-05</p>
<p>2023-01-05</p>
<p>This following was lifted from <a href="https://github.com/karlb/smu">https://github.com/karlb/smu</a></p>
<h1><code>smu</code> Syntax</h1>
<p>smu was started as a rewrite of

M posts/markdown-examples.md => posts/markdown-examples.md +2 -2
@@ 1,6 1,6 @@
# Markdown Examples in barf

2022-01-05
2023-01-05

This following was lifted from [https://github.com/karlb/smu](https://github.com/karlb/smu)



@@ 251,4 251,4 @@ You can include arbitrary HTML code in your documents. The HTML will be
passed through to the resulting document without modification. This is a good
way to work around features that are missing in smu. If you don't want this
behaviour, use the `-n` flag when executing smu to stricly escape the HTML
tags.
\ No newline at end of file
tags.