From 9fc6931f631017a380de457b88d7b057c2fbf3fb Mon Sep 17 00:00:00 2001 From: Jacob Hall Date: Fri, 26 Jan 2024 01:17:59 -0500 Subject: [PATCH] start working out structure of website - create About Us menu with contact, slack, etc. - create a Projects menu - create first project page - create first person page - fix copyright notice at bottom of site - a variety of other tweaks --- _config.yml | 54 ++++++++++++++++++++++++++++++++++++ _pages/about.md | 10 +++++++ _pages/blog.html | 13 +++++++++ _pages/blog/archive.html | 9 ++++++ _pages/contact.md | 4 +++ _pages/people.html | 7 +++++ _pages/projects.md | 18 ++++++++++++ _pages/projects/sidewalks.md | 12 ++++++++ _pages/slack.md | 7 +++++ _people/jacob-hall.md | 8 ++++++ about.markdown | 18 ------------ 11 files changed, 142 insertions(+), 18 deletions(-) create mode 100644 _pages/about.md create mode 100644 _pages/blog.html create mode 100644 _pages/blog/archive.html create mode 100644 _pages/contact.md create mode 100644 _pages/people.html create mode 100644 _pages/projects.md create mode 100644 _pages/projects/sidewalks.md create mode 100644 _pages/slack.md create mode 100644 _people/jacob-hall.md delete mode 100644 about.markdown diff --git a/_config.yml b/_config.yml index c067926..9897f3e 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,5 @@ title: MapRVA +copyright: MapRVA email: maprva@gmail.com description: >- # this means to ignore newlines until "baseurl:" We are a group of mapping enthusiasts in Richmond, Virginia who work @@ -12,8 +13,61 @@ instagram: false twitter: false facebook: false linkedin: false +links: + - link: /about/ + - link: /projects/ + # - link: /blog/ # Build settings theme: osmus-dogwood plugins: - jekyll-feed + +collections: + feeds: + output: true + pages: + output: true + projects: + output: true + people: + output: true + posts: + output: true + redirects: + output: true +defaults: + - + scope: + path: "_pages" + type: "pages" + values: + permalink: /:path/ + layout: "page" + - + scope: + path: "_redirects" + type: "redirects" + values: + permalink: /:path/ + layout: "redirect" + - + scope: + path: "_people" + type: "people" + values: + layout: "person" + - + scope: + path: "_projects" + type: "projects" + values: + layout: project + - + scope: + path: "_posts/blog" + type: "posts" + values: + permalink: /blog/:year/:month/:title/ + category: "Blog" + layout: "post" diff --git a/_pages/about.md b/_pages/about.md new file mode 100644 index 0000000..319b839 --- /dev/null +++ b/_pages/about.md @@ -0,0 +1,10 @@ +--- +title: About Us +dropdown_links: + - link: /people/ + - link: /contact/ + label: Contact + - link: /slack/ + label: Slack +--- +We are... diff --git a/_pages/blog.html b/_pages/blog.html new file mode 100644 index 0000000..97c88af --- /dev/null +++ b/_pages/blog.html @@ -0,0 +1,13 @@ +--- +title: Blog +links: + - link: /blog/archive/ +dropdown_links: + - link: /blog/ + label: Latest + - link: /blog/archive/ +--- +{% assign items=site.posts | where: "category", "Blog" | slice: 0, 20 %} +
+ {% include item_list.html items=items %} +
\ No newline at end of file diff --git a/_pages/blog/archive.html b/_pages/blog/archive.html new file mode 100644 index 0000000..b4de561 --- /dev/null +++ b/_pages/blog/archive.html @@ -0,0 +1,9 @@ +--- +title: Blog Archive +short_title: Archive +--- +
+ {% assign items=site.posts | where: "category", "Blog" %} + {% include item_list.html items=items type="simple" %} +
+ diff --git a/_pages/contact.md b/_pages/contact.md new file mode 100644 index 0000000..452f388 --- /dev/null +++ b/_pages/contact.md @@ -0,0 +1,4 @@ +--- +title: Contact Us +--- +We are active on [Slack](/slack), and announce upcoming meetings on [Mastodon](https://en.osm.town/@maprva) as well. diff --git a/_pages/people.html b/_pages/people.html new file mode 100644 index 0000000..fd6fe5a --- /dev/null +++ b/_pages/people.html @@ -0,0 +1,7 @@ +--- +title: People +--- +{% assign items=site.people %} +
+ {% include people_list.html people=items gallery=true %} +
\ No newline at end of file diff --git a/_pages/projects.md b/_pages/projects.md new file mode 100644 index 0000000..455b101 --- /dev/null +++ b/_pages/projects.md @@ -0,0 +1,18 @@ +--- +title: Projects +dropdown_links: + - link: /projects/sidewalks/ + label: Sidewalks +--- +Here are the projects we're currently working on. + +{::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} diff --git a/_pages/projects/sidewalks.md b/_pages/projects/sidewalks.md new file mode 100644 index 0000000..8928126 --- /dev/null +++ b/_pages/projects/sidewalks.md @@ -0,0 +1,12 @@ +--- +layout: project +title: Mapping Pedestrian Infrastructure +# image: +blurb: We are mapping every sidewalk and pedestrian crossing in Richmond +buttons: + - link: https://tasks.openstreetmap.us/projects/438/ + label: Contribute! +--- +{::nomarkdown} +{% include page_people_list.html %} +{:/nomarkdown} diff --git a/_pages/slack.md b/_pages/slack.md new file mode 100644 index 0000000..e1b1e20 --- /dev/null +++ b/_pages/slack.md @@ -0,0 +1,7 @@ +--- +title: Join us on Slack +--- +Most of our communication happens in the `local-rva` channel of the [OpenStreetMap US Slack](https://openstreetmap.us/get-involved/slack/). +You are welcome to join us, we'd love to chat! + +For other ways to contact us, see our [Contact page](/contact). diff --git a/_people/jacob-hall.md b/_people/jacob-hall.md new file mode 100644 index 0000000..1d790a6 --- /dev/null +++ b/_people/jacob-hall.md @@ -0,0 +1,8 @@ +--- +title: Jacob Hall +image: https://jacobhall.net/profile.jpg +website: https://jacobhall.net +github: jacobwhall +linkedin: jacobwhall +--- +Jacob Hall is a mapper in Richmond, Virginia diff --git a/about.markdown b/about.markdown deleted file mode 100644 index 8b4e0b2..0000000 --- a/about.markdown +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: About -permalink: /about/ ---- - -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) - -You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) - -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) - - -[jekyll-organization]: https://github.com/jekyll