Commit 76534d39 authored by Nícolas F. R. A. Prado's avatar Nícolas F. R. A. Prado
Browse files

Improve navbar appearance

Add icon to each entry.
Make all entries title case.
Extract icon property of pages to display as icon.
parent 7b83ab92
Pipeline #226268904 passed with stages
in 26 seconds
Title: Sobre
Sobre
#####
:icon: info-circle
Meu nome é Nícolas F. R. A. Prado, e eu sou graduando em engenharia elétrica
no Brasil.
......@@ -10,12 +13,15 @@ Além disso, eu me identifico com as culturas hacker e de software livre.
Atualmente estou focando em sistemas embarcados e Linux.
## Links
Links
=====
Gitlab: [https://gitlab.com/nfraprado/](https://gitlab.com/nfraprado/)
Gitlab: https://gitlab.com/nfraprado/
Github: [https://github.com/nfraprado/](https://github.com/nfraprado/)
Github: https://github.com/nfraprado/
## Contato
Contato
=======
Fique à vontade para entrar em contato comigo através de [nfraprado@pm.me](mailto:nfraprado@pm.me).
Fique à vontade para entrar em contato comigo através de `nfraprado@pm.me
<mailto:nfraprado@pm.me>`_.
Title: About
About
#####
:icon: info-circle
My name is Nícolas F. R. A. Prado, and I'm an electrical engineering
undergraduate from Brazil.
......@@ -10,12 +13,14 @@ I also identify with the free software and hacker cultures.
Currently focusing on embedded systems and Linux.
## Links
Links
=====
Gitlab: [https://gitlab.com/nfraprado/](https://gitlab.com/nfraprado/)
Gitlab: https://gitlab.com/nfraprado/
Github: [https://github.com/nfraprado/](https://github.com/nfraprado/)
Github: https://github.com/nfraprado/
## Contact
Contact
=======
Feel free to reach me at [nfraprado@pm.me](mailto:nfraprado@pm.me).
Feel free to reach me at `nfraprado@pm.me <mailto:nfraprado@pm.me>`_.
......@@ -62,16 +62,16 @@
<div class="collapse navbar-collapse navbar-right">
<ul class="nav navbar-nav">
{% for p in pages %}
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}"><div class="fa fa-{{p.icon}}"></div> {{ p.title }}</a></li>
{% endfor %}
{% for p in CATEGORIES %}
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
<li{% if author or tag %} class="active"{% endif %}{% block archclass %}{{ ARCHCLASS }}{% endblock archclass %}><a href="{{ SITEURL }}/tags.html">{% trans %}tags{% endtrans %}</a></li>
<li><a href="{{ SITEURL }}/feeds/all.atom.xml">{% trans %}follow{% endtrans %}</a></li>
<li{% if author or tag %} class="active"{% endif %}{% block archclass %}{{ ARCHCLASS }}{% endblock archclass %}><a href="{{ SITEURL }}/tags.html"><div class="fa fa-tags"></div> {% trans %}Tags{% endtrans %}</a></li>
<li><a href="{{ SITEURL }}/feeds/all.atom.xml"><div class="fa fa-rss"></div> {% trans %}Follow{% endtrans %}</a></li>
{% if extra_siteurls %}
{% for lang, url in extra_siteurls.items() %}
<li><a href="{{ url }}/">{{ lang }}</a></li>
<li><a href="{{ url }}/"><div class="fa fa-globe"></div> {{ lang }}</a></li>
{% endfor %}
{% endif %}
{% for title, link in MENUITEMS %}
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-11-15 10:23-0300\n"
"POT-Creation-Date: 2020-12-07 10:38-0300\n"
"PO-Revision-Date: 2020-05-25 22:20-0300\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: br\n"
......@@ -20,20 +20,16 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.8.1\n"
"Generated-By: Babel 2.9.0\n"
#: templates/base.html:40 templates/base.html:43 templates/tag.html:7
#: templates/tags.html:2 templates/tags.html:6
#: templates/base.html:40 templates/base.html:43 templates/base.html:70
#: templates/tag.html:7 templates/tags.html:2 templates/tags.html:6
msgid "Tags"
msgstr "Rótulos"
#: templates/base.html:70
msgid "tags"
msgstr "rótulos"
#: templates/base.html:71
msgid "follow"
msgstr "acompanhar"
msgid "Follow"
msgstr "Acompanhar"
#: templates/base.html:92
msgid "Content"
......@@ -71,4 +67,3 @@ msgstr "Próxima"
#: templates/translations.html:3
msgid "Translations"
msgstr "Traduções"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment