Skip to content

Use url_for function on templates to resolve static files #264

@rochacbruno

Description

@rochacbruno

Discussed in #263

Originally posted by r3k2 May 4, 2025
Hello I have a Gemini/HTTP gemlog and inside there I have a folder for marmite for a sub blog were I do need to have pictures, I got it all to work but one thing... only works if I navigate to https://mysite.org/subsite/ but if I go to https://mysite.org/subsite then is missing CSS and needed things, I though about just adding some js to custom.js to redirect to subsite/index.html from subsite if someone happends to type it with out the trailing "/" any suggestions?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions