Can't insert link inside a paragraph of config.toml

I’m new to Hugo and static web generators, so this might be a newbie question.

I can’t seem to add a link to a word inside a paragraph. I’m using Airspace hugo theme.

For example, the paragraph is being pulled from inside the config.toml, where I edit my text, but can’t seem to add a link to a word. Any link code I insert displays as text. Please see my page at link below.

https://new-homepage-2018.netlify.com/about/

Any example on how to insert a text link into a paragraph would be great.

Hugo Static Site Generator v0.49.2/extended darwin/amd64 BuildDate: unknown
GOOS="darwin"
GOARCH="amd64"
GOVERSION="go1.11.1"

10%20PM

Don’t know much about Airspace, but can you spot the code which retrieves the paragraph? Does it apply markdownify on it?

1 Like

here’s an example

  [params.wrapper]
enable = true
title = "Meet Fader"
italic = "James “Fader” Cui {{ .Title | markdownify }} <a href=\"http://html5up.net\">HTML5 UP</a> {{< myshortcode >}}<p>Hello <strong>World!</strong></p>{{< /myshortcode >}} is a talented multi-media artist and VJ specializing in Stage Design, software development and Video Mapping."
paragraph = "Over the past decade, Fader has contributed to many big festivals such as [Coachella](https://google.com), Burning Man, Insomniac, Fuji Rock, Mapping Festival, Backwoods and Intro Music Festival."

I meant in the theme’s code.

@regis, thanks for the tip, didn’t make sense at first, now I figured it out, I googled for hours since I’m new to this workflow, did not find any proper example on how to make links work… learning curve.

As mentioned in the comment above, I added " | markdownify" inside my HTML file, where the text was being parsed, for example:
<p>{{ .Site.Params.wrapper.paragraph | markdownify }}</p>

Then, in my config.toml file, can either use HTML link or write like this:
One upon a time there is [Google](https://google.com)!

3 Likes