Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Call to site.yaml from an .md file

Started by Duc 9 years ago · 4 replies · 814 views
9 years ago

I have a .md file that has a repeated 'word' spread throughout the page. Is it possible to call it from site.yaml as this word may change from time to time.

last edited 01/05/18 by Duc
9 years ago

Wonderful. This works. Would you know how I can add hyper email address within .md as well?
[{{ config.site.email }}](mailto: [email protected] ) <-- this works
[{{ config.site.email }}](mailto:{{ config.site.email }}) <-- this doesn't work

9 years ago

What if you type the link with HTML instead of MD?

9 years ago

That's a great suggestion @chris_jung 👍

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 6 days ago
0 105 6 days ago
General · by lynbor, 4 weeks ago
3 436 2 weeks ago
General · by lynbor, 3 weeks ago
7 555 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago