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

content/ content/
php-error.log php-error.log
rsc/sass/_onthefly.scss rsc/sass/_onthefly.scss
rsc/themes/

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

<script type="text/javascript" src="/{{ @RESOURCES }}jquery-3.3.1.min.js"></script> <script type="text/javascript" src="/{{ @RESOURCES }}jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/{{ @RESOURCES }}script.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> <title>{{ @title }}</title>
<style> <style>
<include href="colors.css" /> <include href="colors.css" />

+ 1
- 1
main.cfg.sample View File

RESOURCES=rsc/ RESOURCES=rsc/
;default site template: ;default site template:
template=tpl/index.html template=tpl/index.html
theme=style.css


external_links_open_in_new_window=false external_links_open_in_new_window=false

Loading…
Cancel
Save