Commit 7c8ce02e authored by wu-lee's avatar wu-lee

theme/ - customise the header somewhat for logo/navigation

parent 3f24fa02
This diff is collapsed.
This diff is collapsed.
......@@ -204,7 +204,7 @@ table {
/* ============================================================ */
.site-header {
padding: 100px 0 0;
padding: 50px 0 0;
overflow: auto;
text-align: center;
text-transform: uppercase;
......
......@@ -5,8 +5,6 @@
<article class="post-container {{post_class}}">
<header class="post-header">
<h1 class="post-title">{{title}}</h1>
<p class="blog-description">{{@root.config.description}}</p>
</header>
<div class="post-content clearfix">
......
......@@ -28,21 +28,25 @@
<header class="site-header">
<div class="container">
<div class="site-title-wrapper">
{{#if @root.config.logo}}
<a class="site-logo js-ajax-link" title="{{@root.config.title}}" href="{{@root.config.urls.home}}"><img src="{{img_url @root.config.logo}}" alt="{{@root.config.title}}" /></a>
{{else}}
<h1 class="site-title"><a class="js-ajax-link" title="{{@root.config.title}}" href="{{@root.config.urls.home}}">{{@root.config.title}}</a></h1>
{{/if}}
<h1 class="site-title"><a class="js-ajax-link" title="{{@root.config.title}}" href="{{@root.config.urls.home}}">{{@root.config.title}}</a></h1>
</div>
<ul class="site-nav">
<li class="site-nav-item"><a class="js-ajax-link" title="{{@root.config.title}}" href="{{url posts.[0].path}}">Latest Post</a></li>
<li class="site-nav-item"><a class="js-ajax-link js-show-index" title="{{@root.config.title}}" href="{{url '/posts/'}}">Browse Posts</a></li>
<li class="site-nav-item"><a class="js-ajax-link" title="Site Home" href="{{url @root.config.urls.home}}">Home</a></li>
<li class="site-nav-item"><a class="js-ajax-link" title="Wiki Home" href="{{url @root.config.urls.base}}">Wiki</a></li>
<li class="site-nav-item"><a class="js-ajax-link" title="Lastest blog post" href="{{url posts.[0].path}}">Blog</a></li>
<li class="site-nav-item"><a class="js-ajax-link js-show-index" title="Post index" href="{{url '/posts/'}}">Posts</a></li>
{{> navigation}}
</ul>
<div class="site-title-wrapper">
{{#if @root.config.logo}}
<a class="site-logo js-ajax-link" title="{{@root.config.title}}" href="{{@root.config.urls.home}}"><img src="{{img_url @root.config.logo}}" alt="{{@root.config.title}}" /></a>
{{else}}
<h1 class="site-title"><a class="js-ajax-link" title="{{@root.config.title}}" href="{{@root.config.urls.home}}">{{@root.config.title}}</a></h1>
{{/if}}
</div>
<p class="blog-description">{{@root.config.description}}</p>
</div>
</header>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment