Pages, Excerpts, and Links


29/3/2011
Tags: pyBlag, blog, projects

I hadn't planned on working on pyBlag today... but I had some free time, so I did. During this free time, I managed to add three new features: pages, excerpts, and links to entire posts from excerpts. You can now click on the title of each blog post and get to that post only. Each post also has an excerpt tag, which will be shown on the main page instead of the entire content of the post, which saves a lot of space. I also added pages, and a limit to the number of posts per page. Currently the limit is 3, and there's no way to change that outside of editing the script, but you only have to change one variable to do it, so it's no big deal. The script reads in all the posts and then only posts the ones that are required.