Flat-File Website 3

Includes a login function


A login function prevents anyone but the authorized user to make changes to the content. For this example, the username and password are saved in a separate file. As an alternative, the administrators page could be located in a password protected area of the server.

The administrator page is accessed from the 'login'' at the bottom of the screen.

Click to view demo
 single page website with markdown function

Files

Top-level folder:

 nip shoppe files

Page-sections folder:

 nip shoppe page sections

Code

Top level folder:
Page sections folder: