From a0190a6ce6cdba78bb67b23c0233de0f32bd39f3 Mon Sep 17 00:00:00 2001 From: "Núbio C. Hott" Date: Mon, 27 Apr 2026 21:43:40 -0300 Subject: Início do repositório MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/nojs/templates/archives.html | 14 ++++++ themes/nojs/templates/article.html | 67 +++++++++++++++++++++++++++++ themes/nojs/templates/author.html | 8 ++++ themes/nojs/templates/authors.html | 12 ++++++ themes/nojs/templates/base.html | 69 ++++++++++++++++++++++++++++++ themes/nojs/templates/categories.html | 12 ++++++ themes/nojs/templates/category.html | 8 ++++ themes/nojs/templates/gosquared.html | 14 ++++++ themes/nojs/templates/home.html | 50 ++++++++++++++++++++++ themes/nojs/templates/home.html~ | 50 ++++++++++++++++++++++ themes/nojs/templates/index.html | 28 ++++++++++++ themes/nojs/templates/page.html | 29 +++++++++++++ themes/nojs/templates/pagination.html | 11 +++++ themes/nojs/templates/period_archives.html | 14 ++++++ themes/nojs/templates/tag.html | 7 +++ themes/nojs/templates/tags.html | 12 ++++++ themes/nojs/templates/translations.html | 16 +++++++ 17 files changed, 421 insertions(+) create mode 100644 themes/nojs/templates/archives.html create mode 100644 themes/nojs/templates/article.html create mode 100644 themes/nojs/templates/author.html create mode 100644 themes/nojs/templates/authors.html create mode 100644 themes/nojs/templates/base.html create mode 100644 themes/nojs/templates/categories.html create mode 100644 themes/nojs/templates/category.html create mode 100644 themes/nojs/templates/gosquared.html create mode 100644 themes/nojs/templates/home.html create mode 100644 themes/nojs/templates/home.html~ create mode 100644 themes/nojs/templates/index.html create mode 100644 themes/nojs/templates/page.html create mode 100644 themes/nojs/templates/pagination.html create mode 100644 themes/nojs/templates/period_archives.html create mode 100644 themes/nojs/templates/tag.html create mode 100644 themes/nojs/templates/tags.html create mode 100644 themes/nojs/templates/translations.html (limited to 'themes/nojs/templates') diff --git a/themes/nojs/templates/archives.html b/themes/nojs/templates/archives.html new file mode 100644 index 0000000..cd12950 --- /dev/null +++ b/themes/nojs/templates/archives.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{% endblock %} + +{% block content %} +

Archives for {{ SITENAME }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+{% endfor %} +
+{% endblock %} diff --git a/themes/nojs/templates/article.html b/themes/nojs/templates/article.html new file mode 100644 index 0000000..5a1c093 --- /dev/null +++ b/themes/nojs/templates/article.html @@ -0,0 +1,67 @@ +{% extends "base.html" %} +{% block html_lang %}{{ article.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(article) %} + {{ translations.entry_hreflang(article) }} + {% endif %} + + {% if article.description %} + + {% endif %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + +{% block content %} +
+
+

+ {{ article.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
+
+ + {% if article.modified %} + + {% endif %} + {% if article.authors %} +
+ By {% for author in article.authors %} + {{ author }} + {% endfor %} +
+ {% endif %} + {% if article.category %} +
+ Category: {{ article.category }} +
+ {% endif %} + {% if article.tags %} +
+ Tags: + {% for tag in article.tags %} + {{ tag }} + {% endfor %} +
+ {% endif %} +
+
+ {{ article.content }} +
+
+{% endblock %} diff --git a/themes/nojs/templates/author.html b/themes/nojs/templates/author.html new file mode 100644 index 0000000..a190194 --- /dev/null +++ b/themes/nojs/templates/author.html @@ -0,0 +1,8 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} + +{% block content_title %} +

Articles by {{ author }}

+{% endblock %} + diff --git a/themes/nojs/templates/authors.html b/themes/nojs/templates/authors.html new file mode 100644 index 0000000..9aee5db --- /dev/null +++ b/themes/nojs/templates/authors.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Authors{% endblock %} + +{% block content %} +

Authors on {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/nojs/templates/base.html b/themes/nojs/templates/base.html new file mode 100644 index 0000000..75cb3da --- /dev/null +++ b/themes/nojs/templates/base.html @@ -0,0 +1,69 @@ + + + + {% block head %} + {% block title %}{{ SITENAME }}{% endblock title %} + + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if CATEGORY_FEED_ATOM and category %} + + {% endif %} + {% if CATEGORY_FEED_RSS and category %} + + {% endif %} + {% if TAG_FEED_ATOM and tag %} + + {% endif %} + {% if TAG_FEED_RSS and tag %} + + {% endif %} + {% endblock head %} + + + + + + {% block content %} + {% endblock %} + + + diff --git a/themes/nojs/templates/categories.html b/themes/nojs/templates/categories.html new file mode 100644 index 0000000..7999de4 --- /dev/null +++ b/themes/nojs/templates/categories.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Categories{% endblock %} + +{% block content %} +

Categories on {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/nojs/templates/category.html b/themes/nojs/templates/category.html new file mode 100644 index 0000000..a9a105d --- /dev/null +++ b/themes/nojs/templates/category.html @@ -0,0 +1,8 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %} + +{% block content_title %} +

{{ category }}

+{% endblock %} + diff --git a/themes/nojs/templates/gosquared.html b/themes/nojs/templates/gosquared.html new file mode 100644 index 0000000..49ccbbe --- /dev/null +++ b/themes/nojs/templates/gosquared.html @@ -0,0 +1,14 @@ +{% if GOSQUARED_SITENAME %} + +{% endif %} 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 %} +
+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} + +
+ +
+
+

Blog ^

+
+
+ {% for article in articles[:3] %} +
+

{{ article.title }}

+
+ +
By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
+
+

{{ article.summary }}

+
+ {% endfor %} +
+
+ +
+
+ +{% endblock %} + diff --git a/themes/nojs/templates/home.html~ b/themes/nojs/templates/home.html~ new file mode 100644 index 0000000..bc13ba1 --- /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 %} +
+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} + +
+ +
+
+

