-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js.default
More file actions
12 lines (11 loc) · 676 Bytes
/
Copy pathconfig.js.default
File metadata and controls
12 lines (11 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
const config = {
imgDir: "tweetimg/", //where the tweet snapshot is saved
lightDark: 'light', // twitter's light or dark mode?
background: "#ffffff", //page background colour for the snapshot
rounded: false, // add border-radius: 15px to the mastodon embed. Mastodon only.
outputHtml: true, // output a <a><img> string that links to the tweet and creates the html for the img, including height, width & alt tags
imgURL: "https://example.com/tweetimg/", // the URL directory (used in the <img> src),
classNames: "", // add classes to the outputted <img> html
lazyload: true, // add loading="lazy" to the outputted <img>
}
export default config;