diff --git a/public/assets/css/blogpost.css b/public/assets/css/blogpost.css index 2d61ba8..7a230ca 100644 --- a/public/assets/css/blogpost.css +++ b/public/assets/css/blogpost.css @@ -215,7 +215,7 @@ header { @media screen and (max-width: 600px) { .wrapper { - width: 100%; + width: 90%; } header { diff --git a/public/assets/css/partials/footer.css b/public/assets/css/partials/footer.css index 54dae91..4b8b5bb 100644 --- a/public/assets/css/partials/footer.css +++ b/public/assets/css/partials/footer.css @@ -173,9 +173,6 @@ footer .bandwidth-raccoon-wrapper .text-bubble:after { grid-template-columns: 1fr; grid-template-rows: repeat(4, fit-content(100%)); } - :where(body.terms) footer { - width: 90%; - } footer div { justify-self: start; } diff --git a/src/routes/account.js b/src/routes/account.js index 66f8e36..a915346 100644 --- a/src/routes/account.js +++ b/src/routes/account.js @@ -34,7 +34,7 @@ const discordOAuth = new DiscordOauth2({ router.get('/', requireLoginMiddleware, async (request, response) => { // Setup the data to be sent to the handlebars renderer - const renderData = { page: 'account' }; + const renderData = { }; // Check for Stripe messages const { upgrade_success } = request.query; diff --git a/src/routes/blog.js b/src/routes/blog.js index d4222c7..9d1c71a 100644 --- a/src/routes/blog.js +++ b/src/routes/blog.js @@ -37,7 +37,6 @@ async function getPostsList() { router.get('/', async (request, response) => { const postList = await getPostsList(); const renderData = { - page: 'blog', postList }; diff --git a/src/routes/docs.js b/src/routes/docs.js index 1559225..6f5aeb6 100644 --- a/src/routes/docs.js +++ b/src/routes/docs.js @@ -32,7 +32,6 @@ router.get([ '/errors' ], async (_request, response) => { const renderData = { - page: 'docs', errorList: JSON.stringify(errorList), currentPage: 'errors' }; diff --git a/src/routes/home.js b/src/routes/home.js index f1679a1..5cb5e7b 100644 --- a/src/routes/home.js +++ b/src/routes/home.js @@ -4,7 +4,7 @@ const { getGithubProjectsCache } = require('../cache'); const router = new Router(); router.get('/', async (request, response) => { - const renderData = { page: 'home' }; + const renderData = { }; const githubProjectsCache = await getGithubProjectsCache(); diff --git a/src/routes/progress.js b/src/routes/progress.js index b93fbb5..9e43225 100644 --- a/src/routes/progress.js +++ b/src/routes/progress.js @@ -5,7 +5,6 @@ const router = new Router(); router.get('/', async (request, response) => { const renderData = { - page: 'progress', progressLists: await getGithubProjectsCache(), donationCache: await getStripeDonationCache() }; diff --git a/src/routes/terms.js b/src/routes/terms.js index ae7fdd6..40027e8 100644 --- a/src/routes/terms.js +++ b/src/routes/terms.js @@ -9,7 +9,6 @@ const router = new Router(); router.get('/:slug', async (request, response, next) => { const renderData = { - page: 'terms', layout: 'blog-opengraph' };