Classic Templates
A themeable JavaScript template set for corporate and institutional websites: header, three-level menu, footer, breadcrumb and twenty reusable sections, news and articles, members-only content, a consent banner, ten themes in light and dark, accessible (WCAG 2.1 AA, RGAA 4.1.2), bilingual, with visitor strings in Portuguese too.
Classic Templates is a Jahia JavaScript template set with the standard building blocks of a corporate or institutional website. Everything a visitor reads is contributed content, editable in Page Builder and jContent in every language of the site, and the look comes entirely from CSS design tokens: a site switches theme, or light and dark, from its settings, with no code change.
What you get
- Complete site chrome: a header with logo, brand name, a menu built from the page tree three levels deep, utility links, an optional search box and a language switcher, on one row or two (the menu on its own row), with an optional brand caption; the menu as dropdowns or as a mega menu, where each top-level page can carry a promotion; a footer with logo or tagline, link columns, legal links and social links shown as their network's icon; a breadcrumb trail in its own band; a network bar linking the sites of a group. Header and footer are shared by every page and edited on the home page.
- Reusable sections: hero banner and hero carousel, image and text, rich text, columns, card grid (cards, icon tiles or a logo strip), accordion, tabs, key figures, quote, link list, content list, notice bar, site map, sign-in form and a free zone. Every section can end with an optional call to action.
- News and articles: stored in content folders, each with its own page, listed as cards or compact rows by content lists that filter by folder, category and language. Breadcrumbs go through the page that lists them, and each item page lists its categories and tags.
- Consent and audiences: a consent banner asks visitors once whether they accept tracking and, on a site running jExperience, switches its tracking with their choice; any call to action can be shown to everyone, to visitors who are not signed in, or to signed-in visitors only.
- Ten themes: Classic, Ocean, Terracotta, Horizon, Sage, Slate, Graphite, Signal, Live and Portal, each in light and dark, chosen per site. Another module can add a brand theme of its own to the site settings, with no release of the template set. The breadcrumb band and the footer take their own colours. Visitors get their system's scheme unless the site forces one. Call-to-action buttons can take their own colour, apart from links and navigation. Contrast is checked for every theme and scheme.
- Sign-in entry: an optional "Sign in" in the header's utility bar, with "Register" beside it when the site has a registration page, replaced by the visitor's name and "Sign out" once signed in, built from the platform's own login and logout routes. It can open a page of the site holding the sign-in form, so visitors sign in without leaving the site. The header stays one cached fragment.
- Members-only content: a news item, an article or a page (with its sub-pages) can be reserved for signed-in visitors. Visitors who are not signed in get its public face (title, teaser, image and its opening paragraphs), a "Members only" badge, a notice with a sign-in form and "Create an account" instead of a "page not found", and see the whole content once signed in. Lists and cards show the badge on reserved items.
- Accessible by default: audited against WCAG 2.1 AA and RGAA 4.1.2. Skip link, landmarks, strict heading order, keyboard menu, visible focus, reflow at 320 px, scrollable tables, carousels without autoplay by default, a site map as the second navigation system.
- Search-engine ready: one heading 1 per page, titles and descriptions, image alternatives, and schema.org structured data (JSON-LD) on every page, including the breadcrumb and news and articles. With Augmented Search, the text of sections is found with its page; a site setting keeps a private site out of search engines.
- Helpful in Page Builder: in edit mode only, notes tell editors what the page cannot show: a missing description or alternative text, a hidden title, content reused from elsewhere, what a content list found, with a link to its folder in jContent.
- Ready to share: Open Graph and Twitter card tags on every page, so a shared link shows its title, description and an image; the image comes from the page's SEO panel, its item or hero, or a default share image set on the site.
- Open to other modules: the free zone takes components of other modules (Formidable forms, a FAQ, a media gallery, a store locator) and a token bridge makes them follow the site's theme.
- Bilingual out of the box: every editor label, tooltip and visitor-facing string is available in English and French, and the visitor-facing strings in Portuguese too. In a language added later, a page not translated yet keeps its default-language title in menus, links and the breadcrumb.
Two pre-packaged demo sites import from Administration > Projects: Classic Templates pre-packaged website, a complete bilingual example site (19 pages, news and articles), and Skylantern Airways pre-packaged website, a fictional airline (36 pages with destinations and fares) built with the template set and its classic-travel companion module.
Documentation for editors and integrators, one page per component: github.com/Jahia/classic-templates/docs.
Captures d'écran
Comment installer
- Check the requirements: Jahia 8.2.1 or later with the JavaScript modules engine (javascript-modules-engine) 1.2 or later.
- Install the module from the Store, or upload classic-templates-<version>.tgz in Administration > Modules.
- Create a site on the classic-templates template set (Administration > Sites). The new site already has a home page with its header and footer.
- Choose the theme and the colour scheme in the site settings (jContent, edit the site).
- Recommended: enable Jahia's sitemap module on the site for sitemap.xml.
A demonstration site can be built with the scripts of the repository; see the README.
FAQ
Can I use components of other modules?
Yes. Drop them in a free zone section; the template set maps their colours onto the site's theme, in light and dark.
How do I change the look of a site?
Edit the site in jContent and pick a theme (Classic, Ocean, Terracotta, Horizon, Sage, Slate, Graphite, Signal, Live, Portal) and a colour scheme (automatic, light or dark). No code change is needed.
Can I add a theme of my own?
Yes, from another module: a site mixin that extends ctplmix:themeProvider adds its theme to the site's edit form once the module is enabled on the site, and loads the module's stylesheet. Details: documentation.
Where are the header and footer edited?
On the home page. They are shared by every page of the site and read-only elsewhere.
Which languages are supported?
Editor labels ship in English and French, visitor strings in English, French and Portuguese. Content can be translated into any language the site enables.
What does a shared link show?
Its title, description and an image. Set a Default share image in the site settings so pages without their own image or hero still share a picture.
Does it work on Jahia Cloud?
Yes. Keep the site's server name to localhost so the instance resolves it from the URL path; since version 0.3.1 every setting is read from the page's own site.
Can visitors sign in from the site?
Yes. Switch on "Show a sign-in entry" in the header's edit form; you can also choose the page visitors land on after signing in. The entry uses the platform's login and logout pages, so nothing is tied to one server. To keep visitors on the site, add a "Sign-in form" section to a page and choose that page as the header's "Sign-in page".
Can I reserve content for members?
Yes. On a news item or an article, switch on the "Members only" section of its edit form; on a page, tick "Members only" in its page options (its sub-pages follow). Visitors who are not signed in see the title, teaser and a sign-in form. The option hides content on the page. A page's sections are also protected once its content areas are restricted to registered users; the body of a news item or article stays readable through the API, so keep confidential material in a reserved page or a restricted folder. Details: members-only content.
MIT License. Copyright (c) 2026 to present Jahia. Full text: LICENSE.
Dépendances
Modules dépendants
Aucun module n'en dépend.