- WebGPU is currently only supported on Chrome starting with version 113, and only on desktop. If they don't work on
- your configuration, you can check the WebGL2 examples here.
-
+WebGPU is currently only supported on Chrome starting with version 113, and only on desktop.
+If they don't work on your configuration, you can check the WebGL2 examples here.
+{% endblock intro %}
diff --git a/templates/example.html b/templates/example.html
index 554fb7e681..d73969e1ae 100644
--- a/templates/example.html
+++ b/templates/example.html
@@ -1,123 +1,8 @@
-{% extends "layouts/base.html" %}
-{% block content %}
-
-
- {% set total_ancestors = page.ancestors | length %}
- {% set parent_idx = total_ancestors - 1 %}
- {% set category = get_section(path=page.ancestors | nth(n=parent_idx)) %}
-
-
-{% endblock content %}
+{% extends "layouts/example.html" %}
+
+{% block examples_url %}/examples{% endblock examples_url %}
+{% block wasm_base_url %}https://bevy-webgl2-examples.pages.dev{% endblock wasm_base_url %}
+{% block intro %}
+This example is running in WebGL2 and should work in most browsers.
+You can check the WebGPU examples here.
+{% endblock intro %}
diff --git a/templates/examples-webgpu.html b/templates/examples-webgpu.html
index e964e14633..03f08f6949 100644
--- a/templates/examples-webgpu.html
+++ b/templates/examples-webgpu.html
@@ -1,40 +1,10 @@
-{% extends "layouts/page-with-menu.html" %}
-{% import "macros/assets.html" as assets_macros %}
-{% block page_name %}Examples{% endblock page_name %}
-{% block mobile_page_menu %}{{ assets_macros::assets_menu(prefix="page-menu", root=section) }}{% endblock mobile_page_menu %}
-{% block page_menu %}{{ assets_macros::assets_menu(prefix="page-menu", root=section) }}{% endblock page_menu %}
-{% block page_content %}
-
-
- These examples demonstrate how to use Bevy's features in a minimal, easy to understand way. Click an example below
- to run it in
- your browser (using WASM + WebGPU) and view the source code. You can also view these examples (and others) in the
- Bevy repo.
-
Support Warning
- WebGPU is currently only supported on Chrome starting with version 113, and only on desktop. If they don't work on
- your configuration, you can check the WebGL2 examples here.
-
-
-
-
- {% for subsection in section.subsections %}
- {% set section = get_section(path=subsection) %}
-
- {% set pages = section.pages %}
- {% if section.extra.sort_order_reversed %}
- {% set pages = section.pages | reverse %}
- {% endif %}
- {% for post in pages %}{{ assets_macros::card(post=post) }}{% endfor %}
-
- {% endif %}
- {% endfor %}
-
-
-{% endblock page_content %}
+{% extends "layouts/examples.html" %}
+
+{% block intro %}
+These examples demonstrate how to use Bevy's features in a minimal, easy to understand way.
+Click an example below to run it in your browser (using WASM + WebGPU) and view the source code.
+You can also view these examples (and others) in the Bevy repo.
+
Support Warning
+WebGPU is currently only supported on Chrome starting with version 113, and only on desktop.
+If they don't work on your configuration, you can check the WebGL2 examples here.
+{% endblock intro %}
diff --git a/templates/examples.html b/templates/examples.html
index c9fd891742..0f24a30c5c 100644
--- a/templates/examples.html
+++ b/templates/examples.html
@@ -1,41 +1,8 @@
-{% extends "layouts/page-with-menu.html" %}
-{% import "macros/assets.html" as assets_macros %}
-{% block page_name %}Examples{% endblock page_name %}
-{% block mobile_page_menu %}{{ assets_macros::assets_menu(prefix="page-menu", root=section) }}{% endblock mobile_page_menu %}
-{% block page_menu %}{{ assets_macros::assets_menu(prefix="page-menu", root=section) }}{% endblock page_menu %}
-{% block page_content %}
-
-
- These examples demonstrate how to use Bevy's features in a minimal, easy to understand way. Click an example below
- to run it in
- your browser (using WASM + WebGL) and view the source code. You can also view these examples (and others) in the
- Bevy repo.
-
- If you would like to try WASM + WebGPU, you can explore our live WebGPU examples
- page.
-
-
-
-
-
- {% for subsection in section.subsections %}
- {% set section = get_section(path=subsection) %}
-
- {% set pages = section.pages %}
- {% if section.extra.sort_order_reversed %}
- {% set pages = section.pages | reverse %}
- {% endif %}
- {% for post in pages %}{{ assets_macros::card(post=post) }}{% endfor %}
-
- {% endif %}
- {% endfor %}
-
-
-{% endblock page_content %}
+{% extends "layouts/examples.html" %}
+
+{% block intro %}
+These examples demonstrate how to use Bevy's features in a minimal, easy to understand way.
+Click an example below to run it in your browser (using WASM + WebGL) and view the source code.
+You can also view these examples (and others) in the Bevy repo.
+
If you would like to try WASM + WebGPU, you can explore our live WebGPU examples page.