{% endblock %}
{% block content %}
- {% include "v3/includes/_hero_library.html" with title="A community built to help you go further" description="For newcomers and experienced engineers alike, Boost is a place to build real libraries, learn from experts and make contributions that matter." hero_image_url="/static/img/v3/community-page/community-foreground.png" %}
+ {% large_static "img/v3/community-page/community-foreground.png" as hero_image_url %}
+ {% include "v3/includes/_hero_library.html" with title="A community built to help you go further" description="For newcomers and experienced engineers alike, Boost is a place to build real libraries, learn from experts and make contributions that matter." hero_image_url=hero_image_url %}
{% include "v3/includes/_help_card.html" with heading="What do you need help with?" items=help_options extra_classes="community-masonry__help" %}
diff --git a/templates/v3/includes/_badge_v3_render.html b/templates/v3/includes/_badge_v3_render.html
index e78a1cc2f..995b4934f 100644
--- a/templates/v3/includes/_badge_v3_render.html
+++ b/templates/v3/includes/_badge_v3_render.html
@@ -1,4 +1,4 @@
-{% load static %}
+{% load static custom_static %}
{% load number_filters %}
{% comment %}
Internal partial for _badge_v3.html. Receives `token`, `label`, `count`,
@@ -8,7 +8,7 @@
{% if token == "boost-day" %}
{% with tip=label|default:"Boost Day" %}
-
+ {{ tip }}
{% endwith %}
@@ -25,7 +25,7 @@
{% elif token == "badge-tier-1" %}
{% with tip=label|default:"Tier 1 badge" %}
-
+ {{ tip }}
{% endwith %}
@@ -33,7 +33,7 @@
{% elif token == "badge-tier-2" %}
{% with tip=label|default:"Tier 2 badge" %}
-
+ {{ tip }}
{% endwith %}
@@ -41,7 +41,7 @@
{% elif token == "badge-tier-3" %}
{% with tip=label|default:"Tier 3 badge" %}
-
+ {{ tip }}
{% endwith %}
@@ -49,7 +49,7 @@
{% elif token == "badge-tier-4" %}
{% with tip=label|default:"Tier 4 badge" %}
-
+ {{ tip }}
{% endwith %}
@@ -57,7 +57,7 @@
{% elif token == "badge-tier-5" %}
{% with tip=label|default:"Tier 5 badge" %}
-
+ {{ tip }}
{% endwith %}
@@ -65,7 +65,7 @@
{% elif token == "star-tier-1" %}
{% with tip=label|default:"Tier 1 star" %}
-
+ {{ tip }}
{% endwith %}
@@ -73,7 +73,7 @@
{% elif token == "star-tier-2" %}
{% with tip=label|default:"Tier 2 star" %}
-
+ {{ tip }}
{% endwith %}
@@ -81,7 +81,7 @@
{% elif token == "star-tier-3" %}
{% with tip=label|default:"Tier 3 star" %}
-
+ {{ tip }}
{% endwith %}
@@ -89,7 +89,7 @@
{% elif token == "star-tier-4" %}
{% with tip=label|default:"Tier 4 star" %}
-
+ {{ tip }}
{% endwith %}
@@ -97,7 +97,7 @@
{% elif token == "star-tier-5" %}
{% with tip=label|default:"Tier 5 star" %}
-
+ {{ tip }}
{% endwith %}
diff --git a/templates/v3/includes/_join_slack_card.html b/templates/v3/includes/_join_slack_card.html
index 063313259..07947ee49 100644
--- a/templates/v3/includes/_join_slack_card.html
+++ b/templates/v3/includes/_join_slack_card.html
@@ -4,6 +4,8 @@
Variables (read from context):
slack_member_count (string, optional) — member count shown in the CTA. Defaults to "24,000+".
{% endcomment %}
+{% load custom_static %}
{% with member_count=slack_member_count|default:"24,000+" %}
- {% include "v3/includes/_vertical_card.html" with title="Join the discussion on Slack" image_url="/static/img/v3/community-page/community-slack-preview.png" image_alt="Preview of the Boost Slack workspace" primary_button_url="https://cppalliance.org/slack/" primary_button_label="Chat with "|add:member_count|add:" members" only %}
+ {% large_static 'img/v3/community-page/community-slack-preview.png' as image_url %}
+ {% include "v3/includes/_vertical_card.html" with title="Join the discussion on Slack" image_url=image_url image_alt="Preview of the Boost Slack workspace" primary_button_url="https://cppalliance.org/slack/" primary_button_label="Chat with "|add:member_count|add:" members" only %}
{% endwith %}
diff --git a/templates/v3/includes/_thread_archive_card.html b/templates/v3/includes/_thread_archive_card.html
index 84d28951a..14e952445 100644
--- a/templates/v3/includes/_thread_archive_card.html
+++ b/templates/v3/includes/_thread_archive_card.html
@@ -5,7 +5,8 @@
recent_threads_url — URL for current month's threads (built dynamically from the view).
archive_url — URL for the full archive.
{% endcomment %}
-{% load static %}
+{% load custom_static %}
+{% large_static 'img/v3/community-page/community-mailing-list-preview.png' as image_url %}
{% with r_url=recent_threads_url|default:"https://lists.boost.org/archives/list/boost@lists.boost.org/latest" a_url=archive_url|default:"https://lists.boost.org/archives/list/boost@lists.boost.org/latest" %}
- {% include "v3/includes/_vertical_card.html" with title="Explore The Boost Developers Mailing List" image_url="/static/img/v3/community-page/community-mailing-list-preview.png" image_alt="Preview of recent threads on the Boost developers mailing list" primary_button_url=r_url primary_button_label="Recent Threads" secondary_button_url=a_url secondary_button_label="View Archive" only %}
+ {% include "v3/includes/_vertical_card.html" with title="Explore The Boost Developers Mailing List" image_url=image_url image_alt="Preview of recent threads on the Boost developers mailing list" primary_button_url=r_url primary_button_label="Recent Threads" secondary_button_url=a_url secondary_button_label="View Archive" only %}
{% endwith %}
diff --git a/templates/v3/library_page.html b/templates/v3/library_page.html
index 42c66c2bf..859d5aa5b 100644
--- a/templates/v3/library_page.html
+++ b/templates/v3/library_page.html
@@ -5,7 +5,7 @@
- object_list: list, required - List of LibraryVersion Ojbects to be displayed. Determined using the selected version as determined by the URL. Defaults to Latest
- library_view_str: str, required - Determines which View of libraries to display. Determined by the URL, defaults to List, or the last selected view if the user has changed it.
{% endcomment %}
-{% load static %}
+{% load custom_static static %}
{% block title %}
Library
@@ -24,8 +24,8 @@
Find a battle-tested library for the problem you're solvi
{% include 'v3/includes/_field_text.html' with label='Search' name='ex_search' placeholder='Keyword, name, etc.' icon_left='search' submit_icon='arrow-right' %}