🍞 A retro dark theme for Hugo https://after-dark.habd.as
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
517 B

<!-- {{/*
Custom attributes: "showpercent", "value", "filltext" [default: "Loading"]
Basic usage:
{{< hackcss-progress value="40" >}}
{{< hackcss-progress value="30" showpercent="true" >}}
{{< hackcss-progress value="70" showpercent="true" filltext="pemuatan" >}}
*/}} -->
{{ $show_percent := .Get "showpercent" }}
{{ $fill_text := .Get "filltext" | default "Loading" }}
{{ $value := .Get "value" }}
{{ partial "components/progress.html" (dict "show_percent" $show_percent "fill_text" $fill_text "value" $value) }}