Sha256: 4ef8630e28067b90b69c7c36112979313d5e39f8240a20305be2a09fb3f9e736

Contents?: true

Size: 460 Bytes

Versions: 18

Compression:

Stored size: 460 Bytes

Contents

---
permalink: "/api/concepts.json"
---
{% jbuilder %}

# } # (fixes syntax highlight in Sublime)

for concept_page in site["concepts"]
  concept_json_page = concept_page.concept.pages[:json]

  # JSON keys must be strings
  json.set! concept_page.termid.to_s do
    json.term concept_page.data["term"]
    json.termid concept_page.termid
    json.set! "uri-html", concept_page.url
    json.set! "uri-json", concept_json_page&.url
  end
end

{% endjbuilder %}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
jekyll-geolexica-1.9.0 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.15 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.14 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.13 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.12 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.11 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.10 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.9 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.8 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.7 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.6 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.5 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.4 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.3 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.2 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.1 _pages/concepts-index.jbuilder
jekyll-geolexica-1.8.0 _pages/concepts-index.jbuilder
jekyll-geolexica-1.7.0 _pages/concepts-index.jbuilder