X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/wolnelektury/templates/main_page.html?ds=sidebyside
diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html
new file mode 100755
index 000000000..f1450cbd6
--- /dev/null
+++ b/src/wolnelektury/templates/main_page.html
@@ -0,0 +1,88 @@
+{% extends "base.html" %}
+{% load static from staticfiles %}
+{% load i18n catalogue_tags infopages_tags social_tags %}
+{% load ssi_include from ssify %}
+
+
+{% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
+{% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
+
+{% block body %}{% spaceless %}
+
+ {% choose_cite as cite_pk %}
+ {{ cite_pk.if }}
+ {% ssi_include 'social_cite_main' pk=cite_pk %}
+ {{ cite_pk.endif }}
+
+
+
+ {% trans "What's new?" %}
+ {% trans "Recent publications" %}
+ {% for book in last_published %}
+ {% ssi_include 'catalogue_book_mini' pk=book.pk %}
+ {% endfor %}
+
{% trans "Image used:" %} + {% ssi_include 'social_cite_info' pk=cite_pk %} +
+{{ cite_pk.endif }} +{% endspaceless %}{% endblock %}