hall

hall

It has been an interesting execise attempting to pass front matter variables!

  • Using the straightforward {{ .Title }} renders the coords OK in the Page, but they acquire quotes in the script.
  • Usung .Scratch renders the ref {{ .Title }} (not the coords).
  • Using .Params.title renders text in the Page OK (and as content in ICBM), but as soon as you wrap it in a link, the “,” is transformed to “%2c”. Additionally the script marker coords acquire quotes again.

I’ve tried RegExp in all which ways to remove the quotes, but I’m either missing something, or the damage has been done before the coords get to the script. Anyway, interesting…