Skip to content

Commit

Permalink
merge pull request #2 from MapRVA/split-out-maps
Browse files Browse the repository at this point in the history
- create new "maps" category
  • Loading branch information
jacobwhall authored Jul 27, 2024
2 parents 417d1fb + 8ea627d commit 2c35616
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 8 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ slack_page: /slack
links:
- link: /about/
- link: /projects/
- link: /maps/
# - link: /blog/

# Build settings
Expand Down
20 changes: 20 additions & 0 deletions _pages/maps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Maps
dropdown_links:
- link: /maps/opentrailstash/
label: OpenTrailStash
links:
- link: /maps/opentrailstash/
---
Here are maps we've built.

{::nomarkdown}
{% assign subitems="" | split: ',' -%}
{% for link in page.links %}
{% assign item=site.pages | find: "url", link.link %}
{%- if item -%}
{%- assign subitems=subitems | push: item -%}
{%- endif %}
{% endfor %}
{% include item_list.html items=subitems %}
{:/nomarkdown}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: project
title: OpenTrailStash
sign: /img/projects/opentrailstash/sign.svg
sign: /img/maps/opentrailstash/sign.svg
blurb: OpenTrailStash is a map made for having fun on a bicycle, especially off-road.
buttons:
- link: https://open.trailsta.sh
Expand Down
3 changes: 0 additions & 3 deletions _pages/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ title: Projects
dropdown_links:
- link: /projects/sidewalks/
label: Sidewalks
- link: /projects/opentrailstash/
label: OpenTrailStash
- link: /projects/overpass-ultra/
label: Overpass Ultra
links:
- link: /projects/sidewalks/
- link: /projects/opentrailstash/
- link: /projects/overpass-ultra/
---
Here are the projects we're working on.
Expand Down
File renamed without changes
7 changes: 4 additions & 3 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
---
layout: page
permalink: /
featured_projects:
featured_work:
- link: /projects/sidewalks/
- link: /maps/opentrailstash/
---
# MapRVA

We are a group of mapping enthusiasts in Richmond, Virginia who work to create and share geospatial data of our city using [OpenStreetMap](https://openstreetmap.org).

## Featured Projects
## Featured Work

{::nomarkdown}
{% assign subitems="" | split: ',' -%}
{% for link in page.featured_projects %}
{% for link in page.featured_work %}
{% assign item=site.pages | find: "url", link.link %}
{%- if item -%}
{%- assign subitems=subitems | push: item -%}
Expand Down

0 comments on commit 2c35616

Please sign in to comment.