Reputation: 28178
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
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