File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ layout: null
3+ sitemap: false
4+ ---
5+ {
6+ "articles" : [
7+ {% assign filtered_articles = site.articles | where_exp: "article", "article.url contains '/info/api/'" % }
8+ {% for article in filtered_articles % }
9+ {
10+ "title" : {{ article.title | jsonify }},
11+ "url" : " https://www.dynamsoft.com{{ article.url | relative_url }}" ,
12+ "content" : {{ article.content | strip_html | jsonify }},
13+ "breadcrumb" : {{ article.breadcrumbText | default: article.title | jsonify }}
14+ }{% unless forloop.last % },{% endunless % }
15+ {% endfor % }
16+ ]
17+ }
Original file line number Diff line number Diff line change 1+ ---
2+ layout: null
3+ sitemap: false
4+ ---
5+ {
6+ "articles" : [
7+ {% for article in site.articles % }
8+ {
9+ "title" : {{ article.title | jsonify }},
10+ "url" : " https://www.dynamsoft.com{{ article.url | relative_url }}" ,
11+ "content" : {{ article.content | strip_html | jsonify }},
12+ "breadcrumb" : {{ article.breadcrumbText | default: article.title | jsonify }}
13+ }{% unless forloop.last % },{% endunless % }
14+ {% endfor % }
15+ ]
16+ }
You can’t perform that action at this time.
0 commit comments