shuttle-examples icon indicating copy to clipboard operation
shuttle-examples copied to clipboard

Add a Rocket `tera` template example

Open Luni-4 opened this issue 2 years ago • 4 comments

It would be helpful to add this tera example for Rocket to shuttle-examples. It only requires to enable the tera features in rocket_dyn_templates. Is this feature going to work on shuttle if enabled?

Luni-4 avatar Sep 28 '23 09:09 Luni-4

Hey! Yes, it should work, but I'm not sure we need a whole new example for it, since Rocket already has an example for it.

oddgrd avatar Oct 19 '23 12:10 oddgrd

Yes, you're right. Just wondering though whether an example in shuttle too could help in implementing a tera-template project more straightforward

Luni-4 avatar Oct 19 '23 12:10 Luni-4

Considering this repo is a great pool of templates to start from, diversifying in this direction makes it more likely that we have a starter template for everyone, at the cost of maintenance burden.

jonaro00 avatar Oct 19 '23 12:10 jonaro00

The current shuttle example could be changed as the Rocket example. So it is not necessary to add new examples and the maintenance burden will be reduced. The Rocket example uses both the templating mechanisms, so I presume a copy-paste approach should be sufficient, but I do not know the Shuttle effort, so I could be wrong

Luni-4 avatar Oct 19 '23 12:10 Luni-4