~elektito/gemplex

220883ec8a111c0660a808e48a251ee661be42b7 β€” Mostafa Razavi 7 months ago 4744568
Update image templates
1 files changed, 3 insertions(+), 3 deletions(-)

M cmd/gpcgi/main.go
M cmd/gpcgi/main.go => cmd/gpcgi/main.go +3 -3
@@ 141,7 141,7 @@ XXX

{{ if .Alt }}Alt: {{ .Alt }}{{ else }}No alt text.{{ end }}

Fetched at {{ .FetchTime }} from:
Fetched on {{ .FetchTime.Format "2006-01-02" }} from:
=> {{ .Url }} Source

=> /image/perm/{{ .ImageId }} ♾️ Permalink


@@ 208,7 208,7 @@ XXX

{{ if .Alt }}Alt: {{ .Alt }}{{ else }}No alt text.{{ end }}

Fetched at {{ .FetchTime }} from:
Fetched on {{ .FetchTime.Format "2006-01-02" }} from:
=> {{ .Url }} Source

=> /image/random πŸ”€ Random Image


@@ 444,7 444,7 @@ func renderImageSearchResults(resp gsearch.ImageSearchResponse, req gsearch.Imag
	t := `
{{- define "SingleResult" }}
=> {{ permalink .ImageHash }} {{ .AltText }}
* Fetched: {{ .FetchTime }} - Source: {{ urlhost .SourceUrl }}
* Fetched: {{ .FetchTime.Format "2006-01-02" }} - {{ urlhost .SourceUrl }}
XXX {{ .AltText }}
{{ .Image }}
XXX