Base pages are the templates for static pages. Base pages must have template blocks in place to add content from your static page like given below.
{{block "block-name" .}} {{end}}
You can use your own block names or just use the default block names generated automatically like given below.
{{block "content" .}} {{end}}
Static pages inherit a base page. Contents in the static pages template blocks appear in:
{{define "content"}} {{end}}
Template pages are templates for Markdown and Dynamic pages. Template pages inherit their layout from a Base Page like static page. Template page will have the following tags:
{{define "title"}} {{.Title}} {{end}}
{{define "content"}}
{{.HtmlContent}}
{{end}}
.HtmlContent tag will contain the converted html content from the markdown or dynamic page input
Markdown pages are for markdown content. More information on markdown format can be found here: Markdown
Dynamic pages can be used to create web pages just like a text editor.
Sometimes you might want to create html pages with your favorite website creator application. You create the raw page with static page format and point the url to /r/filename.html
If you want to create a standlone page, which is pure html file, just create the html file and point the url to /sp/filename.html
Image files can be added by clicking on the Files and then Add Images
You can edit CSS files from Files -> CSS. Enter the file path to edit or create a new file. All files are saved in static directory
You can edit javascript files from Files -> Javascript. Enter the file path to edit or create a new file. All files are saved in static directory
Wemebox doesn't need a webserver or database server or installation of any kind to run. Everything required to run your application is embedded inside wemebox executable. Make sure you have setup your config file for production as explained in Config Files
If you want to use your own webserver like Nignix or Apache, run the wemebox application in a different port and setup a reverse proxy.
Wemebox comes with an embedded database system. It saves website data into a file inside /dbf directory. If you need to take backups please take a backup of this directory