Browse files

Merge pull request #29 from ChrisYip/master

Support linklog and more SEO friendly
  • Loading branch information...
2 parents c0f1e2c + d6f16f8 commit 976f5255a1538c53cccf72cd5b218b1881440d35 @tommy351 tommy351 committed Nov 15, 2012
View
3 sass/parts/_article.scss
@@ -9,7 +9,8 @@ article{
@media screen and (max-width: 600px){
padding: 15px 0;
}
- h1.title{
+ h2.title{
+ font-size: 1.8em;
font-weight: 300;
line-height: 35px;
margin-bottom: 20px;
View
2 sass/parts/_comment.scss
@@ -1,7 +1,7 @@
#comment{
padding: 30px 0;
@include border-shadow();
- h1.title{
+ h2.title{
font-size: 25px;
font-weight: 300;
line-height: 35px;
View
2 sass/parts/_post.scss
@@ -1,5 +1,5 @@
.post{
- h1.title, .entry-content{
+ h2.title, .entry-content{
margin-left: 200px;
@media screen and (max-width: 800px){
margin-left: 0;
View
2 source/_includes/archive_post.html
@@ -8,7 +8,7 @@
<section class="archives"><h1 class="year">{{ date | date: "%Y" }}</h1>
{% endunless %}
<article>
- <h1 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
+ <h2 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h2>
<div class="meta">
<span class="date">{{ date | date: "%b %e" }}</span>
<span class="tags">{% include post/categories.html %}</span>
View
11 source/_includes/article.html
@@ -1,12 +1,19 @@
{% if index %}
- <h1 class="title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
+ <h2 class="title">
+ {% if post.external-url %}
+ <a href="{{ post.external-url }}">
+ {% else %}
+ <a href="{{ root_url }}{{ post.url }}">
+ {% endif %}
+ {% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a>
+ </h2>
<div class="entry-content">
{{ content | excerpt }}
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
{% if excerpted == 'true' %}<a href="{{ root_url }}{{ post.url }}" class="more-link">{{ site.excerpt_link }}</a>{% endif %}
</div>
{% else %}
- <h1 class="title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
+ <h2 class="title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h2>
<div class="entry-content">{{ content }}</div>
{% endif %}
View
2 source/_layouts/post.html
@@ -9,7 +9,7 @@
{% endunless %}
{% if site.disqus_short_name and page.comments == true %}
<section id="comment">
- <h1 class="title">Comments</h1>
+ <h2 class="title">Comments</h2>
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
</section>
{% endif %}

0 comments on commit 976f525

Please sign in to comment.