Create theme for CinemaPress
NodeJS)
Install (npm i cinematheme -g
Usage
cinematheme --name "mytheme" --index "https://example.com"
https://example.com
- donor website;mytheme
- name theme (lowercase).
After generation and editing (recommended use Visual Studio Code and EJS extensions), you can send mytheme
folder to the server in themes
folder.
/themes/mytheme/default/
- all functions in theme (help);/themes/mytheme/public/
- static files;/themes/mytheme/views/
- theme files;
File to URL:
index.ejs
-/
movie.ejs
-/movie/[id]
episode.ejs
-/movie/[id]/s11e22
picture.ejs
-/movie/[id]/picture
trailer.ejs
-/movie/[id]/trailer
online.ejs
-/movie/[id]/online
download.ejs
-/movie/[id]/download
categories.ejs
/year
/genre
/actor
/country
/director
/content
category.ejs
/year/[year]
/genre/[genre]
/actor/[actor]
/country/[country]
/director/[director]
/content/[content]
Help
~# cinemapress -h Usage: cinematheme <command> [options] Create theme