diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2014-10-20 16:38:24 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2014-10-20 16:38:24 -0700 |
commit | d139da3a3277f73d7f01e4283d8dc01630a5317c (patch) | |
tree | 5a58aeb89869f09cc48543c0540a1fbd4910040e /source/_includes/custom | |
parent | c434de5977c316c8406c00bb24221fa61ca8fe88 (diff) | |
download | my_new_personal_website-d139da3a3277f73d7f01e4283d8dc01630a5317c.tar.xz my_new_personal_website-d139da3a3277f73d7f01e4283d8dc01630a5317c.zip |
initial setup
Diffstat (limited to 'source/_includes/custom')
-rw-r--r-- | source/_includes/custom/after_footer.html | 3 | ||||
-rw-r--r-- | source/_includes/custom/asides/about.html | 4 | ||||
-rw-r--r-- | source/_includes/custom/category_feed.xml | 27 | ||||
-rw-r--r-- | source/_includes/custom/footer.html | 4 | ||||
-rw-r--r-- | source/_includes/custom/head.html | 3 | ||||
-rw-r--r-- | source/_includes/custom/header.html | 6 | ||||
-rw-r--r-- | source/_includes/custom/navigation.html | 4 |
7 files changed, 51 insertions, 0 deletions
diff --git a/source/_includes/custom/after_footer.html b/source/_includes/custom/after_footer.html new file mode 100644 index 00000000..bce25dd9 --- /dev/null +++ b/source/_includes/custom/after_footer.html @@ -0,0 +1,3 @@ +{% comment %} + Add content to be output at the bottom of each page. (You might use this for analytics scripts, for example) +{% endcomment %} diff --git a/source/_includes/custom/asides/about.html b/source/_includes/custom/asides/about.html new file mode 100644 index 00000000..59d309e4 --- /dev/null +++ b/source/_includes/custom/asides/about.html @@ -0,0 +1,4 @@ +<section> + <h1>About Me</h1> + <p>A little something about me.</p> +</section> diff --git a/source/_includes/custom/category_feed.xml b/source/_includes/custom/category_feed.xml new file mode 100644 index 00000000..8c93ed39 --- /dev/null +++ b/source/_includes/custom/category_feed.xml @@ -0,0 +1,27 @@ +--- +layout: null +--- +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + + <title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title> + <link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/> + <link href="{{ site.url }}/"/> + <updated>{{ site.time | date_to_xmlschema }}</updated> + <id>{{ site.url }}/</id> + <author> + <name><![CDATA[{{ site.author | strip_html }}]]></name> + {% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %} + </author> + <generator uri="http://octopress.org/">Octopress</generator> + + {% for post in site.categories[page.category] limit: 5 %} + <entry> + <title type="html"><![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]></title> + <link href="{{ site.url }}{{ post.url }}"/> + <updated>{{ post.date | date_to_xmlschema }}</updated> + <id>{{ site.url }}{{ post.id }}</id> + <content type="html"><![CDATA[{{ post.content | expand_urls: site.url | markdownify | cdata_escape }}]]></content> + </entry> + {% endfor %} +</feed> diff --git a/source/_includes/custom/footer.html b/source/_includes/custom/footer.html new file mode 100644 index 00000000..e12f0678 --- /dev/null +++ b/source/_includes/custom/footer.html @@ -0,0 +1,4 @@ +<p> + Copyright © {{ site.time | date: "%Y" }} - {{ site.author }} - + <span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span> +</p> diff --git a/source/_includes/custom/head.html b/source/_includes/custom/head.html new file mode 100644 index 00000000..824a41e7 --- /dev/null +++ b/source/_includes/custom/head.html @@ -0,0 +1,3 @@ +<!--Fonts from Google"s Web font directory at http://google.com/webfonts --> +<link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> +<link href="//fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> diff --git a/source/_includes/custom/header.html b/source/_includes/custom/header.html new file mode 100644 index 00000000..35f9c059 --- /dev/null +++ b/source/_includes/custom/header.html @@ -0,0 +1,6 @@ +<hgroup> + <h1><a href="{{ root_url }}/">{{ site.title }}</a></h1> + {% if site.subtitle %} + <h2>{{ site.subtitle }}</h2> + {% endif %} +</hgroup> diff --git a/source/_includes/custom/navigation.html b/source/_includes/custom/navigation.html new file mode 100644 index 00000000..d6bd4246 --- /dev/null +++ b/source/_includes/custom/navigation.html @@ -0,0 +1,4 @@ +<ul class="main-navigation"> + <li><a href="{{ root_url }}/">Blog</a></li> + <li><a href="{{ root_url }}/blog/archives">Archives</a></li> +</ul> |