Blog

+
+
    + {% for article in articles[:4] %} +
  1. +

    {{ article.title }}

    +
    + +
    By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
    +
    +

    {{ article.summary }}

    +
  2. + {% endfor %} +
+
+ +
+
+ +{% endblock %} + diff --git a/themes/nojs/templates/index.html b/themes/nojs/templates/index.html new file mode 100644 index 0000000..d678ba2 --- /dev/null +++ b/themes/nojs/templates/index.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} +{% block content %} +
+{% block content_title %} +

Artigos

+{% endblock %} + +
    +{% for article in articles_page.object_list %} +
  1. +

    {{ article.title }}

    +
    + +
    By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
    +
    +
    {{ article.summary }}
    +
  2. +{% endfor %} +
+{% if articles_page.has_other_pages() %} + {% include 'pagination.html' %} +{% endif %} +
+{% endblock content %} diff --git a/themes/nojs/templates/page.html b/themes/nojs/templates/page.html new file mode 100644 index 0000000..4570d47 --- /dev/null +++ b/themes/nojs/templates/page.html @@ -0,0 +1,29 @@ +{% 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 %} +
+

{{ page.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} + + {% if page.modified %} +

+ Last updated: {{ page.locale_modified }} +

+ {% endif %} +
+{% endblock %} diff --git a/themes/nojs/templates/pagination.html b/themes/nojs/templates/pagination.html new file mode 100644 index 0000000..4219a5c --- /dev/null +++ b/themes/nojs/templates/pagination.html @@ -0,0 +1,11 @@ +{% if DEFAULT_PAGINATION %} +

+ {% if articles_page.has_previous() %} + « + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + » + {% endif %} +

+{% endif %} diff --git a/themes/nojs/templates/period_archives.html b/themes/nojs/templates/period_archives.html new file mode 100644 index 0000000..e1ddf62 --- /dev/null +++ b/themes/nojs/templates/period_archives.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - {{ period | reverse | join(' ') }} archives{% endblock %} + +{% block content %} +

Archives for {{ period | reverse | join(' ') }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+{% endfor %} +
+{% endblock %} diff --git a/themes/nojs/templates/tag.html b/themes/nojs/templates/tag.html new file mode 100644 index 0000000..9c95803 --- /dev/null +++ b/themes/nojs/templates/tag.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - {{ tag }} tag{% endblock %} + +{% block content_title %} +

Articles tagged with {{ tag }}

+{% endblock %} diff --git a/themes/nojs/templates/tags.html b/themes/nojs/templates/tags.html new file mode 100644 index 0000000..b90b0ac --- /dev/null +++ b/themes/nojs/templates/tags.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Tags{% endblock %} + +{% block content %} +

Tags for {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/nojs/templates/translations.html b/themes/nojs/templates/translations.html new file mode 100644 index 0000000..f0e2478 --- /dev/null +++ b/themes/nojs/templates/translations.html @@ -0,0 +1,16 @@ +{% macro translations_for(article) %} +{% if article.translations %} +Translations: +{% for translation in article.translations %} +{{ translation.lang }} +{% endfor %} +{% endif %} +{% endmacro %} + +{% macro entry_hreflang(entry) %} +{% if entry.translations %} + {% for translation in entry.translations %} + + {% endfor %} +{% endif %} +{% endmacro %} -- cgit v1.2.3