-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
54 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<style> | ||
.image-gallery {overflow: auto; margin-left: -1%!important;} | ||
.image-gallery a {float: left; display: block; margin: 0 0 1% 1%; width: 19%; text-align: center; text-decoration: none!important;} | ||
.image-gallery a span {display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding: 3px 0;} | ||
.image-gallery a img {width: 100%; display: block;} | ||
</style> | ||
|
||
<div class="image-gallery"> | ||
{% for file in site.static_files %} | ||
{% if file.path contains include.folder %} | ||
{% if file.extname == '.jpg' or | ||
file.extname == '.jpeg' or | ||
file.extname == '.JPG' or | ||
file.extname == '.JPEG' or | ||
file.extname == '.png' or | ||
file.extname == '.PNG' or | ||
file.extname == '.gif' or | ||
file.extname == '.GIF' %} | ||
|
||
{% assign filenameparts = file.path | split: "/" %} | ||
{% assign filename = filenameparts | last | replace: file.extname,"" %} | ||
|
||
<a href="{{ file.path }}" title="{{ filename }}"> | ||
<!-- <img src="//images.weserv.nl/?url=sfpc.io/{{ file.path }}&w=300&h=300&output=jpg&q=50&t=square" alt="{{ filename }}" /> --> | ||
<img src="{{ file.path }}" alt="{{ filename }}" /> | ||
<!-- <span>{{ filename }}</span> --> | ||
</a> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<article> | ||
<h4>{{ include.project.name }}</h4> | ||
{{ include.project.content }} | ||
{{ }} | ||
{% include image-gallery.html folder="static/img/projects/the-emergence-and-decay-of-computation" %} | ||
</article> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
static/img/projects/alexander-miller/info.md → ...the-emergence-and-decay-of-computation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes