Open bbest opened 3 years ago
Inserted caption <- ifelse(is.na(caption), title, caption)
in line 47 of _make_infographic_modals.R
Will talk to Kelly about writing our own captions on 3/3. Hope I didn't break anything!
Great @mspector13, we just updated modals with this fix in commit https://github.com/marinebon/fk-esr-info/commit/79f9ea2795793b711092a9d9efecc8a7bb67d5de by running _make_infographic_modals.R.
We might need a period between caption and source, plus other formatting like icons mentioned by Jenn in Generic Modal Window Layout - Google Slides.
The other main task for Kelly to update Caption in icons to data | fk-esr-info - Google Sheets.
For now looks pretty plain, eg https://marinebon.org/fk-esr-info/modals/DIN.html:
So what to do with
NA
caption in icons to data | fk-esr-info - Google Sheets?A few approaches possible:
caption
withtitle
usingcaption <- ifelse(is.na(caption), title, caption)
in the _make_infographic_modals.R using the _infographic_modal_template.htmltitle
in icons to data | fk-esr-info - Google Sheets and run by Kelly