diff --git a/run_site.py b/run_site.py index ccc8ac1..cdb5ddb 100644 --- a/run_site.py +++ b/run_site.py @@ -19,10 +19,10 @@ def index(): # projects.append(project) projects.append([category, project, os.listdir( 'projects/'+category+'/'+project)[0]]) - return render_template('index.html', categories=categories, projects=projects) + return render_template('new_index.html', categories=categories) ### This is for JPs new request of wide portfolio categories -@app.route('/new_index') +@app.route('/old_index') def new_index(): categories = os.listdir('projects/') projects = [] @@ -31,7 +31,7 @@ def new_index(): # projects.append(project) projects.append([category, project, os.listdir( 'projects/'+category+'/'+project)[0]]) - return render_template('new_index.html', categories=categories) + return render_template('index.html', categories=categories, projects=projects) @app.route('/projects') @app.route('/projects/') diff --git a/templates/new_index.html b/templates/new_index.html index f1f2cec..ecf9fb0 100644 --- a/templates/new_index.html +++ b/templates/new_index.html @@ -7,10 +7,11 @@
-

Portfolio

+
+

Services

-
+ +