Tiny CMS in single file plain html
<mark>
8 KB
Switch page view by added data-mode
value: snippet
or website
, default is empty
Example:
<html lang="en" data-mode="snippet">
Add query search to URL file.html?mode=[Value]
Example:
/display.html?mode=snippet
If data-set
was present in file.html
then want to go back to
admin mode, it can be access by ?admin
Demo:
live
and mode snippet