forked from jekyll/minima
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jekyll#160 from barryf/microformats
Add Microformats markup
- Loading branch information
Showing
5 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a> | ||
<a class="u-url" rel="me" href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a> | ||
<a class="u-url" rel="me" href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
--- | ||
layout: default | ||
--- | ||
<article class="post" itemscope itemtype="http://schema.org/BlogPosting"> | ||
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting"> | ||
|
||
<header class="post-header"> | ||
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1> | ||
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1> | ||
<p class="post-meta"> | ||
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> | ||
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> | ||
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %} | ||
{{ page.date | date: date_format }} | ||
</time> | ||
{% if page.author %} | ||
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span> | ||
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span> | ||
{% endif %}</p> | ||
</header> | ||
|
||
<div class="post-content" itemprop="articleBody"> | ||
<div class="post-content e-content" itemprop="articleBody"> | ||
{{ content }} | ||
</div> | ||
|
||
{% if site.disqus.shortname %} | ||
{% include disqus_comments.html %} | ||
{% endif %} | ||
|
||
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a> | ||
</article> |