1
Fork 0

Change URL for project homepage

This commit is contained in:
Jake Howard 2016-04-09 14:24:20 +01:00
parent 8f09aae18b
commit 98e73f18b5
3 changed files with 6 additions and 5 deletions

View file

@ -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':

View file

@ -26,7 +26,7 @@ export default class NavBar extends React.Component {
Hipchat Emoticons for All
</Item>
<Item href="#" icon="ion-social-windows">Custom PC</Item>
<Item href="/projects/all/" icon="ion-android-more-vertical">All Projects...</Item>
<Item href="/projects/" icon="ion-android-more-vertical">All Projects...</Item>
</Dropdown>
<Dropdown title="Code">
<Item href="#" icon="ion-code-working">Code Challenges</Item>

View file

@ -5,10 +5,11 @@
{% block content %}
<div class="row">
<div class="container all-projects">
{% for key, project in projects.items %}
{% for project in projects %}
<div class="">
<img src="{{ project.image }}">
<h5>{{ project.title }}
<img src="{{ project.header_image }}">
<h4>{{ project.name }}</h4>
<a href="{{ project.url }}">Read More</a>
</div>
{% endfor %}
</div>