diff --git a/README.md b/README.md index 5613dc7..ac6d64e 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,14 @@ A responsive, bilingual, RSS-ready and system-themed blog with zero lines of JavaScript powered by the [Zola](https://getzola.org) static site engine. ## Next -- [ ] Add source code link on homepage -- [ ] Columnar widescreen articles +- [ ] Add footers to more pages - [ ] Add tags -- [ ] Check if localized page exists before opening it with the language selector -- [ ] Add links RSS feed to header metadata ## Done +- [x] Add links RSS feed to header metadata +- [x] Columnar widescreen articles +- [x] Check if localized page exists before opening it with the language selector +- [x] Add source code link on homepage - [x] Improve mobile responsiveness - [x] Light mode - [x] Set page titles dynamically diff --git a/templates/base.html b/templates/base.html index 6065171..abc246a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -43,9 +43,19 @@ {% block rss -%} - - + {%- if lang == "pt" %} + {%- set locale_all_content = "Todo o conteúdo" %} + {%- set locale_language_name = "Português" %} + {% else %} + {%- set locale_all_content = "All content" %} + {%- set locale_language_name = "English" %} + {%- endif %} + + + + {%- endblock %} + {%- block extra_head %}{% endblock %} diff --git a/templates/link-page.html b/templates/link-page.html index cc9c569..7d4d672 100644 --- a/templates/link-page.html +++ b/templates/link-page.html @@ -1,5 +1,10 @@ {% extends "base.html" %} +{%- block extra_head %} + + +{%- endblock %} + {%- block content %}

{{ page.title }}

diff --git a/templates/links.html b/templates/links.html index 49b14cc..66b35d6 100644 --- a/templates/links.html +++ b/templates/links.html @@ -1,5 +1,10 @@ {% extends "base.html" %} +{%- block extra_head %} + + +{%- endblock %} + {%- block content %} {%- set english_section = get_section(path="links/_index.md", lang="en") %}

{{ section.title }}