Change URL for project homepage
This commit is contained in:
parent
8f09aae18b
commit
98e73f18b5
3 changed files with 6 additions and 5 deletions
|
@ -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':
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
Reference in a new issue