diff options
author | Rafael Laboissière <rafael@laboissiere.net> | 2022-12-11 09:59:43 +0100 |
---|---|---|
committer | Rafael Laboissière <rafael@laboissiere.net> | 2022-12-11 09:59:43 +0100 |
commit | 4a77a5ba81a93573ee1ba77346131237f2ff0d99 (patch) | |
tree | 43ec52b89a2bb7a9c519606468256cafaf57870d | |
parent | f08e56433fb2c92a9172787adcb33edee347bc7b (diff) |
-rw-r--r-- | templates/article_infos.html | 13 | ||||
-rw-r--r-- | templates/base.html | 17 | ||||
-rw-r--r-- | templates/index.html | 4 |
3 files changed, 26 insertions, 8 deletions
diff --git a/templates/article_infos.html b/templates/article_infos.html index 172ad85..569c83c 100644 --- a/templates/article_infos.html +++ b/templates/article_infos.html @@ -1,22 +1,27 @@ <footer class="post-info"> + {% if article.author_avatar %} + <div align="center"> + <img src="{{ article.author_avatar }}"> + </div> + {% endif %} <abbr class="published" title="{{ article.date.isoformat() }}"> - Published: {{ article.locale_date }} + Publicado em {{ article.locale_date }} </abbr> {% if article.modified %} <br /> <abbr class="modified" title="{{ article.modified.isoformat() }}"> - Updated: {{ article.locale_modified }} + Modificado em {{ article.locale_modified }} </abbr> {% endif %} {% if article.authors %} <address class="vcard author"> - By {% for author in article.authors %} + Por {% for author in article.authors %} <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> {% endfor %} </address> {% endif %} -<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>.</p> +<p>Na seção <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p> {% include 'taglist.html' %} {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} diff --git a/templates/base.html b/templates/base.html index 2b30289..d89c164 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,6 +13,11 @@ {% if FEED_ALL_RSS %} <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> {% endif %} + <link rel="shortcut icon" href="{{ SITEURL }}/images/favicon.ico" type="image/ico" /> + + <!--[if IE]> + <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> {% block extra_head %}{% endblock extra_head %} {% endblock head %} </head> @@ -71,10 +76,18 @@ <footer id="contentinfo" class="body"> <address id="about" class="vcard body"> - Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>. + + Conteúdo distibuído sob as condições da licença + <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> +Creative Commons Attribution-ShareAlike 4.0</a>. <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> + <img alt="Creative Commons License" style="border-width:0" + src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"/></a><br/> + + Motorizado pelo <a href="http://getpelican.com/">Pelican</a>, que se aproveita bem do <a href="http://python.org">Python</a>. + </address><!-- /#about --> - <p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p> + <p>Design visual por <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a></p> </footer><!-- /#contentinfo --> {% include 'analytics.html' %} diff --git a/templates/index.html b/templates/index.html index 14e9c14..964a245 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,7 +14,7 @@ </aside><!-- /#featured --> {% if loop.length > 1 %} <section id="content" class="body"> - <h1>Other articles</h1> + <h1>Outros artigos</h1> <hr /> <ol id="posts-list" class="hfeed"> {% endif %} @@ -33,7 +33,7 @@ <div class="entry-content"> {% include 'article_infos.html' %} {{ article.summary }} - <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a> + <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">leia mais</a> {% include 'comments.html' %} </div><!-- /.entry-content --> </article></li> |