RMHogervorst / blog

posts about R
https://blog.rmhogervorst.nl
2 stars 1 forks source link

Add h-entry microformat too #22

Closed RMHogervorst closed 3 years ago

RMHogervorst commented 3 years ago

http://microformats.org/wiki/h-entry

Can add class to current formatting. For instance right now it is:

<article role=main class=blog-post><p>Over the last week I have experimented with dbt (data built tool), a cmdline tool But I can easily make that <article role=main class="blog-post h-entry"> I have to check if the p-name and p-author stuff can be added to the meta information I'm already publishing

validate here https://indiewebify.me/validate-h-entry

official example:

<article class="h-entry">
  <h1 class="p-name">Microformats are amazing</h1>
  <p>Published by <a class="p-author h-card" href="http://example.com">W. Developer</a>
     on <time class="dt-published" datetime="2013-06-13 12:00:00">13<sup>th</sup> June 2013</time></p>

  <p class="p-summary">In which I extoll the virtues of using microformats.</p>

  <div class="e-content">
    <p>Blah blah blah</p>
  </div>
</article>
RMHogervorst commented 3 years ago

closed in #23