From 21de12c0fcffc1810e84b437fc894af4a1ad115b Mon Sep 17 00:00:00 2001 From: Arul Date: Tue, 13 Sep 2016 23:20:16 +0530 Subject: [PATCH] move font folder, progressbar and disqus show comment button --- README.md | 50 ++++++++++++++++++++++++++++-- static/{fonts => font}/icons.eot | Bin static/{fonts => font}/icons.svg | 0 static/{fonts => font}/icons.ttf | Bin static/{fonts => font}/icons.woff | Bin templates/article.html | 29 ++++++++++++++--- templates/authors.html | 2 ++ 7 files changed, 74 insertions(+), 7 deletions(-) rename static/{fonts => font}/icons.eot (100%) rename static/{fonts => font}/icons.svg (100%) rename static/{fonts => font}/icons.ttf (100%) rename static/{fonts => font}/icons.woff (100%) diff --git a/README.md b/README.md index cfcc710..9c07938 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,48 @@ -Pelican attila theme -============ +# Pelican Attila Theme -Pelican version of ghost theme https://github.com/zutrinken/attila +A content focused responsive theme for [Pelican](https://github.com/getpelican/pelican). + +It is ported from ghost theme [attila](https://github.com/zutrinken/attila) + +## Demo + +TODO : Need to update the pelican demo url + +* [Blog](http://arulraj.net/) +* [Post](http://arulraj.net/2015/05/prompter4j-released-1-0.html) +* [Tag Archive](http://arulraj.net/tag/programming/) +* [Author Archive](http://arulraj.net/author/arul.html) +* [Category Archive](http://arulraj.net/category/android/) +* [All archive](http://arulraj.net/archives.html) +* [Page](http://arulraj.net/pages/about) + +## Features + +* Responsive layout +* Navigation support +* Paralax cover images for posts, author archives and blog +* Author informations for posts and author archives +* Featured posts +* Reading progress for posts +* Automatic code syntax highlight +* Disqus support +* Sharing buttons + +## Setup + +TODO + +* List out supported pelicen configuration parameters +* demo repo used with this theme +* + +## Development + +TODO + +## Copyright & License + +Copyright (c) 2015-2016 Peter Amende - Released under The MIT License. +Copyright (c) 2016 Arulraj V - Released under The MIT License. + +Some background images used from https://github.com/gilsondev/pelican-clean-blog diff --git a/static/fonts/icons.eot b/static/font/icons.eot similarity index 100% rename from static/fonts/icons.eot rename to static/font/icons.eot diff --git a/static/fonts/icons.svg b/static/font/icons.svg similarity index 100% rename from static/fonts/icons.svg rename to static/font/icons.svg diff --git a/static/fonts/icons.ttf b/static/font/icons.ttf similarity index 100% rename from static/fonts/icons.ttf rename to static/font/icons.ttf diff --git a/static/fonts/icons.woff b/static/font/icons.woff similarity index 100% rename from static/fonts/icons.woff rename to static/font/icons.woff diff --git a/templates/article.html b/templates/article.html index 79193f1..2f03648 100644 --- a/templates/article.html +++ b/templates/article.html @@ -87,6 +87,11 @@ {% endblock %} {% block header %} + +
+ +
+
@@ -165,15 +170,31 @@
- + - + {% if DISQUS_SITENAME and SITEURL and article.status != "draft" %} + +
- Show Comments -
+ {% if article.disqus_identifier %} + Show Comments + {% else %} + Show Comments + {% endif %} +
+ {% endif %} diff --git a/templates/authors.html b/templates/authors.html index 562387d..5a55e5f 100644 --- a/templates/authors.html +++ b/templates/authors.html @@ -49,3 +49,5 @@ {% endif %} {% endfor %} {% endblock content %} + +