This one is now just outta interest, but why do you need to pipe to int? I thought if there aren’t any quotation marks it should automagically be seen as an int according to the toml-specs.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Hugo layout calculations from param | 2 | 263 | September 3, 2023 | |
How to loop through all instances of a front matter variable in section pages and total the value of them? | 1 | 337 | September 28, 2018 | |
How to pass variable to partial - noob question | 8 | 2504 | January 9, 2021 | |
Access Page params in template | 2 | 938 | August 24, 2022 | |
Referencing CUSTOM section Params/Variables from _index.md in Templates | 12 | 2734 | May 7, 2020 |