3 ms·
No, literally manually typing out HTML tags and everything. Many of us did it so much things like Emmet (https://emmet.io/ https://emmet.io/) were invented and
by embedding-shape 6mo ago
No, literally manually typing out HTML tags and everything. Many of us did it so much things like Emmet (https://emmet.io/ https://emmet.io/) were invented and used so we could hammer out full HTML documents even faster.
Even after React became popular, people are still manually typing out HTML elements, although they call it "JSX" instead, but in reality it's just HTML.
My first blog on the internet literally was a bunch of .html files, where my post "template" was the first post copy-pasted when you wanted to make a new post. Changing the design involved changing the same thing across all files.
- cxr 6mo ago> PS: Really cool static site generators that shoot for simplicity don't require you to create extra template files written in a new, made-up template language. When you want to create a new post, you give it (a) the static files from your existing site and (b) the markdown for your new post. The "templating" engine inspects your existing posts (incl. e.g. class attributes) and then copies the same document structure into a new file, except with the right stuff (timestamp, title and heading, post content...) substituted in to the places where it's supposed to go. <https://news.ycombinator.com/item?id=30961588 https://news.ycombinator.com/item?id=30961588>