Templates

Templates are reusable snippets of HTML used across The Sunil Abraham Project (TSAP) to maintain visual and structural consistency. On TSAP, templates are implemented as Jekyll include files, which are small, self-contained files stored in the _includes directory at the root of the project repository. They are inserted into any page using the Liquid tag {% include filename.html %}, and some accept parameters to customise their output. The full list of include files is available on GitHub.

Content Templates

Main Article

Displays a styled callout linking to a main or parent article on a related topic.

{% include main-article.html link="/page-url/" title="Page Title" %}

Notice

Displays a warning or important notice to the reader. Accepts a message parameter.

{% include notice.html message="Your message here." %}

Stub

Displays a notice indicating that the page is short and incomplete and will be expanded over time. Takes no parameters.

{% include stub.html %}

Under Construction

Displays a notice indicating that the page is actively being worked on. Takes no parameters.

{% include under-construction.html %}

Outdated

Displays a notice indicating that some information on the page may no longer be current. Takes no parameters.

{% include outdated.html %}

Disputed

Displays a notice indicating that the accuracy or neutrality of some information is disputed. Takes no parameters.

{% include disputed.html %}

Cleanup

Displays a notice indicating that the page requires editorial cleanup. Takes no parameters.

{% include cleanup.html %}

Copy Edit

Displays a notice indicating that the page requires copy editing for grammar, style, cohesion, tone, or spelling. Takes no parameters.

{% include copyedit.html %}

Expert Needed

Displays a notice indicating that the page deals with a specialised subject and may benefit from expert review. Takes no parameters.

{% include expert-needed.html %}

Current Event

Displays a notice indicating that the page documents a current or ongoing event. Takes no parameters.

{% include current.html %}

Expand

Displays a notice indicating that the article as a whole needs expansion. Takes no parameters.

{% include expand.html %}

Expand Section

Displays a notice indicating that a specific section needs expansion. Place immediately below the relevant ## or ### heading. Takes no parameters.

{% include expand-section.html %}

Did You Know

Displays the “Did You Know” facts grid, used on the TSAP main page.

{% include dyk.html %}

Event Infobox

Displays a structured event data table with Schema.org markup. Reads automatically from the page’s front matter fields such as event_type, date, location, sunils_role, organisers, and website. Takes no parameters.

{% include event-infobox.html %}

Mentions List

Displays a list of external mentions of TSAP pages, sourced from _data/mentions. Sorted by access date, newest first. Takes no parameters.

{% include mentions-list.html %}

Page Metadata Templates

Author

Displays the author or authors of a page, reading from the authors front matter field. Takes no parameters.

{% include author.html %}

Categories

Displays a Wikipedia-style category box using the categories front matter field. Takes no parameters.

{% include categories.html %}

Page Data

Displays the page creation date with links to its GitHub commit history, file preview, and raw source. Reads from the created front matter field. Takes no parameters.

{% include page-data.html %}

Back to Top

Displays a right-aligned “Back to Top” link. Takes no parameters.

{% include back-to-top.html %}

📄 This page was created on 11 April 2026. You can view its history on GitHub, preview the fileTip: Press Alt+Shift+G, or inspect the .