* Add boolean attribute main_image_from_frontmatter to indicate if cover image was set via frontmatter * use article model spec for main_image_from_frontmatter test cases * Add data migration script and spec for main_image_from_frontmatter for articles * Update app/models/article.rb Co-authored-by: Jeremy Friesen <jeremy.n.friesen@gmail.com> Co-authored-by: Jeremy Friesen <jeremy.n.friesen@gmail.com> Co-authored-by: Michael Kohl <me@citizen428.net> |
||
|---|---|---|
| .. | ||
| migrate | ||
| schema.rb | ||
| seeds.rb | ||