' A Series Of Tutorials On Page Composition | Trio Blog
Trio Icon
Trio v6.1.0

The Trio Blog

  1. Latest
  2. Releases
  3. News
  4. Tutorials

A Series Of Tutorials On Page Composition


Page Composition Tutorials

It is almost impossible to imagine a website today that doesn't require additional content beyond its basic HTML to provide the context needed for its web pages.

Lets consider the Bio pages on a portfolio website that showcases the works of numerous artists. As artists come and go their Bio pages are either added, updated or removed from the site. If the site isn't very popular with artists then perhaps maintenance of these pages will be infrequent and could be done manually. But if the site is very popular then these pages might in fact require daily or even more frequent updates and thus a more automated approach to maintaining these pages would be beneficial.

A preferable automated approach would be to provide a mechanism that would generate the artist bios whenever their information, which is maintained in separate files or in individual items within a file, are changed, added and deleted. In fact, such mechanisms already exist in the form of static site generators which, among other things, can easily be programmed to insert data found, for instance, in a JSON file into a document that will eventually be saved to your file system as an HTML file.

As such it shouldn't come as a surprise to you that Trio provides a mechanism to do just that, and to take full advantage of Trio's site generation capabilities you need to understand how Trio composes your site's pages using metadata, collection filter functions and tag-based callbacks.

To that end I am very pleased to announce that a series of tutorials will be posted here over the course of the next few weeks which will teach you how to compose your site's pages with dynamic content.

If you would like to be notified when these tutorials are posted here then please consider following @gettriossg on Twitter.

Your Financial Support Of This Project Is Greatly Appreciated

Trio is an open source project and is therefore free of charge to use both for noncommercial and commercial use, but when you use Trio to create a new website, please consider donating a few bucks. It doesn't take very long, the process is secure, and it will allow us to continue to support the community and to maintain and enhance Trio going forward.

Show your ❤️, add your ★ to the Github repo.