github.com/lyeb/hugo@v0.47.1/docs/content/en/functions/replace.md (about)

     1  ---
     2  title: replace
     3  # linktitle: replace
     4  description: Replaces all occurrences of the search string with the replacement string.
     5  godocref:
     6  date: 2017-02-01
     7  publishdate: 2017-02-01
     8  lastmod: 2017-02-01
     9  categories: [functions]
    10  menu:
    11    docs:
    12      parent: "functions"
    13  keywords: []
    14  signature: ["replace INPUT OLD NEW"]
    15  workson: []
    16  hugoversion:
    17  relatedfuncs: []
    18  deprecated: false
    19  aliases: []
    20  ---
    21  
    22  ```
    23  `{{ replace "Batman and Robin" "Robin" "Catwoman" }}`
    24  → "Batman and Catwoman"
    25  ```
    26