File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1919- title : Dimensions
2020 link : /saf_dimensions/
2121
22+ - title : API
23+ link : /api/safs.json
24+
2225- title : Contact
2326 link : /contact
Original file line number Diff line number Diff line change 1+ ---
2+ ---
3+
4+ {%- assign pages = site.safs | where_exp: "p", "p.layout != nil" -% }
5+
6+ [
7+ {%- for p in pages % }
8+ {
9+ "title" : {{ p.title | markdownify | strip_newlines | jsonify }},
10+ "url" : {{ p.url | relative_url | strip_newlines | jsonify }},
11+ "description" : {{ p.description | markdownify|strip_newlines | jsonify }},
12+ "dimension" : {{ p.dimension | markdownify| strip_newlines | jsonify }},
13+ "requirement" : {{ p.requirement | markdownify | strip_newlines | jsonify }},
14+ "content" : {{ p.content | markdownify | strip_html | strip_newlines |jsonify }}
15+ }
16+ {%- unless forloop.last % },{% endunless -% }
17+ {% endfor % }
18+ ]
You can’t perform that action at this time.
0 commit comments