Sha256: 89d8134e8dc9723388c7c5083385e03b91238a83802ce9516cf21b7fa9dfb10b
Contents?: true
Size: 1.61 KB
Versions: 4
Compression:
Stored size: 1.61 KB
Contents
--- layout: null permalink: /search.json --- {%- assign entries = '' | split:'@' %} {%- for item in site.pages %} {%- assign nav_search = item.nav-search | isnil: true %} {% if nav_search and item.title %} {%- capture data -%} { "title" : "{{ item.title | escape }}", "category" : "{{ item.category }}", "tags" : "{{ item.tags | join: ' ' }} {{item.keywords}}", "url" : "{{ site.baseurl }}{{ item.url }}", "date" : "{{ item.date }}" } {%- endcapture %} {%- assign entries = entries | push: data %} {% endif %} {%- endfor %} {%- for item in site.posts %} {%- assign nav_search = item.nav-search | isnil: true %} {% if nav_search and item.title %} {%- capture data -%} { "title" : "{{ item.title | escape }}", "category" : "{{ item.category }}", "tags" : "{{ item.tags | join: ' ' }} {{item.keywords}}", "url" : "{{ site.baseurl }}{{ item.url }}", "date" : "{{ item.date }}" } {%- endcapture %} {%- assign entries = entries | push: data %} {% endif %} {%- endfor %} {%- for item in site.authors %} {%- assign nav_search = item.nav-search | isnil: true %} {%- if nav_search and item.title %} {%- capture data -%} { "title" : "{{ item.name | escape }}", "category" : "{{ item.category }}", "tags" : "{{ item.tags | join: ' ' }} {{item.keywords}}", "url" : "{{ site.baseurl }}{{ item.url }}", "date" : "{{ item.date }}" } {%- endcapture %} {%- assign entries = entries | push: data %} {%- endif %} {%- endfor %} [ {%- for entry in entries -%} {{ entry }} {%- unless forloop.last %},{%- endunless -%} {%- endfor -%} ]
Version data entries
4 entries across 4 versions & 1 rubygems