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

Add Featured articles below index's Featured courses #12

Closed
4 tasks done
BretFisher opened this issue Feb 11, 2022 · 0 comments · Fixed by #16 or #20
Closed
4 tasks done

Add Featured articles below index's Featured courses #12

BretFisher opened this issue Feb 11, 2022 · 0 comments · Fixed by #16 or #20
Labels
enhancement New feature or request outsourced Approved for outsourcing theme development Dev worked that would usually require PRs to this repo

Comments

@BretFisher
Copy link
Owner

BretFisher commented Feb 11, 2022

The current home page shows a list of all posts sorted by date under "latest articles". I'd like to have Featured posts above that, basically a copy-paste of the "featured courses" pages.

  • Rename featured.hbs to featured-courses.hbs and change default.hbs to match
  • Update package.json to have toggles for "featured courses, featured posts", and add a title box. Ideally we want to control all three titles and which featured div's are shown via the theme settings. (I know I didn't update package.json when I updated featured.hbs to only show course pages, so if you could edit that in package.json as well, that would be great)
  • Copy featured-courses.hbs to featured-posts.hbs, change partial to posts not pages and no tag filter, and change default.hbs to display it below featured-courses partial (screen shot below)
  • Somehow change the post list to not show featured posts, since they are already shown above.

Untitled 2

@BretFisher BretFisher added enhancement New feature or request theme development Dev worked that would usually require PRs to this repo labels Feb 11, 2022
@BretFisher BretFisher linked a pull request Feb 22, 2022 that will close this issue
3 tasks
@BretFisher BretFisher added the outsourced Approved for outsourcing label Feb 22, 2022
@BretFisher BretFisher linked a pull request May 1, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request outsourced Approved for outsourcing theme development Dev worked that would usually require PRs to this repo
Projects
Status: Done
1 participant