MainPage Structure

From AbhiprayaVedi

MainPage is what a reader gets when visiting the home page of the site https://abhiprayavedi.org/ It will have Four sections.

  • Featured
  • Top Stories
  • Recent Articles
  • Browse by Category

Templates and Styles used for MainPage

We’ll build a manually curated index page that lets us simply list article names. A helper template will fetch the details (title, image, introduction, author, date) from each article automatically, so we don’t have to retype anything. This approach uses one simple SMW function (#show)

*

  • Template:ArticleCard – a reusable card that displays one article.
  • Template:IndexPage/styles.css – the styles for the index page.
  • Manually built MainPage Sections