apply #1057 to notmyidea

This commit is contained in:
Alberto Scotto 2015-04-08 03:29:26 +02:00
commit 9919b30810
2 changed files with 18 additions and 0 deletions

View file

@ -1,4 +1,20 @@
{% extends "base.html" %}
{% block head %}
{{ super() }}
{% for keyword in article.keywords %}
<meta name="keywords" content="{{keyword}}" />
{% endfor %}
{% for description in article.description %}
<meta name="description" content="{{description}}" />
{% endfor %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %}
{% block title %}{{ article.title|striptags }}{% endblock %}
{% block content %}
<section id="content" class="body">

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
{% block head %}
<meta charset="utf-8" />
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
@ -14,6 +15,7 @@
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% endblock head %}
</head>
<body id="index" class="home">