Skip to content

relative links #10#11

Open
johannesloetzsch wants to merge 1 commit intoaarroyoc:masterfrom
johannesloetzsch:html
Open

relative links #10#11
johannesloetzsch wants to merge 1 commit intoaarroyoc:masterfrom
johannesloetzsch:html

Conversation

@johannesloetzsch
Copy link
Contributor

required when served in a directory (instaed of webroot)

This fixes most of #10 and should not have any unintended side effects

(still needs take care about /learn directory)

required when served in a directory (instaed of webroot)
@aarroyoc
Copy link
Owner

aarroyoc commented Nov 10, 2024

It doesn't work on the learn pages and in nested modules (think of http/http_open from Scryer's docs)

Edit: Ok, I didn't read that you are already aware of it in #10

@dougransom
Copy link
Contributor

Is this going to be ever merged?

@dougransom
Copy link
Contributor

Is this code even going to work if we have files with various depths from the root? my use case is probably same as everyone elses, no need to run a web server.

I have use for some thing like {{ page_path }} which could be used to locate the css, but also for adding a ` which prevents search engines from indexing sites other than the screr official documents site.

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

Successfully merging this pull request may close these issues.

3 participants