Initial commit
This commit is contained in:
0
layout/templates/empty.html
Normal file
0
layout/templates/empty.html
Normal file
9
layout/templates/no_screenshot.html
Normal file
9
layout/templates/no_screenshot.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="no-screenshot clickable">
|
||||
<a href="https://{{ item.source_url }}">
|
||||
<div class="vertical-center">
|
||||
<div class="horizontal-center">
|
||||
<span class="no-screenshot-pound">#</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
12
layout/templates/project.html
Normal file
12
layout/templates/project.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="horizontal-flex project-row">
|
||||
{{ template_if_empty item.screenshot layout/templates/no_screenshot.html layout/templates/screenshot.html }}
|
||||
<div class="vertical-flex">
|
||||
<h2>{{ item.title }}</h2>
|
||||
<p>{{ item.description }}</p>
|
||||
|
||||
<ul>
|
||||
{{ template_if_empty item.website layout/templates/empty.html layout/templates/project_website.html }}
|
||||
<li><a href="https://{{ item.source_url }}">Code</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
1
layout/templates/project_website.html
Normal file
1
layout/templates/project_website.html
Normal file
@@ -0,0 +1 @@
|
||||
<li><a href="https://{{ item.website }}">Website</a></li>
|
||||
5
layout/templates/screenshot.html
Normal file
5
layout/templates/screenshot.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div>
|
||||
<a href="https:{{ item.source_url }}" target="_blank">
|
||||
<img class="screenshot clickable" src="{{ item.screenshot }}" />
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user