diff --git a/templates/images.html b/templates/images.html index e27f839..04eadf3 100755 --- a/templates/images.html +++ b/templates/images.html @@ -8,6 +8,13 @@ {{ end }} {{ .Query }} - {{ translate "site_name" }} + @@ -185,16 +192,14 @@ -
- {{ $result.Title }} -
+ {{ $result.Title }} {{ else }} {{ $result.Title }} @@ -216,10 +221,10 @@ diff --git a/templates/images_only.html b/templates/images_only.html index 765045b..e51dbe6 100644 --- a/templates/images_only.html +++ b/templates/images_only.html @@ -1,21 +1,28 @@ {{ range $index, $result := .Results }}
- + + {{ $result.Title }} + + + + {{ $result.Title }} + alt="{{ $result.Title }}" + class="clickable placeholder-img" + /> + {{ else }} + + {{ $result.Title }} + {{ end }}
{{ $result.Width }} × {{ $result.Height }}
{{ $result.Title }} {{ translate "source" }}
-{{ end }} \ No newline at end of file +{{ end }}