Rudolf:ck logo

Rudolf:ck

Sample news item #1 for Thalassa templates

Mon Jul 17 13:12:45 2023 UTC

This feed (news/blog) item page is generated by Thalassa CMS using one of the templates which come along with the CMS as an example. The source file for this page is

  $site_source/db/pages/sample_news_1

(where $site_source is the root directory for your site source, initially created as a copy of the template of choice). The source file contains the following header:

  id: sample_news_1
  unixtime: 1689599565
  type: feed
  title: Sample news item #1 for the Thalassa templates
  format: texbreaks
  descr: Example of a feed (news/blog) item with a manually-written teaser
    (short description) for the digest

The descr header field is one of the two ways to specify the teaser for the digest. For the second way, see the second news item sample.

Please note the date displayed at the top of this page and the navigation bar with large arrows. These two elements are there because the page has the “feed” type. However, pages of this type are not automatically included into the feed list; to do so, be sure to add their names to the list in the “_feed” file, which is found in the same directory with the source files (that's it, the $site_source/db/pages/ directory). The IDs must be placed one per line in that file.

See also:

© Rudolfick, 2026