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 = []
|
files = []
|
||||||
for path in glob(projects_path + '/*.*'):
|
for path in glob(projects_path + '/*.*'):
|
||||||
filename = path.replace(projects_path, '')
|
filename = path.replace(projects_path, '')
|
||||||
if filename == '/all.html':
|
if filename == '/index.html':
|
||||||
continue
|
continue
|
||||||
with open(path) as f:
|
with open(path) as f:
|
||||||
if filename.split('.')[1] == 'md':
|
if filename.split('.')[1] == 'md':
|
||||||
|
|
|
@ -26,7 +26,7 @@ export default class NavBar extends React.Component {
|
||||||
Hipchat Emoticons for All
|
Hipchat Emoticons for All
|
||||||
</Item>
|
</Item>
|
||||||
<Item href="#" icon="ion-social-windows">Custom PC</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>
|
||||||
<Dropdown title="Code">
|
<Dropdown title="Code">
|
||||||
<Item href="#" icon="ion-code-working">Code Challenges</Item>
|
<Item href="#" icon="ion-code-working">Code Challenges</Item>
|
||||||
|
|
|
@ -5,10 +5,11 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="container all-projects">
|
<div class="container all-projects">
|
||||||
{% for key, project in projects.items %}
|
{% for project in projects %}
|
||||||
<div class="">
|
<div class="">
|
||||||
<img src="{{ project.image }}">
|
<img src="{{ project.header_image }}">
|
||||||
<h5>{{ project.title }}
|
<h4>{{ project.name }}</h4>
|
||||||
|
<a href="{{ project.url }}">Read More</a>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
Reference in a new issue