Hello,
Hopefully a stupid question.

I want to put a Godot HTML5 game build into my site. So I have a folder 
with all of the assets and a `game.html`. I used the `FILE_FOLDERS` to get 
it into the `output` and can confirm that it works by knowing the URL 
directly. I want to be able to link to it from other pages though and I 
can't find how to do this.

I have this structure:

```
demos/
  game.md
  game/
      game.html
```

and conf.py

```
PAGES = (
  ("demos/game.md", "demos", "page.tmpl"),
)

FILE_FOLDERS = {"demos": "demos"}
```

And the URL `https://my-domain/demos/game/game.html` has the game.

The `demos/game.md` generates the `https://my-domain/demos/game/index.html` 
fine.  

I tried the path handlers for `filename` and `root` as links in `game.md` 
e.g.:

```
[PLAY](link://root/demos/godot-2d-creeps/creeps.html)
```

Which doesn't resolve and points to the main page.

and

```
[PLAY](link://post_path/demos/godot-2d-creeps/creeps.html)
```

Which just resolves to `https://my-domain/demos/game/index.html`

Any ideas on how to link to the `game.html` without hardcoding in my domain 
name?

Thanks,
~Sam


-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/d3852ab0-8255-493a-8a83-4221caeca977n%40googlegroups.com.

Reply via email to