|
Make Your Website Discoverable
We’re almost there now. Almost to the point where you’re ready to upload your website and have the world see it! But, first, we should add some meta content to the head of your index page (and, you could add this to every single page, if you want). We don’t need previews here, so I’m just going to grab the head snippet from our index.html. So, you see this here? This is very mother-farting basic. It’s got almost nothing in it. It’s basically just telling a browser what the title of your site is, and what styles and scripts to load, and that’s it. But, in order to be more friendly to the internet, we should add some things. Now, as you can see, we’ve taken the title of the site, and replaced it with a whole bunch of stuff. These are, basically, all types of different meta tags that search engines look for, and social media sites use in order to more easily identify what it is that you’re sharing. You’ll notice the title and description is mentioned multiple times for each type of tag, whether we’re talking about Google’s basic tags, Open Graph tags, or “Twitter” card tags. You might also notice mention of a “previewcard.png” in the img folder. This can be anything. Something that’s custom to your website, that will show up on a “preview card” via social media when you share a link. Like, for example, when people share articles on social media, and there’s a big huge image to accompany the link? That’s what this is. This is also all entirely optional, but it will make your site a bit more discoverable to search engines, and other people. And it’ll look nicer when you share it on social media. And that’s absolutely it for this section! Click here to return to the tutorial index, or move on to the next tutorial. |
