# \[Solved\]Delimit map from data file

**URL:** <https://discourse.gohugo.io/t/solved-delimit-map-from-data-file/4800>\
**Category:** support\
**Created:** [December 12, 2016, 3:40pm UTC](https://discourse.gohugo.io/t/solved-delimit-map-from-data-file/4800 "2016-12-12T15:40:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [December 12, 2016, 11:01pm UTC](https://discourse.gohugo.io/t/solved-delimit-map-from-data-file/4800/4 "2016-12-12T23:01:25Z")

</div>

> **[Howto: Delimiter separated tags](https://discourse.gohugo.io/t/howto-delimiter-separated-tags/146)**
>
> The construction below looks counter-intuitive, but it works: Given: Tags = \['item1', 'item2', 'item3'\] This: {{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }} Gives: item1, item2, item3 The example above uses tags...

---

_[View the full topic](https://discourse.gohugo.io/t/solved-delimit-map-from-data-file/4800)._
