Replace the index with the new services page
This commit is contained in:
parent
911906b876
commit
2ad00de402
@ -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/')
|
||||
|
@ -7,10 +7,11 @@
|
||||
<div class="main-section">
|
||||
<section class="page-section">
|
||||
<div class="container">
|
||||
<h2>Portfolio</h2>
|
||||
<br>
|
||||
<h2>Services</h2>
|
||||
<div class="row">
|
||||
<div class="section-fullwidth">
|
||||
<div class="element-size-100">
|
||||
<!-- <div class="element-size-100">
|
||||
<div class="px-filter-holder col-md-12">
|
||||
<div class="px-main-filter">
|
||||
<span>SORT BY:</span>
|
||||
@ -22,7 +23,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrap-pad first">
|
||||
|
Loading…
Reference in New Issue
Block a user