hugo-theme-novela icon indicating copy to clipboard operation
hugo-theme-novela copied to clipboard

Tweak base template and allow for extra stylesheets.

Open hdevilbiss opened this issue 4 years ago • 0 comments

Suggested Changes

Add document type to the base template.

  • Add <!DOCTYPE html> to _default/baseof.html.

Allow for site-specific stylesheets to be more easily added.

  • Move <head> from partial/head/head.html to _default/baseof.html.
  • Create and include a new, empty template, partials/head/extra_styles.html.
  • Add section to README about how to override extra_styles.html.

This is just my ideal implementation.

Why make the changes?

  • Create HTML which is slightly more valid.
  • Make it easier to override default styling without needing to create a custom remote.

hdevilbiss avatar Feb 15 '21 01:02 hdevilbiss