mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-26 22:00:21 +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 }}
|