The Reporter - User Documentation
DemosSupport
  • πŸ‘‹Introduction
  • πŸ†•Changelog
  • 🏁GETTING STARTED
    • πŸ”½Uploading a Theme
  • πŸ“œMain Templates
    • πŸ“°Post Page/Post Page with Sidebar
    • 🐱Categories Page
    • πŸ§‘β€πŸŽ¨Authors Page
    • ♾️Archive (All posts) Template
  • βš™οΈCUSTOM SETTINGS
    • ℒ️Logos
    • πŸ”€Typography
    • 🀯Header
      • 🧭Header Type
      • πŸ“Header Height
      • πŸ” Header Navigation Font Size
    • πŸ“Border Radius
    • ⚑Featured Posts Section
    • 🍑Homepage Layout
      • πŸ“‘Homepage Tags
      • πŸ›οΈHomepage Sections Layout
  • πŸ‘£Footer Customization
    • πŸ₯ΎFooter Type
    • 🐾Footer Categories
  • πŸ“’CTA Text and Subtext
  • πŸ“ŸCustom Widget (HTML Widget)
  • 🀝MEMBERSHIP FEATURE
    • πŸŽ™οΈSetting Up
    • ℹ️Sign In Page
    • πŸ”ΌSign Up Page
    • *️⃣Subscribe Page
    • πŸ‘€Account Page
    • πŸ’ΈMembership Page
  • πŸ§‘β€πŸš€Advanced Customization
    • πŸ‘©β€πŸ«Introduction
    • 🏠Home Page
      • 🧱Sections Customization
      • πŸ’ˆBanners (CTA blocks) Customization
    • πŸ‘ŸFooter Tags
  • πŸ”©Other Settings
    • πŸ“ΉAdd 'Has Video Content' Icon
    • πŸ“ΈAdd Your Instagram Link (Icon)
    • ⏬Submenus
  • β˜‘οΈTERMS & CONDITIONS
    • πŸ”Refund Policy
Powered by GitBook
On this page
  • Here is the options for section layout:
  • To customize home page sections:
  1. Advanced Customization
  2. Home Page

Sections Customization

PreviousHome PageNextBanners (CTA blocks) Customization

Last updated 1 year ago

The Reporter has 24 posts section variants for home page. Each section is pre-made partial, that can be inserted anywhere. They looks like this:

{{>layout/type1 tagName='news' themeSection="light-gray"}}
{{>layout/type2 tagName='events'}}

Each section has 2 options (props):

  1. tagName - required props in which you pass the name of the tag you would like to display in this section

  2. themeSection - optional props in which you can pass the additional color-variant for the section. If you don't pass it, section's background-color will be standard (the same as website's background-color). themeSection has 2 options:

    1. "light-gray"

    2. "black"

Here is the options for section layout:

  1. {{>layout/featured-type1 tagName='news' }}

  2. {{>layout/featured-type2 tagName='news' }}

  3. {{>layout/featured-type3 tagName='news' }}

  4. {{>layout/featured-type4 tagName='news' }}

  5. {{>layout/featured-type5 tagName='news' }}

  6. {{>layout/type1 tagName='news' }}

  7. {{>layout/type2 tagName='news' }}

  8. {{>layout/type3 tagName='news' }}

  9. {{>layout/type4 tagName='news' }}

  10. {{>layout/type5 tagName='news' }}

  11. {{>layout/type6 tagName='news' }}

  12. {{>layout/type7 tagName='news' }}

  13. {{>layout/type8 tagName='news' }}

  14. {{>layout/type9 tagName='news' }}

  15. {{>layout/type10 tagName='news' }}

  16. {{>layout/type11 tagName='news' }}

  17. {{>layout/type12 tagName='news' }}

  18. {{>layout/type13 tagName='news' }}

  19. {{>layout/type14 tagName='news' }}

  20. {{>layout/type15 tagName='news' }}

  21. {{>layout/type16 tagName='news' }}

  22. {{>layout/type17 tagName='news' }}

  23. {{>layout/type18 tagName='news' }}

  24. {{>layout/type19 tagName='news' }}

To customize home page sections:

  • Open index.hbs file, it looks like this:

  • Here you'll see commented examples of banners and layouts that The Reporter has

  • Now, select the section variant, change tagName props value to your preferred tag slug and insert it inside {{!-- INSERT LAYOUTS HERE --}} {{!-- ------------------- --}} like this:

  • Add more sections that you want, the order in which you insert sections coincides with the order in which sections are displayed on the home page:

  • When you're done with the customization, we need to zip our theme to upload its customized version in Ghost. To do this, insert npm run zip command into the terminal, that we already opened, and press Enter.

  • Thats it! Now you have customized home page layout!

Then, check that setting inside Ghost Admin Panel has nothing inside it!

Now, find new the-reporter.zip file and it in your Ghost Admin Panel.

πŸ§‘β€πŸš€
🏠
🧱
Homepage tags
upload