hpc-intro
hpc-intro copied to clipboard
Overwrite default setup.md
Hey all,
There are quite a few knacks to getting onto our platform, which has led to me completely replacing 'setup.md' with a site specific version. Being able to nominate a replacement 'setup.md' in the yaml file would be useful. Thoughts?
Interesting -- should be straight-forward. I would probably:
- move the contents of
setup.mdinto_includes/snippets_library/setup.snip, then - put
{% include {{ site.setup %}}as the content ofsetup.md, and - write
setup = "/snippets_library/setup.snip"into the top-level_config.yml. - To customize, move your
setup.mdinto_includes/snippets_library/institution_cluster/setup.snipand - set the corresponding path in
_includes/snippets_library/institution_cluster/_config_options.yml. - Build the site with
make --always-make site HPC_JEKYLL_CONFIG=_includes/snippets_library/institution_cluster/_config_options.yml.
Should work, I think?