Skip to content
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

Multipage collections in jekyll-theme-ed2 #2

Open
karlstolley opened this issue Apr 18, 2020 · 0 comments
Open

Multipage collections in jekyll-theme-ed2 #2

karlstolley opened this issue Apr 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@karlstolley
Copy link
Member

Rather than follow in the footsteps of ed v1, I want to handle collections so that longer works (e.g., The Narrative Life of Frederick Douglas) are:

  • Broken up by major section (chapter, act, canto, etc.) into separate URLs for lighter-weight downloads and easier referencing by URL
  • Provided a table of contents not from error-prone front matter, but by a collection of files that make up the longer work in the collections directory

Note that since Jekyll 3.7.0, collections can be organized by subdirectory: https://jekyllrb.com/docs/collections/ which means a work could be organized, for example,

└── _texts/
    └── a_famous_book/
        ├── chapter-01.md
        ├── chapter-02.md
        ├── chapter-03.md
        ├── chapter-04.md
        └── chapter-05.md

I will look into the proper baseline configuration to handle that in _config.yml, and also working through the collections in templates to generate tables of contents, etc.

@karlstolley karlstolley added the enhancement New feature or request label Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant