JasonYao / JasonYao.github.io

My personal site at jasonyao.com using Hugo
https://www.jasonyao.com
GNU General Public License v3.0
1 stars 0 forks source link

Swap from raw divs to semantic components #16

Closed JasonYao closed 3 years ago

JasonYao commented 3 years ago

https://developer.mozilla.org/en-US/docs/Glossary/Semantics

JasonYao commented 3 years ago

Some thoughts:

or

<article>
    <main>
        <!-- post content here -->
    </main>
</article>

I have a hunch it's the latter, since it's saying "in this self-contained article, here is the main section describing the content"

Side question

JasonYao commented 3 years ago

Something to note is that confusingly, semantic web is actually different to web schemas that can help with search engine visibility/understanding, which comes from schema.org. In essence it looks like:

And the goal is to now combine the two of them together.

I think i actually did the hard work before of figuring out what that would look like on the old site, so reference that in case it's already been done

JasonYao commented 3 years ago

Reference existing semantic html from old blog at https://github.com/JasonYao/deprecated-old-2017-site/blob/source/_includes/partials/post.html