<jupyter_start><jupyter_text>FastGalleryTemplateThe `FastGalleryTemplate` enables you to add a Gallery of apps and other resources to your Panel site. You can configure the template via the following parameters* **`applications`** (List[Application]): The list of Applications to show in the gallery.* **`target`** (str): How to open the url of the application . One of '_blank', '_parent', '_top' or '_self' (default). Content* **`site`** (str): The name of the site. Will be shown in the header and link to the `site_url`. Default is 'Panel'.* **`site_url`** (str): The URI of the site and logo. Default is '/'.* **`title`** (str): The name of the gallery. Shown in the header and browser tab. Default is 'Gallery'.* **`footer`** (str): Footer text. Default is ''* **`description`** (str): A description shown in the header. Default is 'Applications running on the server'. Appearance* **`theme`** (str): One of 'default' or 'dark'.* **`theme_toggle`** (bool): Whether or not to enable toggling the theme via a switchbox. Default is True.* **`accent_base_color`**: The Accent Color. Default is 'E1477E'.* **`background_image`** (str): The URI of an image to show in the header.* **`font_family`** (str): The name of the font family to use. Default is 'Open Sans'.* **`font_url`** (str): The URI of a font family to load. Default is '//fonts.googleapis.com/css?family=Open+Sans'.* **`favicon`** (str): URI of favicon to add to the document head (if local file, favicon is        base64 encoded as URI). Meta DataTo help search engines understand your page* **`meta_name`** (str): A meta name to add to the document head for search engine optimization. For example 'HoloViz Panel Gallery'. If none is specified the title will be used.* **`meta_description`** (str): A meta description to add to the document head for search engine optimization. For example 'Applications running on the server'. If none is specified the description will be used.* **`meta_keywords`** (str): Meta keywords to add to the document head for search engine optimization. For example 'HoloViz, Panel, Gallery'. Default is ''.* **`meta_author`** (str): A meta author to add to the the document head for search engine optimization. For example 'HoloViz Panel'.* **`meta_viewport`** (str): A meta viewport to add to the header.________<jupyter_code>import panel as pn
from awesome_panel_extensions.site.models import Application
from awesome_panel_extensions.site.gallery import FastGalleryTemplate

pn.extension(sizing_mode="stretch_width")<jupyter_output><empty_output><jupyter_text>Reading the list of ApplicationsThe easiest way to construct your list of Applications from the gallery is by reading them from a YAML file like [panel/examples/site.yaml](../../site.yaml)<jupyter_code>try:
    applications = Application.read("../../site.yaml") # Notebook
except:
    applications = Application.read("examples/site.yaml") # 'panel serve FastGalleryTemplate.ipynb' from root of project<jupyter_output><empty_output><jupyter_text>Lets take a look at the first Application<jupyter_code>app=applications[0]
pn.Row(pn.Param(app, expand_button=False), pn.Tabs(pn.Param(app.author), pn.Param(app.owner)), max_width=900)<jupyter_output><empty_output><jupyter_text>For full control you can also create your list of `panel.site.Application`s via code.  Serving the Gallery<jupyter_code>FastGalleryTemplate(
    site="Awesome Panel",
    site_url="https://awesome-panel.org",
    title="Gallery",
    applications=applications,
    accent_base_color="green",
    footer="Made with &#x1f40d;, &#10084;&#65039; and <fast-anchor href='https://panel.holoviz.org' appearance='hypertext' target='_blank'>Panel</fast-anchor>.",
).servable();<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12607296137339055, 'fraction_numerical': 0.006169527896995708, 'mean_word_length': 5.530647985989492, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '641142', 'license': 'CC-BY-4.0', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1070, 'n_words': 428, 'path': 'examples/reference/site/FastGalleryTemplate.ipynb', 'repo_name': 'MarcSkovMadsen/panel-extensions-template', 'size': '3728'}