Permalink
Browse files

Some work on article. Also, setting description in the layout just fo…

…r SE result content (not really used anymore in SEO afaik).

Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
  • Loading branch information...
1 parent 6416260 commit 00cde3c5f1814bfe8c3d9218207088127e794e4c @ncb000gt ncb000gt committed Oct 2, 2010
Showing with 8 additions and 6 deletions.
  1. +3 −3 skin/article.haml
  2. +2 −1 skin/layout.haml
  3. +3 −2 skin/public/volcano.css
View
@@ -30,7 +30,7 @@
#sidebar
.aside.clearfix
- %h3 About the Author
+ %h4 About the Author
%img.headshot{src: gravitar(author.email) }
%dl
%dt Name:
@@ -58,7 +58,7 @@
%a{href: author.homepage} Homepage
.aside
- %h3
+ %h4
About this Article
:if article.date
%dl{title: article.date}
@@ -115,7 +115,7 @@
:if article.related && article.related.length > 0
.bubble
- %h3
+ %h4
Other Articles by this Author
%ul
:each related in article.related
View
@@ -2,7 +2,8 @@
%html(lang="en" xmlns="http://www.w3.org/1999/xhtml")
%head
%meta(http-equiv="content-type" content="text/html; charset=UTF-8")
- %title #{(title ? title + " - " : "")}How To Node
+ %title #{(title ? title + " - " : "")}How To Node - NodeJS
+ %meta(name="description" content="Learn the zen of coding in NodeJS.")
%link(href="/volcano.css" rel="stylesheet")
%link(href="/print.css" rel="stylesheet" media="print")
%link(rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/feed.xml")
View
@@ -72,7 +72,7 @@ body {
margin-right:0;
min-height: 300px;
min-width: 300px;
- width: 70%;
+ width: 65%;
/*margin-right: 350px;*/
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
@@ -195,6 +195,7 @@ body {
color: #444;
}
#main h3 {
+ font-size: 2em;
color: #222;
}
#main h4 {
@@ -229,7 +230,7 @@ the list items to fix the size issue */
#sidebar {
margin-left:0;
float: left;
- width: 24.7%;/*350px;*/
+ width: 28%;
font-family: sans-serif;
font-size: 14px;
line-height: 1.6em;

0 comments on commit 00cde3c

Please sign in to comment.