From 4b8b38831554745dd2de866c71f526bfbc19c7e9 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 29 Mar 2011 10:01:52 +0200 Subject: [PATCH 1/1] added meta description tag --- wolnelektury/templates/base.html | 2 ++ wolnelektury/templates/catalogue/audiobook_list.html | 2 ++ wolnelektury/templates/catalogue/book_detail.html | 2 ++ wolnelektury/templates/info/base.html | 2 ++ wolnelektury/templates/lesmianator/lesmianator.html | 2 ++ wolnelektury/templates/lessons/document_list.html | 2 ++ wolnelektury/templates/pdcounter/author_detail.html | 2 ++ wolnelektury/templates/pdcounter/book_stub_detail.html | 2 ++ 8 files changed, 16 insertions(+) diff --git a/wolnelektury/templates/base.html b/wolnelektury/templates/base.html index 7832dcd4b..adcdaf73e 100644 --- a/wolnelektury/templates/base.html +++ b/wolnelektury/templates/base.html @@ -5,6 +5,8 @@ + {% block title %}WolneLektury.pl{% endblock %} diff --git a/wolnelektury/templates/catalogue/audiobook_list.html b/wolnelektury/templates/catalogue/audiobook_list.html index 8c34c3d15..a9b8ba0e9 100644 --- a/wolnelektury/templates/catalogue/audiobook_list.html +++ b/wolnelektury/templates/catalogue/audiobook_list.html @@ -5,6 +5,8 @@ {% block title %}{% trans "Listing of all audiobooks on WolneLektury.pl" %}{% endblock %} +{% block metadescription %}Darmowe audiobooki na wolnej licencji. Lektury czytane przez znanych aktorów.{% endblock %} + {% block extrahead %} diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 660bf2602..54548007e 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -4,6 +4,8 @@ {% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} + {% block bodyid %}book-detail{% endblock %} {% block body %} diff --git a/wolnelektury/templates/info/base.html b/wolnelektury/templates/info/base.html index 528e2966c..ea1513641 100644 --- a/wolnelektury/templates/info/base.html +++ b/wolnelektury/templates/info/base.html @@ -4,6 +4,8 @@ {% block title %}{{ object.page_title }}{% endblock %} +{% block metadescription %}{{ object.left_column|striptags|truncatewords:10 }}{% endblock %} + {% block body %}

{{ object.title }}

diff --git a/wolnelektury/templates/lesmianator/lesmianator.html b/wolnelektury/templates/lesmianator/lesmianator.html index 5bad89221..5c8490c06 100644 --- a/wolnelektury/templates/lesmianator/lesmianator.html +++ b/wolnelektury/templates/lesmianator/lesmianator.html @@ -4,6 +4,8 @@ {% block title %}Leśmianator w WolneLektury.pl{% endblock %} +{% block metadescription %}Stwórz własny wierszmiks z utworów znajdujących się na Wolnych Lekturach.{% endblock %} + {% block bodyid %}lesmianator{% endblock %} {% block body %} diff --git a/wolnelektury/templates/lessons/document_list.html b/wolnelektury/templates/lessons/document_list.html index 03d68c64d..511bbfcc5 100644 --- a/wolnelektury/templates/lessons/document_list.html +++ b/wolnelektury/templates/lessons/document_list.html @@ -6,6 +6,8 @@ {% block title %}{% trans "Hand-outs for teachers on " %}WolneLektury.pl{% endblock %} +{% block metadescription %}Scenariusze lekcji. Materiały dla nauczycieli na wolnej licencji.{% endblock %} + {% block extrahead %}