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
|
@ -162,7 +162,7 @@ main {
|
||||||
|
|
||||||
p {
|
p {
|
||||||
color: @med-grey;
|
color: @med-grey;
|
||||||
font-size: 0.82em;
|
font-size: 0.86em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -252,10 +252,6 @@ main {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.related-posts {
|
|
||||||
border-top: @light-grey 1px solid;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-cloud {
|
.tag-cloud {
|
||||||
|
@ -278,8 +274,8 @@ main {
|
||||||
|
|
||||||
a.btn {
|
a.btn {
|
||||||
background-color: @orange;
|
background-color: @orange;
|
||||||
padding: .4em .6em;
|
padding: .6em .6em;
|
||||||
font-size: .9em;
|
font-size: .8em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: @white;
|
color: @white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -306,7 +302,27 @@ a.btn:hover {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.list, ul.social {
|
div.related-posts {
|
||||||
|
margin: 15px 0 15px 0;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
border-top: @light-grey 1px solid;
|
||||||
|
border-bottom: @light-grey 1px solid;
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
margin: 20px 0 25px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
font-size: 1.1em;
|
||||||
|
padding-left: 12px;
|
||||||
|
|
||||||
|
li {
|
||||||
|
padding: 4px 0 4px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.list, ul.social, ul.related-posts {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
2
static/stylesheet/style.min.css
vendored
2
static/stylesheet/style.min.css
vendored
|
@ -1 +1 @@
|
||||||
body,html{width:100%;height:100%}h1,h2,h3,h4,h5,h6{font-weight:300;line-height:1.1}h1{font-size:2.4em}h2{font-size:2em}h3{font-size:1.6em}h4{font-size:1.36em}h5{font-size:1.2em}h6{font-size:1.1em}body{margin:0;padding:0;background-color:#fff;color:#242121;font-family:Source Sans Pro,Verdana,sans-serif;font-size:1.02em;line-height:1.2em}a{color:#d9411e;text-decoration:none}a:hover{color:#ff5a09}hr{color:#eee;background-color:#eee;height:1px;border:none;margin-top:40px;margin-bottom:40px}img{max-width:100%}aside{background-color:#333;text-align:center}aside,aside a{color:#fff}aside a:hover{color:#eee}aside div{padding:20px;margin:0}aside div img{border-radius:50%;max-width:140px}aside div h1{margin:15px 0 5px}aside div p{margin:0 0 15px;font-size:.92em}aside nav ul li{display:inline;line-height:1.6em;font-size:1.28em;text-transform:lowercase}main nav{text-align:center;text-transform:uppercase;font-size:.72em;padding:14px 0;border-bottom:1px solid #eee}main nav a{padding:0 4px;border-right:1px solid #eee}main nav :first-child{border-left:1px solid #eee}main .pagination{margin:4% 8% 2%;height:20px}main .social-share p{font-size:.8em}main article{margin:0 8% 2%}main article header h1,main article header h2{margin-bottom:0}main article header p{color:#999;font-size:.82em}main article code,main article kbd,main article pre,main article samp{font-family:Source Code Pro,Consolas,monospace}main article blockquote,main article pre{background-color:hsla(0,0%,50%,.05);border-top-right-radius:5px;border-bottom-right-radius:5px;border-left:8px solid hsla(0,0%,50%,.075);border-left-width:10px}main article blockquote{padding:10px 20px;font-weight:300;font-size:1.1em}main article pre{padding:4px;font-size:.9em;overflow-x:auto}main article samp{white-space:pre;display:block;overflow-x:auto}main article kbd{padding:.1em .6em;border:1px solid rgba(63,63,63,.25);box-shadow:0 1px 0 rgba(63,63,63,.25);background-color:#fff;color:#333;border-radius:3px;display:inline-block;margin:0 .1em;white-space:nowrap;font-size:.78em}main article code{font-size:.8em;white-space:nowrap;color:#c25;padding:1px 3px;background-color:#f7f7f9;border:1px solid #e1e1e8;border-radius:3px}main article .comment-count{font-size:.8em}main article table{border-collapse:collapse;border-spacing:0}main article table thead:first-child tr:first-child th{border-top:0}main article table td,main article table th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #ddd}main footer{padding-top:4px;border-top:1px solid #eee}main footer p{margin:2px;text-align:center;padding:0 40px;color:#999;font-size:11px}main .related-posts{border-top:1px solid #eee}.tag-cloud a{background-color:#d9411e;padding:.2em .6em;font-size:.74em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.tag-cloud a:hover{background-color:#ff5a09}a.btn{background-color:#d9411e;padding:.4em .6em;font-size:.9em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.btn:hover{background-color:#ff5a09}.center,.text-center{text-align:center}.img-center{margin-left:auto;margin-right:auto;display:block}.float-right{float:right}ul.list,ul.social{list-style-type:none;margin:0;padding:0}ul.list{padding:1em 0}ul.list li{padding:4px}ul.social{font-size:1.6em;padding-top:20px}ul.social li{display:inline}ul.social a:hover{z-index:1;-webkit-transform:translateY(-5px);transform:translateY(-5px)}ul.social a{display:inline-block;width:36px;height:36px;border-radius:100%;text-align:center;font-size:.8em;line-height:36px}ul.social a.sc-facebook{background-color:#3e5b98}ul.social a.sc-google{background-color:#d93e2d}ul.social a.sc-pinterest{background-color:#c92619}ul.social a.sc-linkedin{background-color:#3371b7}ul.social a.sc-rss{background-color:#f26109}ul.social a.sc-stack-overflow{background-color:#f90}ul.social a.sc-twitter{background-color:#4da7de}ul.social a.sc-youtube{background-color:#e02a20}ul.social a.sc-github,ul.social a.sc-github-alt{background-color:#111010}ul.social a.sc-envelope-o{background-color:#578ad6}ul.social a.sc-reddit{background-color:#ff4500}@media screen and (min-width:768px){aside{width:25%;height:100%;position:fixed;top:0;left:0;overflow-y:auto}aside div{padding:36px 18px}aside div nav ul li{padding:0!important;display:block}aside div ul.social{padding-top:32px}main{width:75%;position:absolute;top:0;left:25%;overflow-x:hidden;overflow-y:hidden}main article ul.list li{padding:2px}}
|
body,html{width:100%;height:100%}h1,h2,h3,h4,h5,h6{font-weight:300;line-height:1.1}h1{font-size:2.4em}h2{font-size:2em}h3{font-size:1.6em}h4{font-size:1.36em}h5{font-size:1.2em}h6{font-size:1.1em}body{margin:0;padding:0;background-color:#fff;color:#242121;font-family:Source Sans Pro,Verdana,sans-serif;font-size:1.02em;line-height:1.2em}a{color:#d9411e;text-decoration:none}a:hover{color:#ff5a09}hr{color:#eee;background-color:#eee;height:1px;border:none;margin-top:40px;margin-bottom:40px}img{max-width:100%}aside{background-color:#333;text-align:center}aside,aside a{color:#fff}aside a:hover{color:#eee}aside div{padding:20px;margin:0}aside div img{border-radius:50%;max-width:140px}aside div h1{margin:15px 0 5px}aside div p{margin:0 0 15px;font-size:.92em}aside nav ul li{display:inline;line-height:1.6em;font-size:1.28em;text-transform:lowercase}main nav{text-align:center;text-transform:uppercase;font-size:.72em;padding:14px 0;border-bottom:1px solid #eee}main nav a{padding:0 4px;border-right:1px solid #eee}main nav :first-child{border-left:1px solid #eee}main .pagination{margin:4% 8% 2%;height:20px}main .social-share p{font-size:.8em}main article{margin:0 8% 2%}main article header h1,main article header h2{margin-bottom:0}main article header p{color:#999;font-size:.86em}main article code,main article kbd,main article pre,main article samp{font-family:Source Code Pro,Consolas,monospace}main article blockquote,main article pre{background-color:hsla(0,0%,50%,.05);border-top-right-radius:5px;border-bottom-right-radius:5px;border-left:8px solid hsla(0,0%,50%,.075);border-left-width:10px}main article blockquote{padding:10px 20px;font-weight:300;font-size:1.1em}main article pre{padding:4px;font-size:.9em;overflow-x:auto}main article samp{white-space:pre;display:block;overflow-x:auto}main article kbd{padding:.1em .6em;border:1px solid rgba(63,63,63,.25);box-shadow:0 1px 0 rgba(63,63,63,.25);background-color:#fff;color:#333;border-radius:3px;display:inline-block;margin:0 .1em;white-space:nowrap;font-size:.78em}main article code{font-size:.8em;white-space:nowrap;color:#c25;padding:1px 3px;background-color:#f7f7f9;border:1px solid #e1e1e8;border-radius:3px}main article .comment-count{font-size:.8em}main article table{border-collapse:collapse;border-spacing:0}main article table thead:first-child tr:first-child th{border-top:0}main article table td,main article table th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #ddd}main footer{padding-top:4px;border-top:1px solid #eee}main footer p{margin:2px;text-align:center;padding:0 40px;color:#999;font-size:11px}.tag-cloud a{background-color:#d9411e;padding:.2em .6em;font-size:.74em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.tag-cloud a:hover{background-color:#ff5a09}a.btn{background-color:#d9411e;padding:.6em;font-size:.8em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.btn:hover{background-color:#ff5a09}.center,.text-center{text-align:center}.img-center{margin-left:auto;margin-right:auto;display:block}.float-right{float:right}div.related-posts{margin:15px 0;padding-bottom:20px;border-top:1px solid #eee;border-bottom:1px solid #eee}div.related-posts h4{margin:20px 0 25px}div.related-posts ul{font-size:1.1em;padding-left:12px}div.related-posts ul li{padding:4px 0}ul.list,ul.related-posts,ul.social{list-style-type:none;margin:0;padding:0}ul.list{padding:1em 0}ul.list li{padding:4px}ul.social{font-size:1.6em;padding-top:20px}ul.social li{display:inline}ul.social a:hover{z-index:1;-webkit-transform:translateY(-5px);transform:translateY(-5px)}ul.social a{display:inline-block;width:36px;height:36px;border-radius:100%;text-align:center;font-size:.8em;line-height:36px}ul.social a.sc-facebook{background-color:#3e5b98}ul.social a.sc-google{background-color:#d93e2d}ul.social a.sc-pinterest{background-color:#c92619}ul.social a.sc-linkedin{background-color:#3371b7}ul.social a.sc-rss{background-color:#f26109}ul.social a.sc-stack-overflow{background-color:#f90}ul.social a.sc-twitter{background-color:#4da7de}ul.social a.sc-youtube{background-color:#e02a20}ul.social a.sc-github,ul.social a.sc-github-alt{background-color:#111010}ul.social a.sc-envelope-o{background-color:#578ad6}ul.social a.sc-reddit{background-color:#ff4500}@media screen and (min-width:768px){aside{width:25%;height:100%;position:fixed;top:0;left:0;overflow-y:auto}aside div{padding:36px 18px}aside div nav ul li{padding:0!important;display:block}aside div ul.social{padding-top:32px}main{width:75%;position:absolute;top:0;left:25%;overflow-x:hidden;overflow-y:hidden}main article ul.list li{padding:2px}}
|
|
@ -14,11 +14,13 @@
|
||||||
<header>
|
<header>
|
||||||
<h1 id="{{ article.slug }}">{{ article.title }}</h1>
|
<h1 id="{{ article.slug }}">{{ article.title }}</h1>
|
||||||
<p>
|
<p>
|
||||||
{% autoescape false %}
|
{% with category_url='<a href="%s/%s">%s</a>' % (SITEURL, article.category.url, article.category) %}
|
||||||
{{ _('Posted on %(when)s in %(category)s',
|
{{ _('Posted on %(when)s in %(category)s', when=article.locale_date, category=category_url|safe) }}
|
||||||
when=article.locale_date,
|
{% endwith %}
|
||||||
category='<a href="%s/%s">%s</a>' % (SITEURL, article.category.url, article.category)) }}
|
|
||||||
{% endautoescape %}
|
{% if 'post_stats' in PLUGINS %}
|
||||||
|
• {{ article.stats['read_mins'] }} min read
|
||||||
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
|
@ -33,6 +35,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if ADD_THIS_ID %}
|
{% if ADD_THIS_ID %}
|
||||||
<div class="center social-share">
|
<div class="center social-share">
|
||||||
<p>{{ _('Like this article? Share it with your friends!') }}</p>
|
<p>{{ _('Like this article? Share it with your friends!') }}</p>
|
||||||
|
@ -40,20 +43,18 @@
|
||||||
<div class="addthis_sharing_toolbox"></div>
|
<div class="addthis_sharing_toolbox"></div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if article.related_posts %}
|
{% if article.related_posts %}
|
||||||
<div class="related-posts">
|
<div class="related-posts">
|
||||||
<h4>{{ _('Related posts') }}:</h4>
|
<h4>{{ _('You might enjoy') }}</h4>
|
||||||
<ul>
|
<ul class="related-posts">
|
||||||
{% for related_post in article.related_posts %}
|
{% for related_post in article.related_posts %}
|
||||||
<li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li>
|
<li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include "partial/disqus.html" %}
|
{% include "partial/disqus.html" %}
|
||||||
</article>
|
</article>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block additional_js %}
|
|
||||||
{% include "partial/jsonld_article.html" %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
|
@ -68,19 +68,23 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1>
|
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1>
|
||||||
|
|
||||||
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
|
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
|
||||||
|
|
||||||
{% if pages or LINKS %}
|
{% if pages or LINKS %}
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
{% for page in pages|sort(attribute='title') %}
|
{% for page in pages|sort(attribute='title') %}
|
||||||
<li><a href="{{ SITEURL }}/{{ page.url }}#{{ page.slug }}">{{ page.title }}</a></li>
|
<li><a href="{{ SITEURL }}/{{ page.url }}#{{ page.slug }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for name, link in LINKS %}
|
{% for name, link in LINKS %}
|
||||||
<li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
|
<li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<ul class="social">
|
<ul class="social">
|
||||||
{% for name, link in SOCIAL %}
|
{% for name, link in SOCIAL %}
|
||||||
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank"><i class="fa fa-{{ name }}"></i></a></li>
|
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank"><i class="fa fa-{{ name }}"></i></a></li>
|
||||||
|
@ -91,15 +95,18 @@
|
||||||
<main>
|
<main>
|
||||||
{% if MAIN_MENU %}
|
{% if MAIN_MENU %}
|
||||||
<nav>
|
<nav>
|
||||||
<a href="{{ SITEURL }}">Home</a>
|
<a href="{{ SITEURL }}">{{ _('Home') }}</a>
|
||||||
|
|
||||||
{% for title, link in MENUITEMS %}
|
{% for title, link in MENUITEMS %}
|
||||||
<a href="{{ link }}">{{ title }}</a>
|
<a href="{{ link }}">{{ title }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if FEED_ALL_ATOM %}
|
{% if FEED_ALL_ATOM %}
|
||||||
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">Atom</a>
|
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">{{ _('Atom') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if FEED_ALL_RSS %}
|
{% if FEED_ALL_RSS %}
|
||||||
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">RSS</a>
|
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">{{ _('RSS') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -111,11 +118,7 @@
|
||||||
{% if CC_LICENSE %}
|
{% if CC_LICENSE %}
|
||||||
{% include "partial/cc_license.html" %}
|
{% include "partial/cc_license.html" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>© {{ AUTHOR }} {{ COPYRIGHT_YEAR }}</p>
|
{% include "partial/copyright.html" %}
|
||||||
{% include "partial/flex.html" %}
|
|
||||||
{% if STATUSCAKE %}
|
|
||||||
{% include "partial/statuscake.html" %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{% extends "index.html" %}
|
{% extends "index.html" %}
|
||||||
{% block title %} – {{ _('Category: %(name)s', name=category) }}{% endblock %}
|
{% block title %} – {{ _('Category %(name)s', name=category) }}{% endblock %}
|
||||||
{% set summarise = True %}
|
{% set summarise = True %}
|
||||||
|
|
|
@ -6,25 +6,19 @@
|
||||||
<header>
|
<header>
|
||||||
<h2><a href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">{{ article.title }}</a></h2>
|
<h2><a href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">{{ article.title }}</a></h2>
|
||||||
<p>
|
<p>
|
||||||
{% autoescape false %}
|
{% with category_url='<a href="%s/%s">%s</a>' % (SITEURL, article.category.url, article.category) %}
|
||||||
{{ _('Posted on %(when)s in %(category)s',
|
{{ _('Posted on %(when)s in %(category)s', when=article.locale_date, category=category_url|safe) }}
|
||||||
when=article.locale_date,
|
{% endwith %}
|
||||||
category='<a href="%s/%s">%s</a>' % (SITEURL, article.category.url, article.category)) }}
|
|
||||||
{% endautoescape %}
|
{% if 'post_stats' in PLUGINS %}
|
||||||
{% if article.tags %}
|
• {{ article.stats['read_mins'] }} min read
|
||||||
• {{ ngettext('Tag', 'Tags', article.tags|count) }}:
|
|
||||||
{% for tag in article.tags %}
|
|
||||||
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if DISQUS_SITENAME %}
|
|
||||||
• <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">{{ _('Leave a comment') }}</a>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
{% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %}
|
{% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %}
|
||||||
{{ article.summary }}
|
{{ article.summary }}
|
||||||
|
<br>
|
||||||
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">{{ _('Continue reading') }}</a>
|
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">{{ _('Continue reading') }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
|
@ -38,7 +32,3 @@
|
||||||
|
|
||||||
{% include "partial/pagination.html" %}
|
{% include "partial/pagination.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block additional_js %}
|
|
||||||
{% include "partial/disqus_count.html" %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
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>
|
</script>
|
||||||
<noscript>
|
<noscript>
|
||||||
{% autoescape false %}
|
{{ _('Please enable JavaScript to view comments.') }}
|
||||||
{{ _('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 %}
|
|
||||||
</noscript>
|
</noscript>
|
||||||
{% endif %}
|
{% 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>{{ _('Powered by %(pelican_url)s - %(flex_url)s theme by %(alexandrevicenzi_url)s',
|
||||||
<p>{{ _('Build using %(pelican)s - %(flex)s theme by %(alexandrevicenzi)s',
|
pelican_url='<a href="http://getpelican.com" target="_blank">Pelican</a>',
|
||||||
pelican='<a href="http://getpelican.com" target="_blank">Pelican</a>',
|
flex_url='<a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a>'|safe,
|
||||||
flex='<a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a>',
|
alexandrevicenzi_url='<a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a>'|safe) }}</p>
|
||||||
alexandrevicenzi='<a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a>') }}</p>
|
|
||||||
{% endautoescape %}
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{% extends "index.html" %}
|
{% extends "index.html" %}
|
||||||
{% block title %} – {{ _('Tag: %(name)s', name=tag) }}{% endblock %}
|
{% block title %} – {{ _('Tag %(name)s', name=tag) }}{% endblock %}
|
||||||
{% set summarise = True %}
|
{% set summarise = True %}
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 1.1\n"
|
"Project-Id-Version: 1.1\n"
|
||||||
"Report-Msgid-Bugs-To: marcelhuth@users.noreply.github.com\n"
|
"Report-Msgid-Bugs-To: marcelhuth@users.noreply.github.com\n"
|
||||||
"POT-Creation-Date: 2016-08-10 18:20+0200\n"
|
"POT-Creation-Date: 2016-08-10 23:14-0300\n"
|
||||||
"PO-Revision-Date: 2016-07-30 13:56+0200\n"
|
"PO-Revision-Date: 2016-07-30 13:56+0200\n"
|
||||||
"Last-Translator: Marcel Huth <marcelhuth@users.noreply.github.com>\n"
|
"Last-Translator: Marcel Huth <marcelhuth@users.noreply.github.com>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
|
@ -17,7 +17,7 @@ msgstr ""
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Generated-By: Babel 2.1.1\n"
|
"Generated-By: Babel 2.3.4\n"
|
||||||
|
|
||||||
#: templates/archives.html:2 templates/archives.html:7
|
#: templates/archives.html:2 templates/archives.html:7
|
||||||
msgid "Archives"
|
msgid "Archives"
|
||||||
|
@ -28,13 +28,13 @@ msgstr "Archive"
|
||||||
msgid "Posted on %(when)s in %(category)s"
|
msgid "Posted on %(when)s in %(category)s"
|
||||||
msgstr "Online seit %(when)s in %(category)s"
|
msgstr "Online seit %(when)s in %(category)s"
|
||||||
|
|
||||||
#: templates/article.html:38
|
#: templates/article.html:41
|
||||||
msgid "Like this article? Share it with your friends!"
|
msgid "Like this article? Share it with your friends!"
|
||||||
msgstr "Gefällt dir der Artikel? Dann teile ihn mit Freunden!"
|
msgstr "Gefällt dir der Artikel? Dann teile ihn mit Freunden!"
|
||||||
|
|
||||||
#: templates/article.html:45
|
#: templates/article.html:49
|
||||||
msgid "Related posts"
|
msgid "You might enjoy"
|
||||||
msgstr "Ähnliche Artikel"
|
msgstr ""
|
||||||
|
|
||||||
#: templates/author.html:2
|
#: templates/author.html:2
|
||||||
#, python-format
|
#, python-format
|
||||||
|
@ -45,51 +45,50 @@ msgstr "Artikel von %(name)s"
|
||||||
msgid "Authors"
|
msgid "Authors"
|
||||||
msgstr "Autoren"
|
msgstr "Autoren"
|
||||||
|
|
||||||
|
#: templates/base.html:98
|
||||||
|
msgid "Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/base.html:105
|
||||||
|
msgid "Atom"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/base.html:109
|
||||||
|
msgid "RSS"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: templates/categories.html:2 templates/categories.html:7
|
#: templates/categories.html:2 templates/categories.html:7
|
||||||
msgid "Categories"
|
msgid "Categories"
|
||||||
msgstr "Kategorien"
|
msgstr "Kategorien"
|
||||||
|
|
||||||
#: templates/category.html:2
|
#: templates/category.html:2
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Category: %(name)s"
|
msgid "Category %(name)s"
|
||||||
msgstr "Kategorie: %(name)s"
|
msgstr "Kategorie %(name)s"
|
||||||
|
|
||||||
#: templates/index.html:15
|
#: templates/index.html:22
|
||||||
msgid "Tag"
|
|
||||||
msgid_plural "Tags"
|
|
||||||
msgstr[0] "Stichwort"
|
|
||||||
msgstr[1] "Stichwörter"
|
|
||||||
|
|
||||||
#: templates/index.html:21
|
|
||||||
msgid "Leave a comment"
|
|
||||||
msgstr "Hinterlasse ein Kommentar"
|
|
||||||
|
|
||||||
#: templates/index.html:28
|
|
||||||
msgid "Continue reading"
|
msgid "Continue reading"
|
||||||
msgstr "Weiterlesen"
|
msgstr "Weiterlesen"
|
||||||
|
|
||||||
#: templates/tag.html:2
|
#: templates/tag.html:2
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Tag: %(name)s"
|
msgid "Tag %(name)s"
|
||||||
msgstr "Stichwort: %(name)s"
|
msgstr "Stichwort %(name)s"
|
||||||
|
|
||||||
#: templates/tags.html:2 templates/tags.html:7
|
#: templates/tags.html:2 templates/tags.html:7
|
||||||
msgid "Tags"
|
msgid "Tags"
|
||||||
msgstr "Stichwörter"
|
msgstr "Stichwörter"
|
||||||
|
|
||||||
#: templates/partial/disqus.html:13
|
#: templates/partial/disqus.html:12
|
||||||
|
msgid "Please enable JavaScript to view comments."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/partial/flex.html:1
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Please enable JavaScript to view the %(link)scomments powered by "
|
"Powered by %(pelican_url)s - %(flex_url)s theme by "
|
||||||
"Disqus%(endlink)s"
|
"%(alexandrevicenzi_url)s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Bitte JavaScript aktivieren um die %(link)sKommentare von "
|
|
||||||
"Disqus%(endlink)s zu lesen"
|
|
||||||
|
|
||||||
#: templates/partial/flex.html:2
|
|
||||||
#, python-format
|
|
||||||
msgid "Build using %(pelican)s - %(flex)s theme by %(alexandrevicenzi)s"
|
|
||||||
msgstr "Erstellt mit %(pelican)s - %(flex)s Design von %(alexandrevicenzi)s"
|
|
||||||
|
|
||||||
#: templates/partial/pagination.html:5
|
#: templates/partial/pagination.html:5
|
||||||
msgid "Older Posts"
|
msgid "Older Posts"
|
||||||
|
|
99
translations/pt_BR/LC_MESSAGES/messages.po
Normal file
99
translations/pt_BR/LC_MESSAGES/messages.po
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
# Portuguese (Brazil) translations for PROJECT.
|
||||||
|
# Copyright (C) 2016 ORGANIZATION
|
||||||
|
# This file is distributed under the same license as the PROJECT project.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
|
"POT-Creation-Date: 2016-08-10 23:14-0300\n"
|
||||||
|
"PO-Revision-Date: 2016-08-09 21:46-0300\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language: pt_BR\n"
|
||||||
|
"Language-Team: pt_BR <LL@li.org>\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: Babel 2.3.4\n"
|
||||||
|
|
||||||
|
#: templates/archives.html:2 templates/archives.html:7
|
||||||
|
msgid "Archives"
|
||||||
|
msgstr "Arquivos"
|
||||||
|
|
||||||
|
#: templates/article.html:18 templates/index.html:10
|
||||||
|
#, python-format
|
||||||
|
msgid "Posted on %(when)s in %(category)s"
|
||||||
|
msgstr "Publicado em %(when)s na categoria %(category)s"
|
||||||
|
|
||||||
|
#: templates/article.html:41
|
||||||
|
msgid "Like this article? Share it with your friends!"
|
||||||
|
msgstr "Gostou do artigo? Compartilhe com seus amigos!"
|
||||||
|
|
||||||
|
#: templates/article.html:49
|
||||||
|
msgid "You might enjoy"
|
||||||
|
msgstr "Artigos relacionados"
|
||||||
|
|
||||||
|
#: templates/author.html:2
|
||||||
|
#, python-format
|
||||||
|
msgid "Posts by %(name)s"
|
||||||
|
msgstr "Publicações de %(name)s"
|
||||||
|
|
||||||
|
#: templates/authors.html:2 templates/authors.html:7
|
||||||
|
msgid "Authors"
|
||||||
|
msgstr "Autores"
|
||||||
|
|
||||||
|
#: templates/base.html:98
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Home"
|
||||||
|
|
||||||
|
#: templates/base.html:105
|
||||||
|
msgid "Atom"
|
||||||
|
msgstr "Atom"
|
||||||
|
|
||||||
|
#: templates/base.html:109
|
||||||
|
msgid "RSS"
|
||||||
|
msgstr "RSS"
|
||||||
|
|
||||||
|
#: templates/categories.html:2 templates/categories.html:7
|
||||||
|
msgid "Categories"
|
||||||
|
msgstr "Categorias"
|
||||||
|
|
||||||
|
#: templates/category.html:2
|
||||||
|
#, python-format
|
||||||
|
msgid "Category %(name)s"
|
||||||
|
msgstr "Categoria %(name)s"
|
||||||
|
|
||||||
|
#: templates/index.html:22
|
||||||
|
msgid "Continue reading"
|
||||||
|
msgstr "Continue lendo"
|
||||||
|
|
||||||
|
#: templates/tag.html:2
|
||||||
|
#, python-format
|
||||||
|
msgid "Tag %(name)s"
|
||||||
|
msgstr "Tag %(name)s"
|
||||||
|
|
||||||
|
#: templates/tags.html:2 templates/tags.html:7
|
||||||
|
msgid "Tags"
|
||||||
|
msgstr "Tags"
|
||||||
|
|
||||||
|
#: templates/partial/disqus.html:12
|
||||||
|
msgid "Please enable JavaScript to view comments."
|
||||||
|
msgstr "Habilite JavaScript para ver os comentários."
|
||||||
|
|
||||||
|
#: templates/partial/flex.html:1
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Powered by %(pelican_url)s - %(flex_url)s theme by "
|
||||||
|
"%(alexandrevicenzi_url)s"
|
||||||
|
msgstr "Powered by %(pelican_url)s - O tema %(flex_url)s foi criado por "
|
||||||
|
"%(alexandrevicenzi_url)s"
|
||||||
|
|
||||||
|
#: templates/partial/pagination.html:5
|
||||||
|
msgid "Older Posts"
|
||||||
|
msgstr "Anteriores"
|
||||||
|
|
||||||
|
#: templates/partial/pagination.html:10
|
||||||
|
msgid "Newer Posts"
|
||||||
|
msgstr "Próximos"
|
Loading…
Reference in a new issue