Skip to content

Commit

Permalink
Sort roasters
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Carpenter committed Jun 11, 2019
1 parent ba96a61 commit f1de5fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.njk
Expand Up @@ -5,7 +5,7 @@
<section class="c-section">
<h2 class="c-section__heading" id="{{ state | slugify }}"><a href="#{{ state | slugify }}">{{ state }} ({{ roasters.length }})</a></h2>
<ul class="o-grid">
{% for roaster in roasters %}
{% for roaster in roasters | sort(false, true, 'name') %}
<li class="o-grid__item">
<article class="c-card">
<h3 class="c-card__heading">{{ roaster.name }}</h3>
Expand Down
6 changes: 3 additions & 3 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "eleventy-boilerplate",
"version": "2.0.0",
"description": "An opinionated boilerplate for new projects built with Eleventy.",
"name": "us-coffee-roasters",
"version": "1.0.0",
"description": "Crowd-sourced list of US coffee roasters",
"scripts": {
"start": "npx eleventy --config=_eleventy/config.js --serve --watch",
"build": "npx eleventy --config=_eleventy/config.js --quiet"
Expand Down

0 comments on commit f1de5fb

Please sign in to comment.