Created
September 28, 2012 18:30
-
-
Save pennyfx/3801410 to your computer and use it in GitHub Desktop.
x-blog-article tag
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
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