Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use a Layout ? #89

Closed
ghost opened this issue Jan 20, 2019 · 2 comments
Closed

How to use a Layout ? #89

ghost opened this issue Jan 20, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 20, 2019

Hi,
I would like to know if it's possible to use a Layout with Fastify-Static.

  • Every page have the same header
  • Every page have the same footer
  • Every page have the same style and layout

Can you share a solution or it's not possible ?

Thank you

@StarpTech
Copy link
Member

Hi @xyz-mtl your question has nothing to do with fastify-static. I think you are looking for a template plugin. You can use the fastify plugin point-of-view.

@ghost
Copy link
Author

ghost commented Jan 20, 2019

@StarpTech 👍

@ghost ghost closed this as completed Jan 20, 2019
This issue was closed.
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

No branches or pull requests

1 participant