Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Add _config.yml parameters for sorting and excluding projects #61

Merged
merged 5 commits into from
Mar 7, 2019

Conversation

tterb
Copy link
Contributor

@tterb tterb commented Mar 5, 2019

I created a _config.yml parameter that allows the user to specify whether they would like to sort project cards by stars or pushed date, in response to @brandonrosage comment on #12 and the variety of proposed sorting preferences.

Additionally, I also added _config.yml parameters that allow the user to exclude forks as proposed in #19 and specify certain projects to exclude, in the case of inactive or no longer maintained projects.

@brandonrosage
Copy link
Collaborator

brandonrosage commented Mar 7, 2019

I just tightened up the YAML structure and taxonomy so that everything was under the banner of "projects":

projects:
  sort_by: pushed
  # sort_by options:
  #   - pushed
  #   - stars
  limit: 9
  exclude:
    forks: true
    projects:
    # - repo-name

I also added the limit property to this model.

Otherwise, this is a killer improvement!

@brandonrosage brandonrosage merged commit 73231a9 into github:master Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants