mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-27 14:20:24 +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 }}
|