]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Allow theme.ini to specify external CSS URLs, such as Google Font API loaders.
authorBrion Vibber <brion@pobox.com>
Wed, 9 Mar 2011 18:53:12 +0000 (10:53 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 9 Mar 2011 19:38:43 +0000 (11:38 -0800)
commit0a19949f6db090fa529eb8d7a42fa313ebf87561
treeb9dc9f5d88a25c1eec18fe1fade007a1d3aa0b7c
parent7f42e48631049ae4c29166684f2c1aa0ad5e2f04
Allow theme.ini to specify external CSS URLs, such as Google Font API loaders.

Example theme.ini:

  external="http://fonts.googleapis.com/css?family=Lato:100,100italic,300,300italic,400,400italic,700,700italic,900,900italic"
  include=rebase

Notes:
* URLs must be quoted in the .ini file or the .ini file parser explodes!
* To do multiples, list as external[] instead of external.
* If there's an included base theme, any externals it lists will be included first.
* All externals are loaded before any local styles.
lib/action.php
lib/theme.php