Commit 7e9011a3 authored by Aral Balkan's avatar Aral Balkan

Render spotlight back issue page

Very early.
parent 4f2c25c1
......@@ -225,6 +225,7 @@ class App
commonTheme =
news: fs.readFileSync (path.join commonTemplatesDirectory, 'news/index.html'), 'utf-8'
spotlight: fs.readFileSync (path.join commonTemplatesDirectory, 'spotlight/index.html'), 'utf-8'
spotlightIssue1: fs.readFileSync (path.join commonTemplatesDirectory, 'spotlight/1/index.html'), 'utf-8'
sites: fs.readFileSync (path.join commonTemplatesDirectory, 'sites/index.html'), 'utf-8'
trackers: fs.readFileSync (path.join commonTemplatesDirectory, 'trackers/index.html'), 'utf-8'
improvements: fs.readFileSync (path.join commonTemplatesDirectory, 'partials/improvements.html'), 'utf-8'
......
......@@ -399,6 +399,9 @@ class Blockdown
.then =>
# Render the /spotlight index.
@renderPage 'spotlight', dataPath, '/spotlight/index.html', {}, 'spotlight'
.then =>
# Render the /spotlight/1 index.
@renderPage 'spotlightIssue1', dataPath, '/spotlight/1/index.html', {}, 'spotlight'
.then =>
# Render the /sites index.
@renderPage 'sites', dataPath, '/sites/index.html', {list: indexContent.sites}, 'sites'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment