Themes
- Theme:
- Galleta
- Theme:
- Minim
- Theme:
- Boyis92
- Theme:
- Jingle Bells
Anatomy of a Theme
gelato Themes live in subdirectories residing in themes/. The Theme's subdirectory holds all of the Theme's style sheet files, template files and images. For example, a Theme named "test" would reside in the directory themes/test/.
gelato includes one Theme in the download, the "tumblr" (tribute to their great software) Theme. The Theme use different tags to generate the web page result and look. Examine the files carefully for this Theme to get a better idea of how to build your own Theme files.
gelato Themes consist of two main types of files, in addition to images. One is the style sheet called style.css, which controls the presentation (look) of the web pages. The second are the template files which control the way the web page generates the information from the Database to be displayed as a web page. Let's look at these individually.
Template Tags
template_header
{Gelato_includes}{Title}{Description}{URL_Tumble}{Template_name}
template_isadmin
{User}{URL_Tumble}
template_footer
{URL_Tumble}
template_regular_post
{Date_Added}{Permalink}{Title}{Body}{URL_Tumble}
template_photo
{Date_Added}{Permalink}{PhotoURL}{PhotoAlt}{Caption}{Effect}{URL_Tumble}
template_quote
{Date_Added}{Permalink}{Quote}{Source}{URL_Tumble}
template_url
{Date_Added}{Permalink}{URL}{Name}{Description}{URL_Tumble}
template_conversation
{Date_Added}{Permalink}{Title}{Conversation}{URL_Tumble}
template_video
{Date_Added}{Permalink}{Video}{Caption}{URL_Tumble}
template_mp3
{Date_Added}{Permalink}{Mp3}{Caption}{URL_Tumble}

