diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-29 21:42:51 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-29 21:43:20 -0400 |
commit | cf2d094a31523ccc20d85c05954809051e77a9a0 (patch) | |
tree | 00c2247ff0508235f80cb8622b54e8d3d50ef350 | |
parent | f4ab531029fabaf0901e35808a1d5088869410c5 (diff) |
README: add documentation for eachdo with config.cfg as a source
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -97,6 +97,22 @@ links = [ {{ endeachdo }} ``` +```html +<!-- config.cfg --> +links = [ + href = https://github.com/compromyse + label = GITHUB + ___ + href = https://www.linkedin.com/in/compromyse + label = LINKEDIN +] + +<!-- index.html --> +{{ eachdo config.links }} +<a href="{{ put href }}" class="button" target="_blank">{{ put label }}</a> +{{ endeachdo }} +``` + #### Template - specify template for page ```html <!-- projects/xyz.html --> |