Francesca
Francesca

Reputation: 28178

Using external permalinks in Jekyll markdown

How can I include permalinks in my Jekyll blog?

I've tried setting the URL as a variable and then using that, but the result is still just that is uses my current site URL:

[apigee]: https://apigee.com

API Console]({{apigee}}/embed/console/instagram)

Doing the above just outputs as http://myURL.com/embed/console/instagram

Upvotes: 0

Views: 314

Answers (1)

xlembouras
xlembouras

Reputation: 8295

You need to access your variable as a page attribute

---
apigee: 'https://apigee.com'
---

[API Console][the_link]

[the_link]: {{page.apigee}}/embed/console/instagram

will work just fine.

Upvotes: 1

Related Questions