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 pagination #29

Merged
merged 14 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 2 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
MD013:
line_length: 120

MD033: false
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ repos:
hooks:
- id: markdownlint
args:
- "--disable"
- MD033
- "--fix"
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ gem "jekyll-theme-so-simple"

group :jekyll_plugin do
gem "jekyll-remote-theme"
gem "jekyll-paginate"
end
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -33,6 +34,9 @@ defaults:
layout: post
share: true

paginate: 15
paginate_path: /page-:num/

author:
name: BikeSOMa_NJ
picture:
Expand Down
1 change: 0 additions & 1 deletion _myth-busting/bike-lanes-improve-traffic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion _pages/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ Bike SOMa NJ at either of the following.
{%- else -%}
{%- assign url = footer_link.url | relative_url -%}
{%- endif -%}
<a class="social-icon" href="{{ url }}" style="padding: 4px;"><i class="{{ footer_link.icon }} fa-4x" title="{{ footer_link.title }}"></i></a>
<a class="social-icon" href="{{ url }}" style="padding: 4px;">
<i class="{{ footer_link.icon }} fa-4x" title="{{ footer_link.title }}"></i>
</a>
{%- endfor -%}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _posts/biz/2012-10-01-measuring-street.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion _posts/safety/2010-12-01-cycle-track-vs-street.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions _posts/safety/2012-10-01-measuring-street.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 3 additions & 2 deletions _posts/safety/2016-03-01-fhwa-first-responders.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions _posts/safety/2023-09-21-bike-lanes-good-for-pedestrians.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
23 changes: 14 additions & 9 deletions index.md → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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_ <a class="social-icon" href="https://instagram.com/bikesoma_nj" style="text-decoration:none"><i class="fab fa-instagram" title="Instagram"></i>BikeSOMa_NJ</a>

# _Research topic shortcuts_
<div>
<p>
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.
</p>
<p>
<i>Maintained by</i>
<a class="social-icon" href="https://instagram.com/bikesoma_nj" style="text-decoration:none">
<i class="fab fa-instagram" title="Instagram"></i>BikeSOMa_NJ
</a>
</p>
<h1><i>Research topic shortcuts</i></h1>
</div>

<div style="text-align: center;">
<div style="display: inline-block; float: none; padding-bottom: 10px;">
Expand All @@ -24,5 +31,3 @@
</div>

<hr>

# _Latest research_