From 4ba207bd6d34cda06cf16ece90d309a2c058e69b Mon Sep 17 00:00:00 2001 From: dmitry Date: Fri, 9 Feb 2024 13:14:41 +0200 Subject: [PATCH] faq --- {templates => _draft}/faq_post.html | 0 {templates => _draft}/new-news.html | 0 {post => _draft/post}/index.md | 0 templates/base.html | 6 +++--- templates/news.html | 11 +++++++++++ 5 files changed, 14 insertions(+), 3 deletions(-) rename {templates => _draft}/faq_post.html (100%) rename {templates => _draft}/new-news.html (100%) rename {post => _draft/post}/index.md (100%) diff --git a/templates/faq_post.html b/_draft/faq_post.html similarity index 100% rename from templates/faq_post.html rename to _draft/faq_post.html diff --git a/templates/new-news.html b/_draft/new-news.html similarity index 100% rename from templates/new-news.html rename to _draft/new-news.html diff --git a/post/index.md b/_draft/post/index.md similarity index 100% rename from post/index.md rename to _draft/post/index.md diff --git a/templates/base.html b/templates/base.html index 5aedc69d..7c610bc9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -219,11 +219,11 @@
  • community
  • news
  • post
  • -
  • support
  • +
  • support
  • faq
  • -
  • faq post
  • +
  • faq post
  • volunteering
  • -
  • donate
  • +
  • donate
  • crowdfunding
  • about
  • download
  • diff --git a/templates/news.html b/templates/news.html index 3dbd6e7e..b5ef29e4 100644 --- a/templates/news.html +++ b/templates/news.html @@ -50,6 +50,7 @@ {% for sectionStr in enNewsSection.subsections | sort | reverse %} {% set section = get_section(path=sectionStr) %} + {% for page in section.pages %} {% set translatedPage = page.translations | filter(attribute='lang', value=lang) | first %} {% if translatedPage %} @@ -124,5 +125,15 @@ {% endfor %} {% endfor %} + + + {% endblock content %}