If you've ever made a website from scratch, you probably know the routine. Every time you create a new page, you end up typing the same HTML tags.
Things like <!DOCTYPE html>, <html>, and <body>. They're part of the basic structure of an HTML document, even though they're not the content you actually want to show on the page.
So you usually start with something like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
...
</body>
</html>
But with Essepage, you don't need to type all that.
<h1>Hello, world!</h1>
<p>Welcome to my website.</p>
Just type the content you want on the page, and Essepage takes care of the rest.
I sometimes wonder how many people try making their first website, see a full HTML document, and think, "This looks hard... Maybe building websites is something only developers can do."
But what happens if you leave out those tags?
Well, not much, actually. Modern browsers are pretty smart. You can leave out tags like <html>, <head>, and <body> in many cases, and the browser will figure out the structure on its own.
And with Emmet, you can generate the whole HTML boilerplate just by typing ! and pressing Tab. (Emmet is built into the Essepage editor, too.)
So it's not like typing these tags is that hard. :) Still, after doing it over and over again, I started wondering:
Do I really need to type all this every time I create a page?
When I'm making a page, I'm thinking about what I want to put on it, not all the HTML around it. If the content is what I want to work on, why should I have to type the same basic structure every single time?
If I'm doing the same thing over and over, why not just have Essepage do it automatically?
So that's what I did. I made Essepage add the basic HTML structure automatically, so I wouldn't have to type it myself.
It's a small thing, but the more I use it, the more I like it. Being able to open the editor and start working on the content right away is surprisingly nice. Instead of typing a whole HTML document, I can just type what I want on the page and let Essepage handle the rest.
Of course, you can still include those tags if you want to. For example, what if you need to add something to <head>? Just put a <head> section directly in your page, like this:
<head>
<title>My Website</title>
<meta name="description" content="A little corner of the web.">
</head>
<h1>Hello, world!</h1>
<p>Welcome to my website.</p>
Essepage automatically puts everything inside <head> into the actual document's <head>, and the rest goes into <body>.
There's another little feature, too. If you don't add a <title>, Essepage automatically uses the text from the page's <h1> as the title.
<h1>My First Website</h1>
<p>Hello, world!</p>
That's all you need. Your browser tab will show My First Website as the page title. No need to type the same title twice, right? :)
And if you have settings you want to use across multiple pages, you can put them in a +head.essepage file just once. (That's part of Essepage's Head Layout feature. I'll explain more about it in another blog post.)
I know this might seem like a pretty small feature. Saving a few lines of HTML isn't going to change the way we build websites. But I think these little things add up.
When I want to make a webpage, I can skip typing the same basic structure and focus on what I actually want to make. It's a small thing, but it feels surprisingly good. How should I put it... Maybe I'm exaggerating a little, but it almost feels like I've got one less thing to worry about.
That's also one of the things I try to keep in mind while building Essepage:
If something has to be done over and over, try to automate it. And if that's not possible, at least make it something you only have to do once.
That's the idea behind a lot of how Essepage works.
But what if even building a website from scratch sounds like too much work?
Well, there's always Essepage's Duplicate feature. You can copy an existing project and start from there. If you often make similar websites, just create a project to use as your own template, then duplicate it whenever you need a new one.
Now, what else could possibly be a hassle? Haha.
If you've been using Essepage and find yourself doing the same thing over and over, let me know. I'd love to find a way to make Essepage do it for you.
I kind of like getting rid of these little annoyances. :)