Hugo Dark Theme Site Generator 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.

hackcss-progress.html 517B

12345678910111213
  1. <!-- {{/*
  2. Custom attributes: "showpercent", "value", "filltext" [default: "Loading"]
  3. Basic usage:
  4. {{< hackcss-progress value="40" >}}
  5. {{< hackcss-progress value="30" showpercent="true" >}}
  6. {{< hackcss-progress value="70" showpercent="true" filltext="pemuatan" >}}
  7. */}} -->
  8. {{ $show_percent := .Get "showpercent" }}
  9. {{ $fill_text := .Get "filltext" | default "Loading" }}
  10. {{ $value := .Get "value" }}
  11. {{ partial "components/progress.html" (dict "show_percent" $show_percent "fill_text" $fill_text "value" $value) }}