79779473

Date: 2025-09-30 19:58:21
Score: 0.5
Natty:
Report link

with hugo v0.150, you can do:

{{ $url := printf "%s%s%s" $Site.Params.contentCommitsURL (replace $File.Dir "\\" "/")  $File.LogicalName }}

Like say in hugo doc: printf FORMAT [INPUT]
You could use:

{{ printf "%s %s %s" $varA $varB $VarC }}

format %s is for string
other format could be find in go doc

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: europrimus