- {% with obj=find_cls("Blocks"), parent="gradio" %}
+ {% with obj=find_cls("Blocks"), is_class=True, parent="gradio" %}
{% include "docs/obj_doc_template.html" %}
{% endwith %}
@@ -101,7 +92,7 @@
Customize the layout of your Blocks UI with the layout classes below.
{% for layout in docs["layout"] %}
- {% with obj=layout, parent="gradio" %}
+ {% with obj=layout, is_class=True, parent="gradio" %}
{% include "docs/obj_doc_template.html" %}
{% endwith %}
{% endfor %}
diff --git a/website/homepage/src/guides/__init__.py b/website/homepage/src/guides/__init__.py
index 3413bfcc4a..c14b40d452 100644
--- a/website/homepage/src/guides/__init__.py
+++ b/website/homepage/src/guides/__init__.py
@@ -69,8 +69,6 @@ for guide_folder in guide_folders:
tags = get_labeled_metadata("Tags:")
spaces = get_labeled_metadata("Related spaces:")
contributor = get_labeled_metadata("Contributed by", is_list=False)
- docs = get_labeled_metadata("Docs:")
- pinned = get_labeled_metadata("Pinned:", is_list=False)
url = f"/{guide_name}/"
@@ -109,8 +107,6 @@ for guide_folder in guide_folders:
"spaces": spaces,
"url": url,
"contributor": contributor,
- "docs": docs,
- "pinned": pinned,
}
guides.append(guide_data)
guides_by_category[-1]["guides"].append(guide_data)
diff --git a/website/homepage/src/guides/gallery_template.html b/website/homepage/src/guides/gallery_template.html
index a8f15d5db3..1682de94c2 100644
--- a/website/homepage/src/guides/gallery_template.html
+++ b/website/homepage/src/guides/gallery_template.html
@@ -34,12 +34,12 @@
{{ guide.pretty_name }}