Trying to use sections in custom page template instead of snippets

Hello,

I am working on updating the theme on my shop (Canopy).

As part of this work, I wish to use the updated theme’s contact-form.liquid from the sections folder.

However, no matter what I do, my custom page template insists on trying to use the snippets folder.

The code for the custom page is quite simple, I will share it here:


  

    # {{ page.title }}

    
      
{{ page.content | replace: 'fullwidth"', '" data-fullwidth="true"' }}

      
        

        {% render 'contact-form' %}
        

      

    

  

I’ve searched multiple different ways and cannot seem to find an answer. Here is what I have tried:


        

        {% render '../sections/contact-form' %}
        


        

        {% render '/sections/contact-form' %}
        

Neither method works, though.

How can I tell the theme to use the sections folder instead of the snippets folder for this custom page?

@mgibson323 - when you use word render, it goes to snippets

Okay, thanks. So what word should I use instead?

I’ve discovered it myself here:

https://shopify.dev/docs/api/liquid/tags/section