diff --git a/project/common/data.py b/project/common/data.py index 2362fa8..1794cd2 100644 --- a/project/common/data.py +++ b/project/common/data.py @@ -30,7 +30,7 @@ def generate_projects(base_dir): files = [] for path in glob(projects_path + '/*.*'): filename = path.replace(projects_path, '') - if filename == '/all.html': + if filename == '/index.html': continue with open(path) as f: if filename.split('.')[1] == 'md': diff --git a/static/src/js/components/navbar/navbar.js b/static/src/js/components/navbar/navbar.js index 30af956..7711f08 100644 --- a/static/src/js/components/navbar/navbar.js +++ b/static/src/js/components/navbar/navbar.js @@ -26,7 +26,7 @@ export default class NavBar extends React.Component { Hipchat Emoticons for All Custom PC - All Projects... + All Projects... Code Challenges diff --git a/templates/projects/all.html b/templates/projects/index.html similarity index 59% rename from templates/projects/all.html rename to templates/projects/index.html index fd0dc43..649b16c 100644 --- a/templates/projects/all.html +++ b/templates/projects/index.html @@ -5,10 +5,11 @@ {% block content %} - {% for key, project in projects.items %} + {% for project in projects %} - - {{ project.title }} + + {{ project.name }} + Read More {% endfor %}