django-tailwind-blog
django-tailwind-blog copied to clipboard
Reworked to improve flexibility
I was browsing GitHub when I found this awesome blog template from @ashish-makes, and I wanted to use it for my purpose.
After aditiong a few things a make it mine, I thought this project could become even greater with more flexibility.
So I reworked a few things on it:
- Added categories models to make easier their management and thier assignations to posts
- Added project models, to allow an easier management instead of writing the html code
- About class to make the section text easier to edit
- Skill model, to show custom skills/values on the about page
- reworked search form to use created categories
- commented contact page url assignation (only because I don't need it)
- added and icon to the nav bar
- added script to load a virtual env (named
.env), update teh database and start the dev server (default address/port)
The blog is still basically the same, but the admin pannel now offers more possibilities.
Once again, thanks @ashish-makes for your increbible work!
Hi @PetchouDev, the categories you added are very buggy and also you leaked your API key. Except from that this is a nice PR.
What do you mean by very buggy ? I now the logic I used to make sure the user set a category is quite messy… And I think it make the category menu overflow weirdly on some resolutions But it actually seemed to work well About the api key, I don’t know even remember using one… where was it ? I just forwarded the port via SSH so I was able to connect via localhost (which doesn’t require the api key).
Anyway I will look at this deeper in the weekend, thank for your answer!
Hi @PetchouDev, I am not 100% sure anymore since it is now some weeks ago that I modified your code, but I think the categories broke the search completely for instance. About the overflow I think that this is not your fault, since this always happens, even using the original repo. The API key I meant is the tiny.cloud one