Skip to content

Spike: see whether it’d make sense to switch to an Eleventy build#1277

Draft
frankieroberto wants to merge 11 commits into
mainfrom
spike-convert-to-eleventy
Draft

Spike: see whether it’d make sense to switch to an Eleventy build#1277
frankieroberto wants to merge 11 commits into
mainfrom
spike-convert-to-eleventy

Conversation

@frankieroberto
Copy link
Copy Markdown
Collaborator

Would this be sensible? Could it be done?

Pros:

  • save 💵 on Heroku hosting
  • might make it easier to switch to GOV.UK official branding in future?

Cons:

  • might take a fair bit of Eleventy wrangling
  • remove the ability to do anything dynamic at runtime (although we’re not at the mo)

To-do:

  • Get basic site build working
  • Page per service based upon a separate data file per service
  • Page per topic (in data/themes.json)
  • Page per organisation based on the unique organisations referenced in service data files
  • Page per phase
  • Other misc pages referenced in footer
  • Convert most of lib/data.js into Nunjucks filters?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant