fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
52228a0
)
added meta description tag
author
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 29 Mar 2011 08:01:52 +0000
(10:01 +0200)
committer
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 29 Mar 2011 08:02:11 +0000
(10:02 +0200)
wolnelektury/templates/base.html
patch
|
blob
|
history
wolnelektury/templates/catalogue/audiobook_list.html
patch
|
blob
|
history
wolnelektury/templates/catalogue/book_detail.html
patch
|
blob
|
history
wolnelektury/templates/info/base.html
patch
|
blob
|
history
wolnelektury/templates/lesmianator/lesmianator.html
patch
|
blob
|
history
wolnelektury/templates/lessons/document_list.html
patch
|
blob
|
history
wolnelektury/templates/pdcounter/author_detail.html
patch
|
blob
|
history
wolnelektury/templates/pdcounter/book_stub_detail.html
patch
|
blob
|
history
diff --git
a/wolnelektury/templates/base.html
b/wolnelektury/templates/base.html
index
7832dcd
..
adcdaf7
100644
(file)
--- a/
wolnelektury/templates/base.html
+++ b/
wolnelektury/templates/base.html
@@
-5,6
+5,8
@@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css">
+ <meta name="description"
+ content="{% block metadescription %}Darmowe opracowane, pełne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" >
<title>{% block title %}WolneLektury.pl{% endblock %}</title>
<link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" />
<link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml">
<title>{% block title %}WolneLektury.pl{% endblock %}</title>
<link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" />
<link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml">
diff --git
a/wolnelektury/templates/catalogue/audiobook_list.html
b/wolnelektury/templates/catalogue/audiobook_list.html
index
8c34c3d
..
a9b8ba0
100644
(file)
--- 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 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 %}
<link rel="alternate" type="application/atom+xml" title="{% trans "Latest MP3 audiobooks" %}" href="{% url audiobook_feed 'mp3' %}" />
<link rel="alternate" type="application/atom+xml" title="{% trans "Latest Ogg Vorbis audiobooks" %}" href="{% url audiobook_feed 'ogg' %}" />
{% block extrahead %}
<link rel="alternate" type="application/atom+xml" title="{% trans "Latest MP3 audiobooks" %}" href="{% url audiobook_feed 'mp3' %}" />
<link rel="alternate" type="application/atom+xml" title="{% trans "Latest Ogg Vorbis audiobooks" %}" href="{% url audiobook_feed 'ogg' %}" />
diff --git
a/wolnelektury/templates/catalogue/book_detail.html
b/wolnelektury/templates/catalogue/book_detail.html
index
660bf26
..
5454800
100644
(file)
--- 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 title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %}
+{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %}
+
{% block bodyid %}book-detail{% endblock %}
{% block body %}
{% block bodyid %}book-detail{% endblock %}
{% block body %}
diff --git
a/wolnelektury/templates/info/base.html
b/wolnelektury/templates/info/base.html
index
528e296
..
ea15136
100644
(file)
--- a/
wolnelektury/templates/info/base.html
+++ b/
wolnelektury/templates/info/base.html
@@
-4,6
+4,8
@@
{% block title %}{{ object.page_title }}{% endblock %}
{% block title %}{{ object.page_title }}{% endblock %}
+{% block metadescription %}{{ object.left_column|striptags|truncatewords:10 }}{% endblock %}
+
{% block body %}
<h1>{{ object.title }}</h1>
<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
{% block body %}
<h1>{{ object.title }}</h1>
<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
diff --git
a/wolnelektury/templates/lesmianator/lesmianator.html
b/wolnelektury/templates/lesmianator/lesmianator.html
index
5bad892
..
5c8490c
100644
(file)
--- 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 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 %}
{% block bodyid %}lesmianator{% endblock %}
{% block body %}
diff --git
a/wolnelektury/templates/lessons/document_list.html
b/wolnelektury/templates/lessons/document_list.html
index
03d68c6
..
511bbfc
100644
(file)
--- 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 title %}{% trans "Hand-outs for teachers on " %}WolneLektury.pl{% endblock %}
+{% block metadescription %}Scenariusze lekcji. Materiały dla nauczycieli na wolnej licencji.{% endblock %}
+
{% block extrahead %}
<script type="text/javascript" charset="utf-8">
$(function() {
{% block extrahead %}
<script type="text/javascript" charset="utf-8">
$(function() {
diff --git
a/wolnelektury/templates/pdcounter/author_detail.html
b/wolnelektury/templates/pdcounter/author_detail.html
index
e126835
..
05cdbb9
100644
(file)
--- a/
wolnelektury/templates/pdcounter/author_detail.html
+++ b/
wolnelektury/templates/pdcounter/author_detail.html
@@
-3,6
+3,8
@@
{% block title %}{{ author.name }} w WolneLektury.pl{% endblock %}
{% block title %}{{ author.name }} w WolneLektury.pl{% endblock %}
+{% block metadescription %}Licznik domeny publicznej: {{author.name}}.{% endblock %}
+
{% block bodyid %}author-detail{% endblock %}
{% block body %}
{% block bodyid %}author-detail{% endblock %}
{% block body %}
diff --git
a/wolnelektury/templates/pdcounter/book_stub_detail.html
b/wolnelektury/templates/pdcounter/book_stub_detail.html
index
2537087
..
6817b65
100644
(file)
--- a/
wolnelektury/templates/pdcounter/book_stub_detail.html
+++ b/
wolnelektury/templates/pdcounter/book_stub_detail.html
@@
-3,6
+3,8
@@
{% block title %}{{ book.title }} w WolneLektury.pl{% endblock %}
{% block title %}{{ book.title }} w WolneLektury.pl{% endblock %}
+{% block metadescription %}Licznik domeny publicznej: {{ book.title }}.{% endblock %}
+
{% block bodyid %}book-stub-detail{% endblock %}
{% block body %}
{% block bodyid %}book-stub-detail{% endblock %}
{% block body %}