Improvments.
- Better messages - X min read - pt_BR translation - Better style for read more
This commit is contained in:
parent
df41de5f6a
commit
549a882acb
14 changed files with 196 additions and 100 deletions
5
templates/partial/copyright.html
Normal file
5
templates/partial/copyright.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<p>© {{ AUTHOR }} {{ COPYRIGHT_YEAR }}</p>
|
||||
{% include "partial/flex.html" %}
|
||||
{% if STATUSCAKE %}
|
||||
{% include "partial/statuscake.html" %}
|
||||
{% endif %}
|
|
@ -9,10 +9,6 @@
|
|||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
{% autoescape false %}
|
||||
{{ _('Please enable JavaScript to view the %(link)scomments powered by Disqus%(endlink)s',
|
||||
link='<a href="https://disqus.com/?ref_noscript" rel="nofollow">',
|
||||
endlink='</a>') }}
|
||||
{% endautoescape %}
|
||||
{{ _('Please enable JavaScript to view comments.') }}
|
||||
</noscript>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{% if DISQUS_SITENAME %}
|
||||
<script type="text/javascript">
|
||||
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
||||
(function () {
|
||||
var s = document.createElement('script'); s.async = true;
|
||||
s.type = 'text/javascript';
|
||||
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
{% endif %}
|
|
@ -1,6 +1,4 @@
|
|||
{% autoescape false %}
|
||||
<p>{{ _('Build using %(pelican)s - %(flex)s theme by %(alexandrevicenzi)s',
|
||||
pelican='<a href="http://getpelican.com" target="_blank">Pelican</a>',
|
||||
flex='<a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a>',
|
||||
alexandrevicenzi='<a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a>') }}</p>
|
||||
{% endautoescape %}
|
||||
<p>{{ _('Powered by %(pelican_url)s - %(flex_url)s theme by %(alexandrevicenzi_url)s',
|
||||
pelican_url='<a href="http://getpelican.com" target="_blank">Pelican</a>',
|
||||
flex_url='<a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a>'|safe,
|
||||
alexandrevicenzi_url='<a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a>'|safe) }}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue