Blog layout | Need to show excerpt of blog

Show do i get the thumbnails to show the excerpt rather than the table of content.
Currently it is only showing my content table

https://gemlette.com/pages/crystals-101

Hey @gemlette ,

To display excerpts instead of the table of contents for the thumbnails on your Shopify page, you can follow these steps:

  1. Online Store > Themes.

  2. Edit code.

  3. Find the template for the page you want to modify. This is typically under Templates and might be named something like page.crystals-101.liquid

Modify the Code:

  1. Open the relevant template file.

  2. Look for the code that generates the table of contents. This might be in a section or a snippet included in your page template.

  3. Replace or comment out the table of contents code with the code that retrieves the excerpt instead. If you have a specific excerpt you want to show, you might need to use a variable like {{ page.excerpt }} or a similar method based on how your content is structured.

Adjust the Thumbnails Section:

  1. If your thumbnails are generated by a specific section (like sections/page-content.liquid), you may need to edit that file too.

  2. Find where the thumbnails are rendered and ensure it’s set to show excerpts. This could involve using a loop to output the excerpt for each thumbnail item.

Save Changes:

  1. After making the necessary changes, save the file.

  2. Preview the page to ensure the thumbnails now show the excerpts instead of the table of contents.

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regard,

Rajat Sharma