Skip to content

Commit

Permalink
Add slug in API
Browse files Browse the repository at this point in the history
  • Loading branch information
hteumeuleu committed Nov 21, 2020
1 parent 98900da commit d0456b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _js/api.json
Expand Up @@ -3,11 +3,12 @@ layout: null
permalink: "/api/data.json"
---
{
"api_version":"1.0.2",
"api_version":"1.0.3",
"last_update_date":{{site.time | jsonify}},
"nicenames":{{site.data.nicenames | jsonify}},
"data":[{% for feature in site.features %}
{
"slug":{{ feature.slug | jsonify }},
"title":{{ feature.title | jsonify }},
"description":{{ feature.description | jsonify }},
"url":{{ feature.url | prepend:site.url | jsonify }},
Expand Down

0 comments on commit d0456b7

Please sign in to comment.