Telegram Blog

Telegram "extra info" and Templates, June 11, 2012

Each Telegram page may contain extra info. Extra info is information about either the page or the whole Telegram site, but it is not displayed on the page.

You can define extra info by placing colon-separated values at the top of the page. For example:

title: My Fun Page
date: 2012/08/14
    
# This is my page
    
Blah blah blah 

You can separate the extra info with an optional line of dashes:

----------
title: My Fun Page
date: 2012/08/14
----------
    
# This is my page
    
blah blah blah

You can also include the extra info as Markdown references. This format makes the page look prettier in Markdown preview mode:

# This is my page
    
[title=My Fun Page]: /
    
blah blah blah
    
[date: 2012/08/14]: /

Telegram (based on Hoisted) currently supports the following extra info:

You can create your own template by forking https://github.com/telegr-am/template-base and then changing the template and pointing your Telegram site to your new public Git repository with the template_url directive. The file that defines the template is /templates-hidden/default.html. Just edit that file. It contains Lift snippet invocations (which I will document in a few days).

Hope this gets you started.

Rock and roll!

-- David