Hacker News new | past | comments | ask | show | jobs | submit login

I don't like writing manual HTML/CSS/JS, so I write Pug/Stylus/Coffeescript and generate the site with a Makefile that calls all the compilers. For example,

    SOURCES += $(shell find -name '*.pug')
    OBJECTS += $(patsubst %.pug, %.html, $(filter %.pug, $(SOURCES)))
    all: $(OBJECTS)
    %.html: %.pug
     pug -P $^



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: