isikdogan / paperplane

a very simple, flat-file, static blog generator
MIT License
2 stars 0 forks source link

Looks great #1

Open tyeeman opened 5 years ago

tyeeman commented 5 years ago

Yes, very nice. So I upload all folders except the "generator" folder to my static site, yes? You may want to say the dependencies need to be installed via pip, no big deal. I'm on Windows so I did need to do that.

Will you support tags? Looks like the 3rd line in a .md post is the tags line, true? I see on the youtube demo page you have tags at the bottom but I can't click on one to take me to a page that shows all posts with that tag. This would be nice.

I duplicated the homepage.md file and renamed it to simulate a new page but after generating the new site I don't see that page in the menu?

To change the template to a generic html/css one I pick from the web, how hard is it?

isikdogan commented 5 years ago

Thanks! That's right, you use generator to generate the pages and upload them to your server. I'll add the dependencies to the readme file. They aren't many.

I was planning to support tags, but I then realized that I didn't really have many pages on my website. This project is basically my personal website stripped down from its content. For larger websites there would be other issues as well, such as pagination breaking the javascript search tool.

Menu is hardcoded in the main template. Changing the template is not hard, you can copy and paste the jinja2 blocks into appropriate places into a custom template and run it.

tyeeman commented 5 years ago

OK, just a quick confirmation on using another template. I believe I just have to replace "main_template.html" with mine and make sure all the tags are there, correct. All the other templates in the template folder stay the same and I don't have to touch them, true?

isikdogan commented 5 years ago

If you keep the bootstrap.css, then yes. Otherwise, you might need to update the "blog_index_template.html" as well.