Closed BrianRuizy closed 4 years ago
Externalize the four main-stats header using Django template inheritance, call it header.html, and place in layouts/ folder. So it's accessible on multiple pages, and the changes to the file will extend elsewhere instantiated.
Django documentation: https://docs.djangoproject.com/en/dev/ref/templates/language/#template-inheritance
externalized main-stats header with Django Commit: https://github.com/BrianRuizy/covid-19-dashboard/commit/b61675271f4867eb72d36cd0b2192c23006c1363 @BrianRuizy
Externalize the four main-stats header using Django template inheritance, call it header.html, and place in layouts/ folder. So it's accessible on multiple pages, and the changes to the file will extend elsewhere instantiated.
Django documentation: https://docs.djangoproject.com/en/dev/ref/templates/language/#template-inheritance