"MainPage Structure" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
Created page with "'''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" |
No edit summary |
||
| വരി 5: | വരി 5: | ||
* Recent Articles | * Recent Articles | ||
* Browse by Category | * 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 (<code>#show</code>) | |||
<nowiki>*</nowiki> | |||
* <code>Template:ArticleCard</code> – a reusable card that displays one article. | |||
* <code>Template:IndexPage/styles.css</code> – the styles for the index page. | |||
* Manually built MainPage Sections | |||
14:00, 30 ഏപ്രിൽ 2026-നു നിലവിലുള്ള രൂപം
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