-
Notifications
You must be signed in to change notification settings - Fork 5
Subdirectory url linking #4
Comments
Hey there! Ah yeah I understand what you mean. I need to have a look at what the most elegant way to solve that situation is. You could always add a variable on every subpage, like |
Ah it seems that all you need to do is add a I'll test if that gives any problems somewhere, but if all is well you should be able to use that! |
Thank you so much for answering that so quickly! Yeah you're totally right about using /images/ to point to root directory. the only issue I still find is if you upload the production files to a server in a subdirectory, let's say in this example http://site.com/v2/ the absolute path for images will end up being http://site.com/images instead of http://site.com/v2/images By the way this repo is fantastic! |
Ah yeah that's very true! Actually I remember I once accepted a pull request for just adding a In theory you could also achieve pretty urls by just having all the page files in the templates folder and using a In any way, I'll leave this open until I think of something, or if you have any suggestions they're most welcome. Thank you for the kind words on the repo! I'm glad to see people using it. I've been using this for quite a while and it's the starter of almost all my projects 👍 |
Thanks a bunch for all your hard work. I've managed to figure some of that stuff out myself so I will be happy to share this with you! |
Please do! Always open to pull requests! |
Hey!
I'm having an issue with url restucturing for subdirectory files, for example:
https://cl.ly/2b2s2P0s3w2I
How do you go about URL rewrite on a subdirectory so it has access to all asset folders?
Apologies for my terrible explanation.
For example something like this would be great:
https://cl.ly/160T143M043H
The text was updated successfully, but these errors were encountered: