CarterA / Tribo

Extremely fast static site generator written in Objective-C
http://cartera.me/2011/10/16/made-on-a-mac/
Other
42 stars 6 forks source link

Configurable site-wide variables #32

Closed CarterA closed 12 years ago

CarterA commented 12 years ago

This is important before a lot of people try to use this app. There needs to be a set of variables stored on a per-site basis, including information like the name of the author, the title of the site, and the root URL of the site. This could probably be configured in the same interface as publishing settings, namely an i button or something. We could even use a widget-style flip-the-window-over-to-configure thing. Come on, that would be pretty cool, right?

The variables would be available through Mustache tags, obviously. Here is a sample from my Feed.xml file:

<author>
    <name>Carter Allen</name>
    <email>Carter@zcr.me</email>
</author>

...

<link href="http://cartera.me{{relativeURL}}"/>
<updated>{{XMLDate}}</updated>
<id>http://cartera.me{{relativeURL}}</id>

This clearly displays the need for some generic variables.

CarterA commented 12 years ago

Closed by 722d10ff5ebfe0e043fdb0b837d5f5161cecbf26.