meteor / meteor/meteor-theme-hexo

Render all pages on one page

Open
#12 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Less
Stars
65
Forks
25
PR merge metrics
No merged PRs in 30d

Description

There'd be a few benefits of this:
1. Can use browser search
2. Entire sitemap in the sidebar
3. Can print for PDF for offline mode

What's needed:
- [ ] Figure out a way to get hexo to render all pages at one route. Maybe there's a plugin for it? (I searched and didn't find one)
- [ ] Update our main.js code to handle the multi-page case (I think right now it would put all sub menu items under the first top-level menu item.
- [ ] Ensure the "all page" is not indexed by google.

Happy to advise if someone wants to have a go at this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating how Hexo could render all pages at one route, then inspect main.js for its handling of multiple pages and submenu placement. Done means the all-pages view supports browser search, a complete sitemap sidebar, and PDF printing, while remaining excluded from Google indexing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.