Partials Content

The content is about managing partial components within the Entrada project, specifically stored in the [entrada-project-directory/src/twig/partials/] folder. These partial components can be incorporated into other Twig files (in sections or pages).

Customizing a partial components file updates its component wherever it's include-ed, making it an effective way to modify commonly used components like footer or top navbar menus.

Users are advised to adhere to the given folder structure for customizing these partial contents.

Folder Structure
  • twig
    • partials
      • head-css.twig
      • head-title-meta.twig
      • vendor-scripts.twig
      • navbar.twig
      • form-get-started.twig
      • form-contact-us.twig
      • footer-brand.twig
      • footer-bottom-nav.twig
      • footer-social-nav.twig
      • footer-contact-nav.twig
      • footer-switch-lang.twig
Partials for Head
  • head-css.twig

    Contains a number of HTML <link> tags used to link to external style sheets (CSS files). You can add links to new external CSS files here.

    By default it is include-ed on : every page that extends layouts/default.twig.

  • head-title-meta.twig

    Contains a number of HTML <meta> tags and a <title> tag. You can add another meta tag or change the HTML document title format here. a <link> for favicon is also defined here.

    By default it is include-ed on : every page that extends layouts/default.twig.

Partials of Vendors Scripts
  • vendor-scripts.twig

    Contains a number of HTML <script> tags used to embed scripts from external sources. You can embed the new script in this file.

    By default it is include-ed on : every page that extends layouts/default.twig.

Partials for Navbar
  • navbar.twig

    Contains a list of menus that will be displayed above the header section. You can change, add and remove menus in this partial. The logo for navbar-brand is also defined here.

    By default it is include-ed on : all variations of Header Section.

Partials of Forms
  • form-get-started.twig

    Contains an email form and a CTA button for the action of "getting started". You can change the content and button attributes here.

    By default it is include-ed on : Header Variation 4, CTA Variation 4, CTA Variation 2 (for Homepage Alt 5).

  • form-contact-us.twig

    Contains a form to fill in a message to contact us. You can change the form arrangement and description here.

    By default it is include-ed on : Header Contact Us.

Partials for Footer
  • footer-brand.twig

    Contains a logo that will be displayed in the footer section of pages.

    By default it is include-ed on : all variations of Footer Section

  • footer-bottom-nav.twig

    Contains a list of menus or navigations that will be displayed in the footer section of pages.

    By default it is include-ed on : all variations of Footer Section

  • footer-social-nav.twig

    Contains a list of social media navigations that will be displayed in the footer section of pages.

    By default it is include-ed on : all variations of Footer Section

  • footer-contact-nav.twig

    Contains a list of contact navigations that will be displayed in the footer section of pages.

    By default it is include-ed on : Footer Variation 2

  • footer-switch-lang.twig

    Contains a dropdown to switch language that will be displayed in the footer section of pages.

    By default it is include-ed on : Footer Variation 1, Footer Variation 2