Posts

Showing posts with the label p3

Creating Custom Layouts and Page Templates

One of Jekyll’s core strengths lies in its ability to let you build custom layouts. The Mediumish theme comes with several layout templates out of the box, but for a blog that wants to scale or adapt to business needs (e.g. product pages, service listings, opt-in offers), you'll eventually want to build your own templates. How to create a custom layout Navigate to the _layouts folder in your Mediumish theme directory. Duplicate an existing layout file such as page.html and rename it, e.g., custom-landing.html . Edit the layout to change the HTML structure or insert custom includes or Liquid logic. In your content file (Markdown or HTML), set layout: custom-landing in the front matter. Why create custom layouts? To isolate content sections like landing pages from blog post styles. To improve conversion rates on opt-in or offer-specific pages. To ensure full design control without affecting other pages. Adding a Call-to-Action (CTA) Section to Yo...

Labels


© . All rights reserved.

-