Is there a compiler for standard HTML that allows inclusion without a server language?

Recently, I had several projects requiring delivery of standard HTML files, each of which has a lot of common markup in the page header and footer.

I use SASS for CSS and love that I can include one .scss file in another, and still get one .css file.

I hope there is a similar compiler for HTML, but I could not find it.

I, although HAML may be a ticket, but it does not seem to include functionality.

Thanks.

+4
source share
1 answer

The first thing that comes to mind is Jade:

https://github.com/visionmedia/jade

Simplifies HTML and allows you to compile.

+1
source

Source: https://habr.com/ru/post/1416256/


All Articles