Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editting maniwani/templates/post-base.html #167

Closed
therealjr opened this issue Oct 24, 2020 · 3 comments
Closed

Editting maniwani/templates/post-base.html #167

therealjr opened this issue Oct 24, 2020 · 3 comments

Comments

@therealjr
Copy link

I'm trying to add another field for new threads but any modifications I make to the file do not seem to appear. Am I correct in assuming that you must run docker-compose build/up to make changes take affect? If so, it doesn't seem to have any bearing on the generation of the file. What could I be doing wrong?

@DangerOnTheRanger
Copy link
Owner

If your branch includes #159 (it probably does, that was merged about 3 weeks ago) then most of the old Jinja templates don't do anything and should be removed. I've made #169 to track this problem. If you want to modify the new post and/or the new thread form, frontend/src/components/PostForm.jsx has taken the place of the old post-base.html template. Keep in mind you'll need to run docker-compose run maniwani update every time you update/rebuild anything on the frontend so the JS is copied over to Minio.

@therealjr
Copy link
Author

Ah. Thanks for the information! Could you let us know what files are deprecated? It would help me with adding new features to the site!

@therealjr
Copy link
Author

Nvm. I see that you included which files are to be removed in another post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants