puput icon indicating copy to clipboard operation
puput copied to clipboard

Templates / themes system

Open iampbernardo opened this issue 8 years ago • 6 comments

This one looks more like a Wagtail improvement for me, but the current way to change the template is a little bit tricky.

If I understood well, you need to copy the whole puput folder and then change everything in the new folder. Do you have any idea on a system to be able (for example) to create some Puput blog templates that could be installed by people who just want a blog?

iampbernardo avatar Mar 20 '16 23:03 iampbernardo

Yeah, is an issue that I also have in mind. I think that we could add a "template_name" field on BlogPage model to select the name of the template that you previously created. If you have in mind a template system like Wordpress maybe this will be a Wagtail improvement (and interesting too).

marctc avatar Mar 20 '16 23:03 marctc

Ok, maybe not a number one priority but I will think about this one because this could be a game changer feature.

iampbernardo avatar Mar 20 '16 23:03 iampbernardo

+1

shikolay avatar Jun 02 '16 02:06 shikolay

Yo!

Is this being worked on for 1.0?

I am working to refactor the templates structure down in an effort to make template extending easier. I am following the aldryn-newsblog layout where the base.html is semantic and free of tags. If anyone is interested i can fork or open a pull request for review.

Also when i have the time i will do a write-up on just extending the templates in general for either 1. documentation or 2. A puput guide blog post.

Thanks in advance Greg

StrattonStudios avatar Oct 08 '17 14:10 StrattonStudios

Hi @StrattonStudios. As far as I know, nobody is working on this. All that you say sounds amazing to me. Go ahead!

marctc avatar Oct 20 '17 09:10 marctc

6 years late, looking for a guide on how to extend Wagtail/Puput templates. Just want to add a logo to the blog navbar. Any links/tutorials I could check out?

ghost avatar May 27 '23 23:05 ghost