Sha256: c9ac20b2582206a95a0e09c7cc17188fbb9a5ced3b24c999d98dce47ad51451a
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
--- regenerate: false --- {% capture j1_cache %} {% comment %} # ----------------------------------------------------------------------------- # ~/assets/data/colors.json # Liquid JSON template to translate "logical" color names in their # (hexadecimal) RGB values # # Product/Info: # http://jekyll.one # # Copyright (C) 2019 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE # # ----------------------------------------------------------------------------- # Test data: # {{ liquid_var | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% assign color_config = site.data.j1_colors %} { {% for color in color_config %} {% if forloop.last %} "{{color[0]}}": "{{color[1]}}" {% else %} "{{color[0]}}": "{{color[1]}}", {% endif %} {% endfor %} } {% endcapture %} {{ j1_cache | strip_empty_lines }} {% assign j1_cache = nil %}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
j1_template-2019.4.4 | lib/starter_web/assets/data/colors.json |
j1_template-2019.4.1 | lib/starter_web/assets/data/colors.json |