Explorar el Código

Add support for custom.css

Fix #40
Talha Mansoor hace 11 años
padre
commit
44b3d28b4e
Se han modificado 2 ficheros con 3 adiciones y 0 borrados
  1. 0 0
      static/css/custom.css
  2. 3 0
      templates/base.html

+ 0 - 0
static/css/custom.css


+ 3 - 0
templates/base.html

@@ -25,6 +25,9 @@
         <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
         <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/elegant.css" media="screen">
         <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/solarizedlight.css" media="screen">
+        {%if CUSTOM_CSS %}
+        <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/custom.css" media="screen">
+        {% endif %}
         {% endblock head_links %}
         <link rel="shortcut icon" href="{{ SITEURL }}/theme/images/favicon.ico" type="image/x-icon" />
         <link rel="apple-touch-icon" href="{{ SITEURL }}/theme/images/apple-touch-icon.png" />