diff --git a/blog/_posts/2022-08-24-badpost.md b/blog/_posts/2022-08-24-badpost.md new file mode 100644 index 0000000..660d655 --- /dev/null +++ b/blog/_posts/2022-08-24-badpost.md @@ -0,0 +1,6 @@ +--- +layout: post +title: "Bad Post?" +--- + +For some reason I'm having issues with the last /dev post not rendering. For starters, it's actually rendering Jekyll variables WITHIN a codeblock. This seems pretty counter to the point of codeblocks. Anyway...that post might be broken if you read it. I'll look in to it. diff --git a/dev/_posts/2022-08-24-convertingtojekyll.md b/dev/_posts/2022-08-24-convertingtojekyll.md index 98e173e..bdf817d 100644 --- a/dev/_posts/2022-08-24-convertingtojekyll.md +++ b/dev/_posts/2022-08-24-convertingtojekyll.md @@ -29,6 +29,7 @@ But the problem for me, as someone with little web expierence, was getting all o So I decided to try Jekyll. I won't say it was easier; but clearly something about it clicked since I'm using it. It has a similar organization to Hugo in how it handles files; which is going to take some getting used to. I have to navigate deeper in to folders than I want to create posts. I did concede that there's no real difference between "pages" and "posts" from a functional standpoint. Wordpress treated them differently. This was a problem for doing things in Jekyll like generating post lists. The thing I really didn't want is to have to treat this like a manual site and update links in pages every time I added a non-blog related page. In fact when I first started...I had this little bash script written up: ``` + #!/bin/bash POSTS=$(find . -type f -exec stat -c '%Y %n' {} \; | sort -nr | awk 'NR==1,NR==3 {print $2}') echo $POSTS @@ -50,6 +51,7 @@ I won't go in to the details. There were a few hours of raging at the monitor be Now the main thing I really started to like about Jekyll was the fact I could mix HTML in my markdown. I'd tried this in Hugo and it literally yelled at me. If I wanted to do HTML snippits...there was another way I had to do them. I'm not worried about sticking to the straight markdown format; sometimes I have just snippits of code I want to use. Jekyll will let me do that. For example; the front page of this theme was originally had the display of posts as part of the theme's layout: ``` + --- layout: default --- @@ -68,11 +70,13 @@ layout: default {%- endif -%} + ``` Which is cool and all; but I'm the kind of person I want my index.md to be my ENTIRE index file. I wanted more flexibility in where I put things. Where as Hugo would have complianed had I tried to put that code in a markdown file; Jekyll let me do this: ``` + # ***Recent Posts:***