Lesson Monday

We can add a CSS file to our application so we can write our own custom CSS. That way we don't have to rely on boring old Bootstrap.

First, in your layout.hbs file, add this line:

<link rel='stylesheet' href='/app.css'>

Next, include the following staticFileLocation("/public"); line in your application's executable method:

…
public class App {
  public static void main(String[] args) {
    staticFileLocation("/public");
  ...
… 

Finally, create a .css file in your project directory: src/main/resources/public/app.css.