Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Call to site.yaml from an .md file

Started by Duc 8 years ago · 4 replies · 592 views
8 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
8 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

8 years ago

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

8 years ago

That's a great suggestion @chris_jung 👍

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 80 9 hours ago
General · by pamtbaau, 14 hours ago
1 51 14 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago