Added support for images on project and author pages.
This commit is contained in:
parent
bb218c9c12
commit
6ef89eed3d
16 changed files with 67 additions and 20 deletions
10
_includes/project_image.njk
Normal file
10
_includes/project_image.njk
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{% if images %}
|
||||
<div id="projectImageCarrousel">
|
||||
<p>Images</p>
|
||||
<div id="projectCarrouselImageHolder">
|
||||
{% for image in images %}
|
||||
<a href="{{ page.dir }}{{ image }}"><img class="projectImage" src="{{ page.dir }}{{ image }}" alt=""></a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue