Skip to content

Commit

Permalink
Add support for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt committed Mar 10, 2013
1 parent e2d954d commit 0a48ba5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 7 additions & 4 deletions default/base.html
@@ -1,5 +1,8 @@
{% set blog_info = getBlogInfo() %}
{% set blog_name = blog_info.name %}
{% set asset_url = getAssetUrl() %}
<!doctype html>
<htm>
<html>
<head>
<title>{{ blog_name }}</title>
<meta charset="utf8" />
Expand All @@ -21,14 +24,14 @@
<h1 id="logo"><a href="/">{{ blog_name }}</a></h1>
<nav>
<ul>
<li><a href="/">Home</li>
<li><a href="/">Home</a></li>
</ul>
</nav>
</header>
<main>
<div id="content">
{% block content %}
{% endblock %}
{% block content %}
{% endblock %}
</div>
</main>
<footer>
Expand Down
4 changes: 4 additions & 0 deletions default/posts.html
@@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block content %}
<h1>lol</h1>
{% endblock %}

0 comments on commit 0a48ba5

Please sign in to comment.