diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1569c6d..af96ecc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,12 +3,15 @@ on: push: jobs: - test: + linting: runs-on: ubuntu-latest steps: - - uses: articulate/actions-markdownlint@v1 + - name: check out code + uses: actions/checkout@v4 + + - name: run markdown lint + uses: docker://avtodev/markdown-lint:v1 with: - config: - files: .markdownlint.yaml - version: 0.41.0 + config: '.markdownlint.yaml' + args: '**/*.md' diff --git a/.markdownlint.yaml b/.markdownlint.yaml index f90ed06..e3ef945 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,2 +1,4 @@ MD013: line_length: 120 + +MD033: false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4c1bc17..3f579d0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,5 +9,4 @@ repos: hooks: - id: markdownlint args: - - "--disable" - - MD033 + - "--fix" diff --git a/Gemfile b/Gemfile index b918dc4..8e11ae7 100644 --- a/Gemfile +++ b/Gemfile @@ -6,4 +6,5 @@ gem "jekyll-theme-so-simple" group :jekyll_plugin do gem "jekyll-remote-theme" + gem "jekyll-paginate" end diff --git a/README.md b/README.md index a350195..454396c 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,14 @@ Live site: [betterby.bike](https://betterby.bike) ## Stack -Runs on [git pages](https://pages.github.com/) using [jekyll](https://jekyllrb.com/docs/github-pages/) for styling. Keeping things as lightweight as possible. +Runs on [git pages](https://pages.github.com/) using [jekyll](https://jekyllrb.com/docs/github-pages/) for styling. +Keeping things as lightweight as possible. ## Local dev ### Running site locally -``` +```shell docker compose up ``` diff --git a/_config.yml b/_config.yml index e2dcd7f..91ae1c9 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,7 @@ remote_theme: mmistakes/so-simple-theme plugins: - jekyll-remote-theme +- jekyll-paginate title: Life is better by bike description: ... here are the receipts @@ -33,6 +34,9 @@ defaults: layout: post share: true +paginate: 15 +paginate_path: /page-:num/ + author: name: BikeSOMa_NJ picture: diff --git a/_myth-busting/bike-lanes-improve-traffic.md b/_myth-busting/bike-lanes-improve-traffic.md index 71d1fbd..dd71c0e 100644 --- a/_myth-busting/bike-lanes-improve-traffic.md +++ b/_myth-busting/bike-lanes-improve-traffic.md @@ -6,7 +6,6 @@ Fact: Protected bike lanes _reduce_ car travel times ![cars go faster with PBLs](/images/img/2014-09-nyc-pbl/travel-time-columbus.png) - ![cars go faster with PBLs](/images/img/2014-09-nyc-pbl/travel-time-8th.png) _Source_: [NYC Protected Bike Lane Analysis](/images/research/2014-09-nyc-pbl-analysis.pdf), NYC DOT, 2014 diff --git a/_pages/contact.md b/_pages/contact.md index f9fa63b..a443bec 100644 --- a/_pages/contact.md +++ b/_pages/contact.md @@ -15,7 +15,9 @@ Bike SOMa NJ at either of the following. {%- else -%} {%- assign url = footer_link.url | relative_url -%} {%- endif -%} - + + + {%- endfor -%} diff --git a/_posts/biz/2012-10-01-measuring-street.md b/_posts/biz/2012-10-01-measuring-street.md index bb12682..d134986 100644 --- a/_posts/biz/2012-10-01-measuring-street.md +++ b/_posts/biz/2012-10-01-measuring-street.md @@ -19,6 +19,6 @@ business, maybe even great. * retail vacancies down 49% - * rest of Manhattan vacancies down only 5% + * rest of Manhattan vacancies down only 5% _Source_: [Measuring the street](/images/research/2012-10-measuring-the-street.pdf), NYC DOT, 2012 diff --git a/_posts/safety/2010-12-01-cycle-track-vs-street.md b/_posts/safety/2010-12-01-cycle-track-vs-street.md index d90aae6..188f668 100644 --- a/_posts/safety/2010-12-01-cycle-track-vs-street.md +++ b/_posts/safety/2010-12-01-cycle-track-vs-street.md @@ -9,4 +9,5 @@ tags: Bicyclist injury risk is 28% lower on cycle tracks compared to streets without bike infrastructure. Cycle tracks also are much more desirable routes seeing 2.5x the bike volume. -_Source_: [Risk of injury for bicycling on cycle tracks versus in the street](/images/research/2010-12-risk-of-injury-on-cycle-tracks-vs-street.pdf), 2010 +_Source_: [Risk of injury for bicycling on cycle tracks versus in the street](/images/research/2010-12-risk-of-injury-on-cycle-tracks-vs-street.pdf), +2010 diff --git a/_posts/safety/2012-10-01-measuring-street.md b/_posts/safety/2012-10-01-measuring-street.md index 7db8137..ed64d1b 100644 --- a/_posts/safety/2012-10-01-measuring-street.md +++ b/_posts/safety/2012-10-01-measuring-street.md @@ -8,7 +8,7 @@ tags: Protected bike lanes decreased injuries for _all_ road users. - * 8th Ave: 35% reduction - * 9th Ave: 58% reduction +* 8th Ave: 35% reduction +* 9th Ave: 58% reduction _Source_: [Measuring the street](assets/research/2012-10-measuring-the-street.pdf), NYC DOT, 2012 diff --git a/_posts/safety/2012-12-01-route-infrastructure-bicyclist-risk.md b/_posts/safety/2012-12-01-route-infrastructure-bicyclist-risk.md index e2cdf7f..1a4f503 100644 --- a/_posts/safety/2012-12-01-route-infrastructure-bicyclist-risk.md +++ b/_posts/safety/2012-12-01-route-infrastructure-bicyclist-risk.md @@ -10,4 +10,5 @@ tags: Investigation of bicyclist injuries in Vancouver and Toronto show risk of injury is ~90% lower on streets with protected bike lanes compared to those no bike infrastructure. -_Source_: [Route Infrastructure and the Risk of Injuries to Bicyclists: A Case-Crossover Study](/images/research/2012-12-route-infrastructure-bicyclist-risk.pdf), 2012 +_Source_: [Route Infrastructure and the Risk of Injuries to Bicyclists: A Case-Crossover Study](/images/research/2012-12-route-infrastructure-bicyclist-risk.pdf), +2012 diff --git a/_posts/safety/2016-03-01-fhwa-first-responders.md b/_posts/safety/2016-03-01-fhwa-first-responders.md index 98bf728..dd94dfc 100644 --- a/_posts/safety/2016-03-01-fhwa-first-responders.md +++ b/_posts/safety/2016-03-01-fhwa-first-responders.md @@ -23,11 +23,12 @@ better accounted for. These combine to make a more easily navigable street for f Key quote ... > The new configuration is leaps and bounds safer. +> > - Brian Hopely, Police Traffic Sergeant, Ocean City Police #### Sources Road Diets and Emergency Response: Friends, Not Foes - * [pdf](/images/research/2016-fhwa-road-diet-response-times.pdf) - * [original link](https://safety.fhwa.dot.gov/road_diets/resources/pdf/fhwasa17020.pdf) +- [pdf](/images/research/2016-fhwa-road-diet-response-times.pdf) +- [original link](https://safety.fhwa.dot.gov/road_diets/resources/pdf/fhwasa17020.pdf) diff --git a/_posts/safety/2023-09-21-bike-lanes-good-for-pedestrians.md b/_posts/safety/2023-09-21-bike-lanes-good-for-pedestrians.md index c1be049..a15cb27 100644 --- a/_posts/safety/2023-09-21-bike-lanes-good-for-pedestrians.md +++ b/_posts/safety/2023-09-21-bike-lanes-good-for-pedestrians.md @@ -12,5 +12,5 @@ pedestrians the decline was 39%! #### Source - * [pdf](/images/news/2023-nycdot-bike-lanes-pedestrians.pdf) - * [original link](https://www.nyc.gov/html/dot/html/pr2023/east-ny-bike-lanes.shtml) +* [pdf](/images/news/2023-nycdot-bike-lanes-pedestrians.pdf) +* [original link](https://www.nyc.gov/html/dot/html/pr2023/east-ny-bike-lanes.shtml) diff --git a/index.md b/index.html similarity index 55% rename from index.md rename to index.html index 072e217..f69bca8 100644 --- a/index.md +++ b/index.html @@ -2,16 +2,23 @@ title: The bike research cheatsheet layout: home excerpt: Life is better by bike, here are the receipts. -permalink: / +paginate: true entries_layout: list --- -Bike and safe streets advocates have our work cut out for us. To help, here is a cheatsheet of useful resources showing -some of the many ways in which more biking improves our neighborhoods and cities. - -_Maintained by_ BikeSOMa_NJ - -# _Research topic shortcuts_ +
+

+ Bike and safe streets advocates have our work cut out for us. To help, here is a cheatsheet of useful resources + showing some of the many ways in which more biking improves our neighborhoods and cities. +

+

+ Maintained by + +

+

Research topic shortcuts

+
@@ -24,5 +31,3 @@

- -# _Latest research_