nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
392 stars 192 forks source link

Edit template #665

Closed Immeo closed 10 months ago

Immeo commented 3 years ago

Hello, please tell me how to redo the DjangoCMS blog template for the desired structure? I understand what needs to be edited post_list.html but there is no description of tags in the official documentation, what should I do? I need to output categories(Using input radio) and be able to choose to display articles of a certain category. Display the image (preview), title, and date. How do I do this? Unfortunately, there is very little about this in the documentation.

wesleyboar commented 1 year ago

I hope you have since learned how to do this.

I had to learn this also. This repo did not have documentation to help me, nor did any other repo when I asked the same question there. And I now respect why. The reason is that our question is relevant to all Django applications, not specific to this app. (So even if we find the answer, it can appear too abstract to apply.)

Django CMS Blog (our task) → Django CMS → Django (our question) → Python

You must create (for example) post_list.html in the correct sub-directory of templates/ directory within your application. To learn other gotchas, see (stackoverflow) Customize templates in a third party Django app.

protoroto commented 10 months ago

Closing this as it is not relevant to DjangoCMS Blog ... Thanks @wesleyboar