-
-
Notifications
You must be signed in to change notification settings - Fork 27
Restructure everything to use django-amber #3
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
base: master
Are you sure you want to change the base?
Conversation
I have kept the same directory structure for content, templates, and media.
Hi Peter, I really want to use this, but there are still problems. Sorry... :-( I'll try to explain what and why below. Hopefully this is useful and we can move forward - I'd like to drop wok asap. Simplicity first! Don't assume technical competence! I hope a large number of our contributors won't be technical, so it's essential that simplicity wins. I want to be able to say to them: "If you put a file in For this to work, the This is important for another reason, if we find we have lots of international pages the global root shouldn't default to whatever is in If I navigate to I realise why (you're following links from What happens if I want to serve a static file that's not Also, can we clean up the Django related stuff after a build - db.sqlite etc..? It just feels untidy having them hang around. What I want is something very simple like the moon on the stick I describe above. ;-) Amber is almost there, soooooo close, but not quite. Can this be fixed? I would offer to help fix things up but I have to write content, re-code a web-editor, fix some CSS problems, blah blah blah for Monday. |
Hi @ntoll, thanks for the feedback. This is only the third site that I've used amber for (the other two aren't live yet) and it's good to get more input on how it could/should work. Let's sort this out into issues with amber, and issues with how amber is set up for this site. For this site:
For amber:
Have I missed anything? |
+100000 on all that! Clarification - yes, non-static paths is just a question of files that should be served in their raw form no matter the file extension . Yay! |
I've updated amber to allow 1-1 mapping between content and output. (To do this, I had to allow for keys to contain slashes.) Before I rebase this branch against master and address the other concerns, can you check that you're happy with how it works? |
Hi @inglesp, Many apologies for not responding sooner. This looks great but I have a couple of queries:
Hope this makes sense! Many thanks for all your efforts with this! N. |
I'm not realistically going to get to this before PyCon UK, sorry! |
I have kept the same directory structure for content, templates, and
media.