Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
garmoncheg committed Nov 4, 2024
1 parent 2b40fed commit 51043f1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugins/domains/documentcloud.org.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ export default {
"oembed-site",
"canonical",
"author",
"og-image",
"og-title",
"og-image",
"og-description"
],

// plugin is required to add aspect-ratio and with this fix embeds when used inside iFrame
// https://www.documentcloud.org/help/api#oembed


getLink: function(url, oembed, options) {

if (oembed.type === 'rich' && oembed.html) { // else: fallback to generic
Expand Down Expand Up @@ -100,8 +99,8 @@ export default {
'og-description',
'author',
'canonical',
'og-image',
'og-title'
'og-title',
'og-image'
]},
'https://www.documentcloud.org/documents/73991-day-three-documents',
'https://www.documentcloud.org/documents/5766398-ASRS-Reports-for-737-max8.html#document/p2/a486265',
Expand Down

0 comments on commit 51043f1

Please sign in to comment.