my-ugly-code / WebsUpTV

Node.js application for displaying various web widgets over Android TV OS - Sports, News, Weather, Plex and more
25 stars 2 forks source link

Move EJS markup from the /page to various /modules #4

Open my-ugly-code opened 1 year ago

my-ugly-code commented 1 year ago

These files are in /views/ directory. Wherever we have multiple lines of EJS markup, <%= stuff.Like.This %>, we can move that markup into a new .ejs file in /views/modules/ then replace the index markup with a reference to the module. This will keep the code cleaner and ease future maintenance.