Stream: implementers
Topic: jekyll template context for index.html
Sean McIlvenna (Sep 19 2016 at 21:25):
Anyone know what is in context for the index.html for jekyll when processing the index.html page? I'd like to have jekyll enumerate some of the profiles in the implementation guide in the index.html rather than having to create static content in the index.html for each structure definition.
Sean McIlvenna (Sep 19 2016 at 21:26):
I assume that is something you *could* theoretically do, since I see stuff like {% include XX.html %}
Grahame Grieve (Sep 19 2016 at 22:05):
There's a data file in _data which contains the structures you need
Grahame Grieve (Sep 19 2016 at 22:05):
structuredefinitions.json
Grahame Grieve (Sep 19 2016 at 22:06):
you iterate it the standard jekyll way
Sean McIlvenna (Sep 20 2016 at 03:34):
nice... OK. I see now
Sean McIlvenna (Sep 20 2016 at 03:34):
Thanks
Sean McIlvenna (Sep 20 2016 at 03:34):
Is there any way to influence the fhir-build on what shows up in the _data structures?
Sean McIlvenna (Sep 20 2016 at 03:35):
for example: I see there is a fhir.json which contains some ig-specific information. is there a way to have the publication process include the IG's description in the _data/fhir.json file?
Grahame Grieve (Sep 20 2016 at 09:53):
yes you ask me
Grahame Grieve (Sep 20 2016 at 09:54):
what's 'the IG's description" exactly?
Sean McIlvenna (Sep 20 2016 at 13:10):
well in this particular case it's just "Test ig description"
Sean McIlvenna (Sep 20 2016 at 13:10):
but will eventually have a lot more
Grahame Grieve (Sep 20 2016 at 13:21):
I mean, where do I get the infomration from?
Sean McIlvenna (Sep 20 2016 at 14:09):
I sent you an example zip of a fhir ig I've been playing with in a private message
Sean McIlvenna (Sep 20 2016 at 15:55):
can you confirm if you got it?
Sean McIlvenna (Sep 20 2016 at 15:55):
never sent a file through chat.fhir.org before...
Sean McIlvenna (Sep 21 2016 at 23:34):
Any update here?
Last updated: Apr 12 2022 at 19:14 UTC