%- include('../../functions') -%> <% var articles = page.articles || [], features = site.pages.filter(thePage => thePage.content_type === 'feature') || [], featuresByPath = features.reduce((acc, curr) => { acc[`/${curr.path}`] = curr; return acc; }, {}); /* card_url = "http://gatherer.wizards.com/Pages/Search/Default.aspx?name=+[%22CARD-NAME%22]", detail_url = "http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=", image_url = "/images/magic/commanders/", deck = page.deck || {}, info = deck.info || {}, cards = deck.cards || [], lands = deck.lands || [], changes = deck.changes || [], starting_lands = info.starting_lands || [], commander = info.commander && info.commander_id ? "