Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions _templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
<head>
<meta charset=utf-8>
{% block htmlhead %}
<title>{% block title %}Home{% endblock %} | Matt Alcock - A Data Scientist with a passion for Python</title>
<title>
{% block title %}
Home
{% endblock %} | Matt Alcock - A Data Scientist with a passion for Python</title>
<link rel="stylesheet" href="/static/style.css" type="text/css">
<link href="/feed.atom" rel="alternate" title="Recent Blog Posts" type="application/atom+xml">
{%- for link in links %}
<link rel="{{ link.rel }}" href="{{ link.href }}"{%
if link.media %} media="{{ link.media }}"{% endif %} type="{{ link.type }}">
{%- endfor %}
{% endblock %}
<link rel="{{ link.rel }}" href="{{ link.href }}"
{% if link.media %} media="{{ link.media }}"{% endif %} type="{{ link.type }}">
{%- endfor %}
{% endblock %}
</head>
<body>
<div class=container>
Expand All @@ -26,7 +29,8 @@
</ul>
</div>
<div class=body>
{% block body %}{% endblock %}
{% block body %}
{% endblock %}
</div>
<div class=footer>
<p>If you can't explain it simply, you don't understand it well enough. - Albert Einstein
Expand Down Expand Up @@ -55,4 +59,4 @@

</script>
</body>
</html>
</html>
7 changes: 4 additions & 3 deletions _templates/tag.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{% extends "layout.html" %}
{% block title %}Entries tagged “{{ tag.name }}”{% endblock %}
{% block title %}Entries tagged “{{ tag.name }}”
{% endblock %}
{% block body %}
<h1>Entries <a href="{{ link_to('tagcloud') }}">tagged</a> “{{ tag.name }}”</h1>
<h1>Entries <a href="{{ link_to ('tagcloud') }}"> tagged </a> “{{ tag.name }}” </h1>
<ul>
{%- for entry in entries %}
<li><a href="{{ link_to('page', slug=entry.slug) }}">{{ entry.title }}</a>
<li><a href="{{ link_to ('page', slug=entry.slug) }}"> {{ entry.title }} </a>
{%- endfor %}
</ul>
{% endblock %}