New blog post

* new blog post on making particles using photographs
* exif strip of all images
* some css fixes
* add video support
This commit is contained in:
2019-05-04 20:33:53 -07:00
committed by Andrew Cassidy
parent 46799a14fd
commit 97bd1c804d
53 changed files with 176 additions and 86 deletions

View File

@ -0,0 +1,19 @@
{% if include.float %}
<figure class="figure-float" style="float:{{ include.float }};">
{% else %}
<figure class="figure-video">
{% endif %}
{% capture path %}/images/{{page.path | split: '/' | last | split: '.' | first }}{% endcapture %}
{% capture src %}{{ path }}/{{ include.src }}{% endcapture %}
{% capture type %}{{ include.src | split: "." | last }}{% endcapture %}
{% include video.html src=src type=type %}
{% if include.caption %}
<figcaption>
{{ include.caption | markdownify | remove: '<p>' | remove: '</p>' }}
</figcaption>
{% endif %}
</figure>

View File

@ -5,7 +5,7 @@
<link rel="stylesheet" href="/fa/css/fontawesome.min.css">
<link rel="stylesheet" href="/fa/css/brands.min.css">
<link rel="stylesheet" href="/fa/css/regular.min.css">
<link rel="stylesheet" href="/fa/css/solid.min.css">
<link rel="stylesheet" href="/css/fnoots.css"/>
<link rel="stylesheet" href="/css/style.css"/>

View File

@ -25,7 +25,7 @@
</li>
<li>
<a href="https://github.com/drewcassidy/drewcassidy.github.io">
<i class="fa fa-li fa-code" aria-hidden="true"></i> This Site
<i class="fas fa-li fa-code" aria-hidden="true"></i> This Site
</a>
</li>
</ul>

7
_includes/video.html Normal file
View File

@ -0,0 +1,7 @@
<video height="240" controls>
<source src="{{ include.src }}" type="video/{{ include.type }}">
Your browser does not support the HTML video tag.
<a href="{{ include.src }}"> click here </a>
to download this video.
</video>