+
+
About CoolPress
+
+
CoolPress is an application created to show the potential of web applications in Python and
+ as a show case of how easy is to create great applications with own content or creating
+ content from other sources
+
Feel free to play with it and to learn Django along the way
+
Have fun ;)
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/coolpress/press/templates/author_details.html b/coolpress/press/templates/author_details.html
new file mode 100644
index 0000000..4674230
--- /dev/null
+++ b/coolpress/press/templates/author_details.html
@@ -0,0 +1,77 @@
+{% extends 'base.html' %}
+
+{% block content %}
+
+
+
Username: {{ author.user.username }}
+
+
+
First name: {{ author.user.first_name }}
+
Last name: {{ author.user.last_name }}
+
Email: {{ author.user.email }}
+
Total characters: {{ user_characters }}
+
+
+
+ {% for cat_id, cnt in cat_stats.items %}
+
Category: {{ cat_id }} written {{ cnt }} posts
+ {% endfor %}
+
+
+ {% if author.gravatar_link %}
+
+

+
Last update was on: {{author.gravatar_updated_at|date:'Y-d-m'}}
+
+ {% endif %}
+
+
+ {% if author.github_profile %}
+
+
Github information
+
Github Username: {{ author.github_profile }}
+
Amount of repositories:
+ {{ author.gh_repositories}}
+
+
Amount of stars:
+ {{ author.gh_stars}}
+
+
+
+

+
+
+
+

+
+
+
+
+ {% endif %}
+
+
+ {% if most_used_words %}
+
+{% empty %}
+
+
+ {% include 'navbar.html' %}
+ {% block content %}
+ {% endblock %}
+ {% include 'pagination.html' %}
+
+
+
diff --git a/coolpress/press/templates/comment-add.html b/coolpress/press/templates/comment-add.html
new file mode 100644
index 0000000..5db8a18
--- /dev/null
+++ b/coolpress/press/templates/comment-add.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+
+{% block content %}
+
\ No newline at end of file
diff --git a/coolpress/press/templates/pagination.html b/coolpress/press/templates/pagination.html
new file mode 100644
index 0000000..e66f9ba
--- /dev/null
+++ b/coolpress/press/templates/pagination.html
@@ -0,0 +1,25 @@
+{% if is_paginated %}
+
+
+ {% if post.image_link %}
+
+

+
+ {% endif %}
+
+
+
+{% empty %}
+
+
+
+ {% if user_form.errors or cooluser_form.errors %}
+
+ {% endif %}
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/coolpress/press/templates/trending-posts.html b/coolpress/press/templates/trending-posts.html
new file mode 100644
index 0000000..ef95990
--- /dev/null
+++ b/coolpress/press/templates/trending-posts.html
@@ -0,0 +1,36 @@
+{% extends 'base.html' %}
+
+{% block content %}
+
+{% for post in post_list %}
+
+{% empty %}
+
+It is now {now}.
{cats_ul}"
+ return HttpResponse(html)
+
+
+def render_a_post(post):
+ return f'