Sha256: c9574ea11aeb68fa93f07818da4ec7ae1c99d1d3d4763f5c7ad7de434ca8e8c3
Contents?: true
Size: 1018 Bytes
Versions: 12
Compression:
Stored size: 1018 Bytes
Contents
--- regenerate: false --- {% capture 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) 2020 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 colors = site.data.colors %} { {% for color in colors %} {% if forloop.last %} "{{color[0]}}": "{{color[1]}}" {% else %} "{{color[0]}}": "{{color[1]}}", {% endif %} {% endfor %} } {% endcapture %} {{ cache | strip_empty_lines }} {% assign cache = nil %}
Version data entries
12 entries across 12 versions & 1 rubygems