Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ const autometa_options = {
twitter: 'webmasterish',
},
canonical_base: 'https://webmasterish.com',

default_img: '/landing.jpg'
};

module.exports = {
Expand Down Expand Up @@ -143,6 +145,7 @@ const default_options = {
// 1. frontmatter
// 2. content markdown image such as `![alt text](http://url)`
// 3. content regular html img
// 4. fallback image defined with `default_img`

image_sources: [

Expand All @@ -151,6 +154,8 @@ const default_options = {
/!\[.*?\]\((.*?)\)/i, // markdown image regex
/<img.*?src=['"](.*?)['"]/i, // html image regex

'default'

],

};
Expand Down
Loading