|
@@ -19,24 +19,25 @@ Usage of ./fave:
|
|
## Hosts structure
|
|
## Hosts structure
|
|
```
|
|
```
|
|
hosts
|
|
hosts
|
|
-├── localhost # Main host directory
|
|
|
|
-├──── config # Config directory
|
|
|
|
-├────── mysql.json # MySQL config file
|
|
|
|
-├──── htdocs # Public http files
|
|
|
|
-├──── logs # Logs dir
|
|
|
|
-├────── access.log # Access log file
|
|
|
|
-├────── error.log # Error log file
|
|
|
|
-├──── template # Engine templates
|
|
|
|
-├────── 404.html # Template for 404 page
|
|
|
|
-├────── footer.html # Footer
|
|
|
|
-├────── header.html # Header
|
|
|
|
-├────── index.html # Template for index page
|
|
|
|
-├────── page.html # Template for any other pages
|
|
|
|
-├────── robots.txt # Host robots.txt file
|
|
|
|
-├────── scripts.js # Theme scripts file
|
|
|
|
-├────── sidebar.html # Can be included in templates
|
|
|
|
-├────── styles.css # Theme styles file
|
|
|
|
-└──── tmp # Temporary dir for session files
|
|
|
|
|
|
+├── localhost # Main host directory
|
|
|
|
+├──── config # Config directory
|
|
|
|
+├────── mysql.json # MySQL config file
|
|
|
|
+├──── htdocs # Public http files
|
|
|
|
+├──── logs # Logs dir
|
|
|
|
+├────── access.log # Access log file
|
|
|
|
+├────── error.log # Error log file
|
|
|
|
+├──── template # Engine templates
|
|
|
|
+├────── 404.html # Template for 404 page
|
|
|
|
+├────── footer.html # Footer
|
|
|
|
+├────── header.html # Header
|
|
|
|
+├────── index.html # Template for index page
|
|
|
|
+├────── page.html # Template for any other pages
|
|
|
|
+├────── robots.txt # Host robots.txt file
|
|
|
|
+├────── scripts.js # Theme scripts file
|
|
|
|
+├────── sidebar-left.html # Can be included in templates
|
|
|
|
+├────── sidebar-right.html # Can be included in templates
|
|
|
|
+├────── styles.css # Theme styles file
|
|
|
|
+└──── tmp # Temporary dir for session files
|
|
```
|
|
```
|
|
Unlimited hosts count. Template variables in [Wiki](https://github.com/vladimirok5959/golang-fave/wiki) or [here](https://github.com/vladimirok5959/golang-fave/wiki/Variables-for-template-($.Data)) and [here](https://github.com/vladimirok5959/golang-fave/wiki/Variables-for-template-($.System)).
|
|
Unlimited hosts count. Template variables in [Wiki](https://github.com/vladimirok5959/golang-fave/wiki) or [here](https://github.com/vladimirok5959/golang-fave/wiki/Variables-for-template-($.Data)) and [here](https://github.com/vladimirok5959/golang-fave/wiki/Variables-for-template-($.System)).
|
|
|
|
|