From 1c574d24b7fdd482499fa9553c19342b6a4d391e Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Tue, 24 Jan 2012 21:53:22 +0800 Subject: created --- source/_includes/article.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 source/_includes/article.html (limited to 'source/_includes/article.html') diff --git a/source/_includes/article.html b/source/_includes/article.html new file mode 100644 index 0000000..941dd86 --- /dev/null +++ b/source/_includes/article.html @@ -0,0 +1,34 @@ +{% unless page.no_header %} +
+ {% if index %} +
{{ post.date | date: "%e" }}{{ post.date | date: "%b" }}
+

{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}

+ {% else %} +
{{ post.date | date: "%e" }}{{ post.date | date: "%b" }}
+

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

+ {% endif %} +
+
+{% endunless %} +{% if index %} +
+ {{ content | excerpt }} + {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %} + +
+{% else %} +
+ {{ content }} + +
+{% endif %} \ No newline at end of file -- cgit v1.2.3