try this one.
This commit is contained in:
parent
568ea88de7
commit
1fe6fe68cc
14
Dockerfile
14
Dockerfile
|
@ -37,12 +37,12 @@ RUN JEKYLL_ENV=production bundle exec jekyll build
|
||||||
|
|
||||||
## Cleanup to debulk the image
|
## Cleanup to debulk the image
|
||||||
|
|
||||||
RUN apt remove -y manpages ruby x11-common ruby* make python gcc cpp gnupg git git-man
|
#RUN apt remove -y manpages ruby x11-common ruby* make python gcc cpp gnupg git git-man
|
||||||
RUN apt -y autoremove
|
#RUN apt -y autoremove
|
||||||
RUN test -d $SITE_PATH && for i in $(ls -1 $SITE_ROOT | grep -v _site); do rm -rf $SITE_ROOT/$i ; done
|
#RUN test -d $SITE_PATH && for i in $(ls -1 $SITE_ROOT | grep -v _site); do rm -rf $SITE_ROOT/$i ; done
|
||||||
RUN rm -rf /root/.bundle/cache
|
#RUN rm -rf /root/.bundle/cache
|
||||||
RUN rm -rf /var/cache
|
#RUN rm -rf /var/cache
|
||||||
RUN rm -rf /var/lib/apt
|
#RUN rm -rf /var/lib/apt
|
||||||
RUN rm -rf /var/lib/dpkg
|
#RUN rm -rf /var/lib/dpkg
|
||||||
|
|
||||||
ENTRYPOINT /usr/local/sbin/entrypoint.sh
|
ENTRYPOINT /usr/local/sbin/entrypoint.sh
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% assign sorted_imgs = page.images | sort %}
|
{% assign sorted_imgs = page.images | sort %}
|
||||||
|
{{ page.path }}
|
||||||
|
|
||||||
<div id="gallery">
|
<div id="gallery">
|
||||||
{% for image in sorted_imgs %}
|
{% for image in sorted_imgs %}
|
||||||
|
@ -36,11 +37,13 @@
|
||||||
width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}"
|
width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}"
|
||||||
height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" />
|
height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" />
|
||||||
</a>
|
</a>
|
||||||
|
{% comment %}
|
||||||
{% assign image_path = "{page.path.split('/index.html')[0]}/#{image[0]}" %}
|
{% assign image_path = "{page.path.split('/index.html')[0]}/#{image[0]}" %}
|
||||||
{% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %}
|
{% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %}
|
||||||
{% if has_exif %}
|
{% if has_exif %}
|
||||||
Camera: {{ image_path | exif: 'model' }}
|
Camera: {{ image_path | exif: 'model' }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endcomment %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue