Answer the question
In order to leave comments, you need to log in
Is it possible to implement a reusable framework for multiple pages in pure HTML+CSS without PHP?
Is it possible to implement a reusable framework for multiple pages in pure HTML+CSS (like MasterPage in ASP.NET) but without using PHP?
Or are there some tricks or libraries?
Thank you.
Answer the question
In order to leave comments, you need to log in
It seemed to me that you were not asking about the generator, but about the use of HTML + CSS.
Especially for this, there is SSI ( Server Side Includes ) technology.
The main point is the assembly of the final file from separate parts (for example: top, menu, content, bottom) using the "include" directive:
Often works by default on the Apache web server out of the box, in files with the ".shtml" extension.
If you include a file that is also an SHTML file, the directives will be processed in it as well.
Article on Masterhost
Module for nginx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question