Add microformats

This commit is contained in:
Rico Sta. Cruz 2015-03-09 16:15:29 +08:00
parent 837e777b5e
commit 36341ebb77
1 changed files with 19 additions and 0 deletions

19
html-microformats.md Normal file
View File

@ -0,0 +1,19 @@
---
title: "HTML: microformats"
---
### Author
``` html
<span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">
<a href="http://AUTHORPAGE" class="entry-author-link" itemprop="url" rel="author">
<span class="entry-author-name" itemprop="name">AUTHORNAME</span>
</a>
</span>
```
### Time
``` html
<time class="entry-time" itemprop="datePublished" datetime="2009-02-09T20:04:00+00:00">February 9, 2009</time>
```