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
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.
Hi @duceduc, if you enable Twig processing on each page then something like this should be possible:
{{ config.site.yourvariablename }}
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
What if you type the link with HTML instead of MD?
That's a great suggestion @chris_jung 👍
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 80 | 2 days ago | ||
| 0 | 144 | 6 days ago | ||
| 0 | 144 | 1 week ago | ||
| 0 | 138 | 1 week ago | ||
| 2 | 226 | 2 weeks ago |