diff options
Diffstat (limited to 'views/includes')
-rw-r--r-- | views/includes/materialize.html | 1 | ||||
-rw-r--r-- | views/includes/materialize_js.html | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/views/includes/materialize.html b/views/includes/materialize.html index 7c40c0d..9d5d210 100644 --- a/views/includes/materialize.html +++ b/views/includes/materialize.html | |||
@@ -1,6 +1,5 @@ | |||
1 | {{define "materialize"}} | 1 | {{define "materialize"}} |
2 | <link rel="stylesheet" href="/assets/css/materialize.css"> | 2 | <link rel="stylesheet" href="/assets/css/materialize.css"> |
3 | <script src="/assets/js/materialize.min.js"></script> | ||
4 | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | 3 | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> |
5 | <meta name="viewport" content="width=device_width, initial-scale=1.0" /> | 4 | <meta name="viewport" content="width=device_width, initial-scale=1.0" /> |
6 | {{end}} \ No newline at end of file | 5 | {{end}} \ No newline at end of file |
diff --git a/views/includes/materialize_js.html b/views/includes/materialize_js.html new file mode 100644 index 0000000..be6dda6 --- /dev/null +++ b/views/includes/materialize_js.html | |||
@@ -0,0 +1,4 @@ | |||
1 | {{ define "materialize_js" }} | ||
2 | <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | ||
3 | <script src="/assets/js/materialize.min.js"></script> | ||
4 | {{ end }} \ No newline at end of file | ||