This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-website".
The branch, master has been updated
via bcc6e5328f593ef81bde3f7ec7bf530f989960db (commit)
from c80e435c46b16852ec72eda2989c6cdda9c97b57 (commit)
Summary of changes:
blogdata/templates/index.tpl | 4 +++-
blogdata/templates/post.tpl | 10 +++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bcc6e5328f593ef81bde3f7ec7bf530f989960db
Author: Gregory Collins <[email protected]>
Date: Wed Sep 15 00:59:56 2010 -0400
Add breadcrumb microdata to blog posts
diff --git a/blogdata/templates/index.tpl b/blogdata/templates/index.tpl
index 3713bd1..9e48a6e 100644
--- a/blogdata/templates/index.tpl
+++ b/blogdata/templates/index.tpl
@@ -5,7 +5,9 @@
<div id="blog-index">
<h2>
- <a href="/blog">Snap Framework Blog</a>
+ <span itemscope="itemscope"
itemtype="http://data-vocabulary.org/Breadcrumb">
+ <a itemprop="url" href="/blog"><span itemprop="title">Snap Framework
Blog</span></a>
+ </span>
<a href="/blog/feed.xml"><img src="/blog/i/feed.png"/></a>
</h2>
<table>
diff --git a/blogdata/templates/post.tpl b/blogdata/templates/post.tpl
index 1065c79..5752ce7 100644
--- a/blogdata/templates/post.tpl
+++ b/blogdata/templates/post.tpl
@@ -2,7 +2,15 @@
<apply template="page">
<div id="blog-post">
- <h2><a href="/blog">Blog</a> <span style="color: #ccc;">»</span>
<post:title/></h2>
+ <h2>
+ <span itemscope="itemscope"
itemtype="http://data-vocabulary.org/Breadcrumb">
+ <a itemprop="url" href="/blog"><span itemprop="title">Blog</span></a>
+ </span>
+ <span style="color: #ccc;">»</span>
+ <span itemscope="itemscope"
itemtype="http://data-vocabulary.org/Breadcrumb">
+ <a itemprop="url" href="#"><span
itemprop="title"><post:title/></span></a>
+ </span>
+ </h2>
<div class="post-meta">
<div class="post-date"><post:date/></div>
-----------------------------------------------------------------------
hooks/post-receive
--
snap-website
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap