SyntaxError: Unexpected token '.' in /var/www/documentaryvoices.org/views/media/index.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
   at new Function (<anonymous>)
   at Template.compile (/var/www/documentaryvoices.org/node_modules/ejs/lib/ejs.js:673:12)
   at Object.compile (/var/www/documentaryvoices.org/node_modules/ejs/lib/ejs.js:398:16)
   at handleCache (/var/www/documentaryvoices.org/node_modules/ejs/lib/ejs.js:235:18)
   at tryHandleCache (/var/www/documentaryvoices.org/node_modules/ejs/lib/ejs.js:274:16)
   at exports.renderFile [as engine] (/var/www/documentaryvoices.org/node_modules/ejs/lib/ejs.js:491:10)
   at View.render (/var/www/documentaryvoices.org/node_modules/express/lib/view.js:135:8)
   at tryRender (/var/www/documentaryvoices.org/node_modules/express/lib/application.js:657:10)
   at Function.render (/var/www/documentaryvoices.org/node_modules/express/lib/application.js:609:3)
   at ServerResponse.render (/var/www/documentaryvoices.org/node_modules/express/lib/response.js:1039:7)