website: added incoming website (work in progress)
[dragora.git] / website / config.t2t
blob8af52c08c59913670a8162ef465826d0a73a97d1
2 % Dragora site main configuration file.
3 % All site pages must use these settings.
6 % Some self-explanatory options
8 %!target: html
9 %!encoding: UTF-8
11 % The CSS style file for this site
13 %!style: ./style.css
14 %!options: --css-sugar --fix-path --mask-email
16 % Trick to add the favicon meta tag right before the </head> tag
18 %!postproc: '(?i)(</head>)'     '<link rel="icon" type="image/gif" href="../favicon.ico">\n\1'
20 % Meta keywords and meta description
22 %!postproc: (</HEAD>) <meta name="keywords" content="dragora, GNU, Linux, distribution, free software, simple, reliable">\n\1
23 %!postproc: (</HEAD>) <meta name="description" content="Dragora is an independent GNU/Linux-Libre distribution based on concepts of simplicity.">\n\1
25 % This fixes a bug in %%infile path when inside included file.
26 % In this case, the %%infile inside footer.t2t incorrectly gets footer.t2t
27 % path instead the original file's path.
29 %!postproc: '(<A HREF=")/(.*?.t2t">See sources</A>)'  '\1\2'
30 %!postproc: '(<A HREF=")../(.*?.t2t">See sources</A>)'  '\1\2'