wharfkit / website

The WharfKit.com website
1 stars 3 forks source link

Templating documentation and guides to use a specific chain #169

Open aaroncox opened 1 year ago

aaroncox commented 1 year ago

The basic of the idea is this:

This idea came from Telegram here: https://t.me/wharfkit/1362

I'm not sure how we'd accomplish this, except maybe we write some kind of variable into the page that happens on page render? Maybe there's a [[[chain_url]]] string in the markdown, which then persists in the HTML, and when the page renders, reads the users preference and renders https://jungle4.greymass.com?

I'm not sure we should jump on this immediately, but would like to know what kind of effort it'd take to pull this off.

deansallinen commented 1 year ago

Aside from the chain name and URL, what else would be changing? Would entire code blocks be different?

aaroncox commented 1 year ago

It's just the chain name, chain ID, and URL basically. I don't think much else would change.