| 208 | }; |
| 209 | |
| 210 | const urlOrComingSoon = binary => { |
| 211 | return request({ url: binary.url, method: 'HEAD' }).then( |
| 212 | () => `${binary.title}: ${binary.url}`, |
| 213 | () => `${binary.title}: *Coming soon*` |
| 214 | ); |
| 215 | }; |
| 216 | |
| 217 | const renderPost = results => { |
| 218 | const blogTemplateSource = readFileSync( |