diff --git a/README.md b/README.md index e14d306..d28ac7e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Each file has a [front-matter](https://github.com/jxson/front-matter) header where the attributes of the item are listed: ``` + --- title: "React" ring: adopt @@ -46,8 +47,7 @@ Following front-matter attributes are possible: * **info**: (optional) A short textual description of the item (visible in overview pages) * **featured**: (optional, default "true") If you set this to `false`, the item - will not be visibile on the homepage anymore but still available in the radar - overview. + will not be visible in the radar quadrants but still be available in the overview. The name of the .md file acts as item identifier and may overwrite items with the same name from older releases. diff --git a/js/components/PageQuadrant.js b/js/components/PageQuadrant.js index 5ebaa1c..c71c92e 100644 --- a/js/components/PageQuadrant.js +++ b/js/components/PageQuadrant.js @@ -6,10 +6,10 @@ import Fadeable from './Fadeable'; import SetTitle from './SetTitle'; import { translate } from '../../common/config'; -import { groupByQuadrants } from '../../common/model'; +import {featuredOnly, groupByQuadrants} from '../../common/model'; export default function PageQuadrant({ leaving, onLeave, pageName, items, ...props }) { - const groups = groupByQuadrants(items); + const groups = groupByQuadrants(featuredOnly(items)); return (