move font folder, progressbar and disqus show comment button
This commit is contained in:
parent
f5003d5682
commit
21de12c0fc
7 changed files with 74 additions and 7 deletions
50
README.md
50
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
|
||||||
|
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
@ -87,6 +87,11 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
|
<!-- Progressbar -->
|
||||||
|
<div class="progress-container">
|
||||||
|
<span class="progress-bar"></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Page Header -->
|
<!-- Page Header -->
|
||||||
<!-- Set your background image for this header on the line below. -->
|
<!-- Set your background image for this header on the line below. -->
|
||||||
<header id="post-header" class="has-cover">
|
<header id="post-header" class="has-cover">
|
||||||
|
@ -165,15 +170,31 @@
|
||||||
|
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
|
||||||
<!-- TODO : Author Info -->
|
<!-- TODO : Author bio -->
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- TODO : comments not showing -->
|
{% if DISQUS_SITENAME and SITEURL and article.status != "draft" %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus = '{{ DISQUS_SITENAME }}';
|
||||||
|
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
||||||
|
{% if article.disqus_identifier %}
|
||||||
|
var disqus_identifier = '{{ article.disqus_identifier }}';
|
||||||
|
{% else %}
|
||||||
|
var disqus_identifier = '/{{ article.url }}';
|
||||||
|
{% endif %}
|
||||||
|
var disqus_url = '{{ SITEURL }}/{{ article.url }}';
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
<section class="post-comments">
|
<section class="post-comments">
|
||||||
<a id="show-disqus" class="post-comments-activate">Show Comments</a>
|
{% if article.disqus_identifier %}
|
||||||
|
<a id="show-disqus" class="post-comments-activate" data-disqus-identifier="{{ article.disqus_identifier }}" >Show Comments</a>
|
||||||
|
{% else %}
|
||||||
|
<a id="show-disqus" class="post-comments-activate" data-disqus-identifier="/{{ article.url }}" >Show Comments</a>
|
||||||
|
{% endif %}
|
||||||
<div id="disqus_thread"></div>
|
<div id="disqus_thread"></div>
|
||||||
</section>
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- TODO : Previous and Next post -->
|
<!-- TODO : Previous and Next post -->
|
||||||
|
|
||||||
|
|
|
@ -49,3 +49,5 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
||||||
|
<!-- TODO : Author bio -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue