You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m attempting to create an archives list in a sidebar. The sidebar should appear on multiple pages, including the archive page itself. Unfortunately, the site.archives template variable doesn’t seem to be available in the archive-specified layout.
Should have noted above: months is empty in the above example. Therefore, there are no archive list items are output. I can put together a more detailed example if needed.
I have a similar issue where a site environment variable is specified (in a generator plugin) and available throughout the site, except in the archive templates. Are we able to specify the ordering of he generators invoked by Jekyll, since jekyll-archives is possibly automatically invoked before my other generator plugin has specified a site variable?
I’m attempting to create an archives list in a sidebar. The sidebar should appear on multiple pages, including the archive page itself. Unfortunately, the
site.archives
template variable doesn’t seem to be available in the archive-specified layout.Here’s a basic example to reproduce:
_config.yml:
_layouts/archive.html:
The text was updated successfully, but these errors were encountered: