Skip to content

Commit

Permalink
More work on default theme. Add prefix support in title
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt committed Mar 13, 2013
1 parent 0a48ba5 commit 201b6f8
Show file tree
Hide file tree
Showing 4 changed files with 496 additions and 9 deletions.
13 changes: 5 additions & 8 deletions default/base.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{% set blog_info = getBlogInfo() %}
{% set blog_name = blog_info.name %}
{% set blog_slogan = blog_info.slogan %}
{% set asset_url = getAssetUrl() %}
<!doctype html>
<html>
<head>
<title>{{ blog_name }}</title>
<title>{{ blog_name }}{% if prefix %} - {{ prefix }} {% endif %}</title>
<meta charset="utf8" />
<link href="{{ asset_url }}/css/normalize.css" rel="stylesheet" />
<link href="{{ asset_url }}/css/style.css" rel="stylesheet" />
Expand All @@ -20,21 +21,17 @@
</head>
<body>
<div id="wrapper">
<header>
<header id="top">
<h1 id="logo"><a href="/">{{ blog_name }}</a></h1>
<nav>
<ul>
<li><a href="/">Home</a></li>
</ul>
</nav>
<span class="slogan">{{ blog_slogan }}
</header>
<main>
<div id="content">
{% block content %}
{% endblock %}
</div>
</main>
<footer>
<footer id="bottom">
<p>Powered by <a href="http://github.com/hawalius/hawalius">Hawalius</a></p>
</footer>
</div>
Expand Down
Loading

0 comments on commit 201b6f8

Please sign in to comment.