diff options
author | Chen Zhe <chenzhesg@gmail.com> | 2020-02-16 20:11:43 +0300 |
---|---|---|
committer | Chen Zhe <chenzhesg@gmail.com> | 2020-02-16 20:11:43 +0300 |
commit | ea0ae657001f610616e5ca1162df0a0a3e3cf215 (patch) | |
tree | 9ec6efaeccbcb5db5630a8e86a6ebf4ed228db5c | |
parent | 3e446245d1c8da2c7a83b048efc9fa56bf6024fa (diff) |
removed unused images and condense generated html
-rw-r--r-- | layouts/index.html | 6 | ||||
-rw-r--r-- | static/images/full/1.png | bin | 11582 -> 0 bytes | |||
-rw-r--r-- | static/images/full/2.png | bin | 11363 -> 0 bytes | |||
-rw-r--r-- | static/images/full/3.png | bin | 11523 -> 0 bytes | |||
-rw-r--r-- | static/images/full/4.png | bin | 11479 -> 0 bytes | |||
-rw-r--r-- | static/images/full/5.png | bin | 11543 -> 0 bytes | |||
-rw-r--r-- | static/images/thumbs/1.png | bin | 6104 -> 0 bytes | |||
-rw-r--r-- | static/images/thumbs/2.png | bin | 5912 -> 0 bytes | |||
-rw-r--r-- | static/images/thumbs/3.png | bin | 6082 -> 0 bytes | |||
-rw-r--r-- | static/images/thumbs/4.png | bin | 5999 -> 0 bytes | |||
-rw-r--r-- | static/images/thumbs/5.png | bin | 6132 -> 0 bytes |
11 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html index eac86c0..16ef071 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,20 +16,20 @@ data-title="{{ $image.Name }}" data-description="{{ $image.Params.description | markdownify }}" {{ if isset $image.Params "button_text" }}data-buttontext="{{ $image.Params.button_text }}"{{ end }} data-collection="{{ $page.Title }}" - data-exif="{{if in (slice "jpg" "jpeg" "tiff" "tif") $image.MediaType.SubType }} + data-exif="{{ if in (slice "jpg" "jpeg" "tiff" "tif") $image.MediaType.SubType }} {{- with $image.Exif -}} {{- with .Tags -}} <li>{{- if isset . "Model" }}{{ if not (hasPrefix (lower .Model) (lower .Make)) }}{{ .Make }} {{ end }}{{ .Model }} {{- else }}{{ if isset $image.Params "composite" }}{{ $image.Params.composite }} {{- else }}Composite Photo{{ end }}{{ end }}</li> - {{- if isset . "LensModel" }} + {{- if isset . "LensModel" -}} <li>{{- if not (hasPrefix (lower .LensModel) (lower .Make)) }}{{ .LensModel }} {{- else }}{{ substr .LensModel (len .Make)}}{{ end }} @ {{ .FocalLength }}mm</li> {{- end }} {{- with .ExposureTime }}<li>S.S. {{ . }}s</li>{{ end }} {{- with .FNumber }}<li>A. f/{{ . }}</li>{{ end }} {{- with .ISOSpeedRatings }}<li>ISO {{ . }}</li>{{ end }} - {{ end -}} + {{- end -}} <li>Taken at {{ if isset $image.Params "timestamp" }} {{ $image.Params.timestamp }} {{ else }}{{ .Date.Format "2006-1-2 15:04" }}{{ end }}</li> {{- end }} {{- end }}"> diff --git a/static/images/full/1.png b/static/images/full/1.png Binary files differdeleted file mode 100644 index 9decf64..0000000 --- a/static/images/full/1.png +++ /dev/null diff --git a/static/images/full/2.png b/static/images/full/2.png Binary files differdeleted file mode 100644 index d8dfeb6..0000000 --- a/static/images/full/2.png +++ /dev/null diff --git a/static/images/full/3.png b/static/images/full/3.png Binary files differdeleted file mode 100644 index 14b21c0..0000000 --- a/static/images/full/3.png +++ /dev/null diff --git a/static/images/full/4.png b/static/images/full/4.png Binary files differdeleted file mode 100644 index dfd50fd..0000000 --- a/static/images/full/4.png +++ /dev/null diff --git a/static/images/full/5.png b/static/images/full/5.png Binary files differdeleted file mode 100644 index e0760c9..0000000 --- a/static/images/full/5.png +++ /dev/null diff --git a/static/images/thumbs/1.png b/static/images/thumbs/1.png Binary files differdeleted file mode 100644 index d539c0a..0000000 --- a/static/images/thumbs/1.png +++ /dev/null diff --git a/static/images/thumbs/2.png b/static/images/thumbs/2.png Binary files differdeleted file mode 100644 index a34f4b1..0000000 --- a/static/images/thumbs/2.png +++ /dev/null diff --git a/static/images/thumbs/3.png b/static/images/thumbs/3.png Binary files differdeleted file mode 100644 index aafc4a0..0000000 --- a/static/images/thumbs/3.png +++ /dev/null diff --git a/static/images/thumbs/4.png b/static/images/thumbs/4.png Binary files differdeleted file mode 100644 index fb14b44..0000000 --- a/static/images/thumbs/4.png +++ /dev/null diff --git a/static/images/thumbs/5.png b/static/images/thumbs/5.png Binary files differdeleted file mode 100644 index 1964c23..0000000 --- a/static/images/thumbs/5.png +++ /dev/null |