mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-27 00:07:43 +00:00
8 lines
267 B
HTML
8 lines
267 B
HTML
{{/* Function to get website icon image. */}}
|
|
{{/* Input: size (int) */}}
|
|
{{/* Output: resource (obj) */}}
|
|
|
|
{{ $icon := resources.GetMatch "images/icon.png" }}
|
|
{{ $icon_resized := $icon.Fill (printf "%sx%s Center" (string .) (string .)) }}
|
|
{{ return $icon_resized }}
|