Skip to content

Commit

Permalink
feat: different landing page for dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesdring committed Nov 15, 2024
1 parent 5a2769b commit 2bde0d0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions _config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,14 @@ site.copy("assets/vendor/");
}
})

// Set up some global data
site.data('landingPage', 'placeholder', '/landing');
/**
* Set up some global data
*/

// Set up landing page
const landing = 'placeholder';
const devLanding = 'v1';
site.data('landingPage', Deno.env.get('LUME_DRAFTS') == 'true' ? devLanding : landing, '/landing');

// Kludge to strip height and width from in line svg
site.process(['.html'], (pages) => pages.forEach(page => {
Expand Down

0 comments on commit 2bde0d0

Please sign in to comment.