Rudolf:ck logo

Rudolf:ck

Sample news item #2 for Thalassa templates

Tue Jul 18 05:19:30 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_2
  unixtime: 1689657570
  type: feed
  title: Sample news item #2 for Thalassa templates
  format: texbreaks
  teaser_len: 163

— so the teaser (short description) included in the digest is made as the first N (163 in this particular case) chars of the original text.

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