diff options
Added description meta tag to master template
* eliminated `last_item` list item class by fixing its padding
-rw-r--r-- | source/99_result/main.css | 3 | ||||
-rw-r--r-- | utility/master.xsl | 51 |
2 files changed, 38 insertions, 16 deletions
diff --git a/source/99_result/main.css b/source/99_result/main.css index b28df3f..f3250b9 100644 --- a/source/99_result/main.css +++ b/source/99_result/main.css @@ -1,8 +1,7 @@ body{margin:0;padding:0;font:1em Droid Sans,sans-serif,Verdana,Arial,FreeSans;color:#272828;word-wrap:break-word} p{margin:0;line-height:1.5em} ul{margin:0;padding:0;list-style:none} -ul li{float:left;padding:0 .2em} -ul li.last_item{padding-right:0} +ul li{float:left;padding:0 0 0 .2em} ul li a{text-decoration:none;color:#272828;background:#e3e8e8;border-radius:.3em;padding:.2em} ul li a:hover{text-decoration:underline} blockquote{border-left:.4em solid #e3e8e8;margin-left:0;padding-left:1em} diff --git a/utility/master.xsl b/utility/master.xsl index 79a12f2..8ca4a04 100644 --- a/utility/master.xsl +++ b/utility/master.xsl @@ -32,31 +32,49 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <meta name="author" content="Adrian Kummerländer" /> - <meta name="robots" content="all"/> - <meta name="viewport" content="width=device-width,initial-scale=1.0"/> - - <title><xsl:call-template name="title-text"/> @ <xsl:value-of select="$root/meta/title"/></title> - <link rel="stylesheet" type="text/css" href="/main.css" /> + <meta name="author" content="Adrian Kummerländer" /> + <meta name="description" content="Adrian Kummerländer's blog on software development, linux and open source" /> + <meta name="robots" content="all"/> + <meta name="viewport" content="width=device-width,initial-scale=1.0"/> + <link rel="stylesheet" type="text/css" href="/main.css" /> <link rel="shortcut icon" type="image/x-icon" href="/media/favicon.ico" /> + + <title> + <xsl:call-template name="title-text"/> @ <xsl:value-of select="$root/meta/title"/> + </title> </head> <body> <div id="wrapper"> <div id="content"> <div id="nav_wrap"> - <h1><xsl:value-of select="$root/meta/title"/></h1> + <h1> + <xsl:value-of select="$root/meta/title"/> + </h1> + <ul> - <li><a href="/0">Start</a></li> - <li><a href="/archive">Archive</a></li> - <li><a href="/category/projects">Projects</a></li> - <li><a href="/page/contact">Contact</a></li> - <li class="last_item"><a href="/atom.xml">Feed</a></li> + <li> + <a href="/0">Start</a> + </li> + <li> + <a href="/archive">Archive</a> + </li> + <li> + <a href="/category/projects">Projects</a> + </li> + <li> + <a href="/page/contact">Contact</a> + </li> + <li> + <a href="/atom.xml">Feed</a> + </li> </ul> </div> + <div id="main"> <xsl:apply-templates /> </div> + <div id="footer_wrap"> <div class="taglist"> <xsl:call-template name="list_tags"/> @@ -64,9 +82,14 @@ </div> <div id="last_line"> <a href="/page/static_xslt/">Made with XSLT</a> + <ul> - <li><a href="/page/contact">Contact</a></li> - <li class="last_item"><a href="/atom.xml">Feed</a></li> + <li> + <a href="/page/contact">Contact</a> + </li> + <li> + <a href="/atom.xml">Feed</a> + </li> </ul> </div> </div> |