-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
site.json: Add configuration options to specify head
, footer
, site-nav
for specific pages
#389
Comments
Some options:
|
To add: there's also In the case of |
And |
Perhaps we can follow something like Jekyll's layout system, where the user has complete freedom in specifying how the
{{ navbar | safe }}
<div class="website-content">
<markbind-content /> <!-- reserved MarkBind HTML tag so MarkBind know where to insert the website content -->
</div> |
Reviving this issue as in came up during discussion. How about a
Users can then specify which template to use within the
The files in the corresponding template folder will be applied to all files in the glob. We can also have a |
That certainty sounds feasible. Of course, if the individual Also was thinking whether we might want to consider allowing the user to specify a |
Yes I think that's a good idea. We could have cases where the user wants to apply a template to all files in a glob except one, he can then set |
Tell us about your environment
As mentioned in se-edu/learningresources#62 (comment):
Reconsider the design for
head: head.md
to be more simple for the user to use. Perhaps some additional configuration settings insite.json
?Currently,
footer
andsite-nav
has the same design issue.The text was updated successfully, but these errors were encountered: