Browse Source

introduce themes

master
Dom SP 3 years ago
parent
commit
15e9bac914
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -1
      app/views/tpl/index.html
  3. +1
    -1
      main.cfg.sample

+ 1
- 0
.gitignore View File

@@ -11,3 +11,4 @@ tmp
content/
php-error.log
rsc/sass/_onthefly.scss
rsc/themes/

+ 1
- 1
app/views/tpl/index.html View File

@@ -24,7 +24,7 @@
<script type="text/javascript" src="/{{ @RESOURCES }}jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/{{ @RESOURCES }}script.js"></script>

<link type="text/css" href="/{{ @RESOURCES }}style.css" rel="stylesheet" />
<link type="text/css" href="/{{ @RESOURCES }}{{ @theme }}" rel="stylesheet" />
<title>{{ @title }}</title>
<style>
<include href="colors.css" />

+ 1
- 1
main.cfg.sample View File

@@ -51,6 +51,6 @@ content.en=content/EN/
RESOURCES=rsc/
;default site template:
template=tpl/index.html
theme=style.css

external_links_open_in_new_window=false

Loading…
Cancel
Save