Skip to content

Commit

Permalink
split template and add a base.html to be used by basic.blog
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Apr 11, 2012
1 parent 33b05bc commit e887895
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
10 changes: 10 additions & 0 deletions home/templates/base.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<html>
<head><title>UrLab</title></head>
<body style="font-size: 13px; font-family: sans-serif">
<center>
<img src="/static/img/urlab.png" style="border-bottom: 2px solid black; margin-bottom: 30px"><br>
{% block content %}
{% endblock %}
</center>
</body>
</html>
24 changes: 10 additions & 14 deletions home/templates/home.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<html>
<head><title>UrLab</title></head>
<body style="font-size: 13px; font-family: sans-serif">
<center>
<img src="/static/img/urlab.png" style="border-bottom: 2px solid black; margin-bottom: 30px"><br>
<strong style="line-height: 20px">Here will stand something really cool.<br>
We still don't quite know what.<br>
Probably dragons..<br><br>
Stay tuned!<br><br>
<a href="/urlab:urlab" style="color: blue; text-decoration: none">WIKI.WIKI</a>
</strong>
</center>
</body>
</html>
{% extends "base.html" %}

{% block content %}
<strong style="line-height: 20px">Here will stand something really cool.<br>
We still don't quite know what.<br>
Probably dragons..<br><br>
Stay tuned!<br><br>
<a href="/urlab:urlab" style="color: blue; text-decoration: none">WIKI.WIKI</a>
</strong>
{% endblock %}

0 comments on commit e887895

Please sign in to comment.