config.t2t 1.0 KB

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