Skip to content

Instantly share code, notes, and snippets.

@pennyfx
Created September 28, 2012 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pennyfx/3801410 to your computer and use it in GitHub Desktop.
Save pennyfx/3801410 to your computer and use it in GitHub Desktop.
x-blog-article tag
I know we joked about this tag before, but check this out.
So I don't want to go through the trouble of creating an entire blog system. Plus we don't need it. We could easily create something simple with a few x-tags.
So imagine a directory with a bunch of html fragments containing x-blog-articles
/posts/(permalink)
<x-blog-article template="summary|complete">
<x-value key="title"></x-value>
<x-value key="permalink"></x-value>
<x-value key="body"></x-value>
<x-value key="author"></x-value>
<x-value key="pubDate"></x-value>
<x-blog-article>
<x-article-rotator>
</x-article-rotator>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment