Line 184: | Line 184: | ||
//this variable will have the page name with only the necessary information for being displayed | //this variable will have the page name with only the necessary information for being displayed | ||
var page_name_display = page_name.replace( /_/g , " "); | var page_name_display = page_name.replace( /_/g , " "); | ||
− | page_name_display= page_name_display.substring(page_name_display.lastIndexOf("/")+1, page_name_display.length); | + | page_name_display= page_name_display.substring(page_name_display.lastIndexOf("/")+1, page_name_display.length); |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
var page_sublist_id = "Sitemap0" ; | var page_sublist_id = "Sitemap0" ; | ||
Line 216: | Line 211: | ||
− | case 1 | + | case 1: |
if(page_name.substring(0,4) == "Team"){ | if(page_name.substring(0,4) == "Team"){ | ||
Line 222: | Line 217: | ||
} | } | ||
− | page_sublist_id = page_sublist_id + page_name; | + | page_sublist_id = page_sublist_id + page_name.replace( /\//g , "0"); |
append_page_to = "#Sitemap0"+ page_name.substring(0, page_name.indexOf("/")); | append_page_to = "#Sitemap0"+ page_name.substring(0, page_name.indexOf("/")); | ||
− | + | ||
− | + | ||
append_page(append_page_to, page_name, page_name_display, page_sublist_id); | append_page(append_page_to, page_name, page_name_display, page_sublist_id); | ||
break; | break; | ||
+ | |||
+ | |||
+ | case 2: | ||
+ | |||
+ | if(page_name.substring(0,4) == "Team"){ | ||
+ | page_name = page_name.replace( /:/g , "0"); | ||
+ | } | ||
+ | |||
+ | page_sublist_id = page_sublist_id + page_name.replace( /\//g , "0"); | ||
+ | append_page_to = "#Sitemap0"+ page_name.substring(0, page_name.indexOf("/")); | ||
+ | |||
+ | append_page(append_page_to, page_name, page_name_display, page_sublist_id); | ||
+ | |||
+ | break; | ||
+ | |||
+ | |||
case 3: default://this page might be a subpage inside a page in a hub list | case 3: default://this page might be a subpage inside a page in a hub list |
Revision as of 14:58, 21 April 2017
SITEMAP
iGEM is a multifaceted competition with many different components. Our websites have a lot of information, from requirements of the competition to tips on how make fundraising easier. This page is here to help you navigate our site and make sure you have access to all of its content.
LIST
TEAMS
HQ
LIST
TEAMS
HQ
This is the view for iGEM HQ
Wiki in numbers
Total pages | Wiki pages | HQ pages | Redirect pages | Not sorted | Team pages |
---|---|---|---|---|---|