mostly filebased Content Presentation System
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

main.cfg.sample 1.3KB

před 3 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. SITE_URL =
  2. [routes]
  3. GET / = Controller\Page->home
  4. GET /home = Controller\Page->home
  5. GET /login = Controller\User->login
  6. GET /register = Controller\User->register
  7. GET @page: /@page = Controller\Page->index
  8. GET /@level1/@level2 = Controller\Page->secondLevel
  9. GET /@level1/@level2/@level3 = Controller\Page->thirdLevel
  10. GET /@level1/@level2/@level3/@level4 = Controller\Page->fourthLevel
  11. [configs]
  12. content/navi.cfg=false
  13. content/data.cfg=false
  14. content/reroutes.cfg=false
  15. [siteColors]
  16. primary=#f0a
  17. [templateVars]
  18. includeBanner=false
  19. ;; "customVars" are global (in F3) and can be changed in content files
  20. [customVars]
  21. backgroundColor=#fff
  22. color1=#333
  23. color2=#777
  24. color3=#bbb
  25. [globals]
  26. title=Title of new Page
  27. hideFromSearchEngines=true
  28. bulkIncludePic=false
  29. bulkIncludeAudio=false
  30. ;; (multilingual) content configuration
  31. ;; ------------------------------------
  32. ; comma seperated list of language identifiers
  33. ; at least one language need to be defined here
  34. ; fist mention is default language
  35. languages=de,en
  36. ; content directories for different languages
  37. content.de=content/DE/
  38. content.en=content/EN/
  39. ;; HTML Template related:
  40. ;; ----------------------
  41. ;public directory for css, javascript, images etc.
  42. RESOURCES=rsc/
  43. ;default site template:
  44. template=tpl/index.html
  45. theme=style.css
  46. external_links_open_in_new_window=false