diff --git a/src/pages/oembed-html.liquid b/src/pages/oembed-html.liquid new file mode 100644 index 000000000..9409dbdb0 --- /dev/null +++ b/src/pages/oembed-html.liquid @@ -0,0 +1,23 @@ +--- +permalink: oembed/post/{{ post.url }}/index.html +pagination: + data: collections.posts + size: 1 + alias: post +--- + + +
+ + ++ Read More +
+ + diff --git a/src/pages/oembed-json.liquid b/src/pages/oembed-json.liquid new file mode 100644 index 000000000..d36e75a8c --- /dev/null +++ b/src/pages/oembed-json.liquid @@ -0,0 +1,18 @@ +--- +permalink: oembed/post{{ post.url }}/index.json +pagination: + data: collections.posts + size: 1 + alias: post +--- + +{ + "html": "", + "width": 533, + "height": 300, + "version": "1.0", + "provider_name": "James Steinbach", + "provider_url": "https://jdsteinbach.com", + "type": "rich", + "title": "{{ post.data.title }}" +}