diff --git a/run_site.py b/run_site.py index 103def1..dfea636 100644 --- a/run_site.py +++ b/run_site.py @@ -50,11 +50,17 @@ def show_project_file(category, project_name, filename): def about(): return render_template('aboutus.html', title="Index - JPs") -@app.route('/portfoliio') +@app.route('/portfolio') def portfolio(): - return render_template('index.html', title="Index - JPs") + categories = os.listdir('projects/') + projects = [] + for category in categories: + for project in os.listdir('projects/'+category): + # projects.append(project) + projects.append([category, project, os.listdir('projects/'+category+'/'+project)[0]]) + return render_template('index.html', title="JPs Contracting - Portfolio", categories=categories, projects=projects) @app.route('/contact') def contact(): - return render_template('contactus.html', title="Index - JPs") + return render_template('contactus.html', title="Contact Us - JPs Contracting") diff --git a/templates/blocks/head.html b/templates/blocks/head.html index 0b92b18..9fddbc7 100644 --- a/templates/blocks/head.html +++ b/templates/blocks/head.html @@ -4,7 +4,7 @@ -
- Twitter Walls events
- ABCD an receive
- see all the social media
- Newyork
+ 197 Spadina Avenue
+ Suite 500
+ Toronto, Ontario
+ Canada
(0044) 123 456 7891
+416-258-2422
Jeez titillating a much one condescendingly absurd but statically instead coaxing festively solemn notwithstanding notwithstanding public limpet where forecast brilliant hence fed goodness touched grasshopper effortlessly so versus and one rat well yet inventoried dived a frequently krill in desolately well extensive bluebird unbearable and however unskillfully pending impala begrudgingly safely this one oh upset salmon ostrich.
+At JPs contracting, we want to make your project a success. From the small one-off jobs, to large project plans, we will give you the confidence to improve and grow like you've always wanted to!