Open tmke8 opened 4 years ago
Get inspiration from this:
<body itemscope itemtype="http://schema.org/Blog">
<header>
<h1>Wake up sheeple!</h1>
<p><a href="news.html">News</a> -
<a href="blog.html">Blog</a> -
<a href="forums.html">Forums</a></p>
<p>Last Modified: <span itemprop="dateModified">2009-04-01</span></p>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="articles.html">Index of all articles</a></li>
<li><a href="today.html">Things sheeple need to wake up for today</a></li>
<li><a href="successes.html">Sheeple we have managed to wake</a></li>
</ul>
</nav>
</header>
<main>
<article itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h1 itemprop="headline">My Day at the Beach</h1>
</header>
<div itemprop="articleBody">
<p>Today I went to the beach and had a lot of fun.</p>
...more content...
</div>
<footer>
<p>Posted <time itemprop="datePublished" datetime="2009-10-10">Thursday</time>.</p>
</footer>
</article>
...more blog posts...
</main>
<footer>
<p>Copyright ©
<span itemprop="copyrightYear">2010</span>
<span itemprop="copyrightHolder">The Example Company</span>
</p>
<p><a href="about.html">About</a> -
<a href="policy.html">Privacy Policy</a> -
<a href="contact.html">Contact Us</a></p>
</footer>
</body>
I think I should use <header>
instead of <d-title>
. and <nav toc>
instead of <d-toc>
.
Maybe don't use <main>
instead of <article>
, because <main>
should encompass all content-like things which in my case is basically everything. Furthermore, <article>
has more semantic meaning in the HTML spec. For example, for the <address>
element, it specifically says it applies to the nearest <article>
element. This does not work with <main>
.
render.js
adds back the distill header and footerarticle
should be 1.0rem because it constitutes the bulk of text<d-cite key="kingma2017"></d-cite>
, it should be<cite>kingma2017</cite>
<caption>
in<table>
should automatically be prefixed with "Table ?:"q::before { content: "“"; }
@media screen and (min-width: 1000px)
<head>
at all and don't close</body>
or</html>
p
,td
,tr
,li
, ...<d-appendix>
maybe use<section appendix>
(or<footer>
)<d-title>
and<d-byline>
should probably be merged again<br page>
as a page breaking element