summaryrefslogtreecommitdiff
path: root/themes/nojs/templates/home.html
diff options
context:
space:
mode:
authorNúbio C. Hott <bio@brigadadigital.tec.br>2026-04-27 21:43:40 -0300
committerNúbio C. Hott <bio@brigadadigital.tec.br>2026-04-27 21:43:40 -0300
commita0190a6ce6cdba78bb67b23c0233de0f32bd39f3 (patch)
tree4384af75256d19430be8178146beb5524ec1baa6 /themes/nojs/templates/home.html
downloadwebsite-a0190a6ce6cdba78bb67b23c0233de0f32bd39f3.tar.gz
website-a0190a6ce6cdba78bb67b23c0233de0f32bd39f3.tar.bz2
website-a0190a6ce6cdba78bb67b23c0233de0f32bd39f3.zip
Início do repositório
Diffstat (limited to 'themes/nojs/templates/home.html')
-rw-r--r--themes/nojs/templates/home.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/themes/nojs/templates/home.html b/themes/nojs/templates/home.html
new file mode 100644
index 0000000..74aeaa5
--- /dev/null
+++ b/themes/nojs/templates/home.html
@@ -0,0 +1,50 @@
+{% extends "base.html" %}
+{% block html_lang %}{{ page.lang }}{% endblock %}
+
+{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%}
+
+{% block head %}
+ {{ super() }}
+
+ {% import 'translations.html' as translations with context %}
+ {% if translations.entry_hreflang(page) %}
+ {{ translations.entry_hreflang(page) }}
+ {% endif %}
+{% endblock %}
+
+{% block content %}
+<section id="home" class="body">
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(page) }}
+
+ {{ page.content }}
+
+</section>
+
+<section id="home" class="body blog" style="border-top: 2px solid #CC0000; background: #CC0000;">
+ <div>
+ <h3>Blog <a href="#banner" title="Topo da Página">^</a></h3>
+ </div>
+ <div>
+ {% for article in articles[:3] %}
+ <article>
+ <header> <h4><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h4> </header>
+ <footer>
+ <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
+ <address class="vcard author">By
+ {% for author in article.authors %}
+ <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
+ {% endfor %}
+ </address>
+ </footer><!-- /.post-info -->
+ <p> {{ article.summary }} </p><!-- /.entry-content -->
+ </article>
+ {% endfor %}
+ </div><!-- /#posts-list -->
+ <div style="text-align: center; padding-bottom: 15px;">
+ <a href="/category/blog.html"><button class="button"><b>Leia mais...</b></button></a>
+ </div>
+</section>
+
+{% endblock %}
+