I have a jade page, and the first thing I do is set a variable that defines the base directory used by all links.
if ! base base = '/klog/'
This is valid for the github page, so every time I transfer the page to html, I must remember to change the database, and then change it again for local editing.
There must be a better way to do this. Currently, I think there is an unprocessed file in the local copy that includes the database - but is it really necessary?
What is the best way to deal with this problem?
Billy moon
source share