summaryrefslogtreecommitdiff
path: root/GroLUG/root/lib/config/main
blob: 89de4ae075946d2436aea9282927619dd55a2851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[% # config/main
   #
   # This is the main configuration template which is processed before
   # any other page, by virtue of it being defined as a PRE_PROCESS 
   # template.  This is the place to define any extra template variables,
   # macros, load plugins, and perform any other template setup.
 
   IF Catalyst.debug;
     # define a debug() macro directed to Catalyst's log
     MACRO debug(message) CALL Catalyst.log.debug(message);
   END;
 
   # define a data structure to hold sitewide data
   site = {
     title     => 'Catalyst::View::TTSite Example Page',
     copyright => '2006 Your Name Here',
   };
 
   # load up any other configuration items 
   PROCESS config/col
         + config/url;
 
   # set defaults for variables, etc.
   DEFAULT 
     message = 'There is no message';
 
-%]