IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit 95c3a4ca authored by Amy Rose's avatar Amy Rose
Browse files

update project pages slugs to prevent blank index of /projects/

parent d327f74d
Pipeline #836 passed with stage
in 3 minutes and 51 seconds
......@@ -30,6 +30,7 @@ url: https://openr.it/ # the base hostname & protocol for your site, e.g. http:/
collections:
projects:
label: Fellows' Projects
permalink: /our-work/fellows-projects/:title
output: true
# Build settings
......
......@@ -30,6 +30,7 @@ url: https://rit.ieee-saopen.org/ # the base hostname & protocol for your site,
collections:
projects:
label: Fellows' Projects
permalink: /our-work/fellows-projects/:title
output: true
# Build settings
......
......@@ -15,8 +15,8 @@ let prev_search = "";
function init_search() {
/* Get all of the divs and put them in the projects list */
Object.entries(PROJECTS_DATA)
.forEach(([project_id, project]) => {
const project_div = document.getElementById(project_id);
.forEach(([project_slug, project]) => {
const project_div = document.getElementById(project_slug);
project.div = project_div;
project.search_valid = true;
project.filter_valid = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment