Skip to content

Commit

Permalink
Add default APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Rubio committed Jan 1, 2024
1 parent e995402 commit 7e4abd3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/collections/api/api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"permalink": "/api/{{ version }}/{{ slug }}.json",
"layout": null
}
8 changes: 8 additions & 0 deletions src/collections/api/site-data.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
slug: site-data
---

{
"metadata": {{ site | dump | safe }},
"authors": {{ authors | dump | safe }}
}

0 comments on commit 7e4abd3

Please sign in to comment.