Files
sisvietnamvn_01/.agents/AGENTS.md
T

1021 B

Workspace Rules

Creating New Thymeleaf Pages

When creating or scaffolding a new Thymeleaf template page in this project, you MUST use the layout:decorate mechanism to inherit the common layout, and you MUST pass the bodyClass variable to maintain consistent styling with the homepage.

Use the following exact structure as a template:

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
    layout:decorate="~{fragments/layout(bodyClass='umass-platform-homepage path-frontpage page-node-type-homepage homepage transparent-header')}">

<head>
    <title>Tiêu đề trang</title>
</head>

<body>
    <div layout:fragment="content">
        <!-- Content Top Banner -->
        <div class="content-top">
            <!-- Banner content here -->
        </div>

        <!-- Main Content Area -->
        <div class="main-content-area">
            <!-- Specific page content here -->
        </div>
    </div>
</body>
</html>