LostRhapsody / slothtime

Minimalist time tracking website
https://slothtime.dev
GNU General Public License v3.0
0 stars 0 forks source link

Add templating #21

Open LostRhapsody opened 1 year ago

LostRhapsody commented 1 year ago

Currently, the header and footer are just kept in-sync between the index and about pages. Create a template script to insert header and footer HTML files into each location. Should be loaded in the utilities script, as that's already on all pages and the name fits the bill.

This would prevent the header or footer from ever going out of sync and reduce time it takes to update.

In the future, would apply to more than just two pages.