Hello,
The page I'm trying to write would reference my profile page from all
the forges I works on.
The only way to do so atm is to just chain the links manually from my
_index.gmi. But the rendered html isn't the same than the index dirs or
pages.
Would it be possible to create dedicated pages that reference an
external resource, and that could be interpreted as regular pages by
kiln?
I think about blank pages with an url: parameter, but that does not
seems elegant. Maybe another way could be some hack with symlinks.
Thanks for you help!
Willow
On Fri Nov 3, 2023 at 4:50 AM EDT, Willow Barraco wrote:
> Would it be possible to create dedicated pages that reference an
> external resource, and that could be interpreted as regular pages by
> kiln?
>
> I think about blank pages with an url: parameter, but that does not
> seems elegant. Maybe another way could be some hack with symlinks.
You can use blank pages with params.url set to some value, and then
check for that in templates. For example:
---
params:
url: https://example.com
---
And then in your index template:
<a href="{{with .Params.url}}{{.}}{{else}}{{.URL}}{{end}}">