Used assets; Used scripts

This commit is contained in:
Patrick Hatsune 2024-07-06 05:50:17 -07:00
parent 9f595558b6
commit ee82a1adbd
Signed by: keyemail
GPG key ID: 6FD1A0FDB0D914C2
5 changed files with 3 additions and 0 deletions

0
.gitignore vendored
View file

BIN
src/assets/miku.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 KiB

View file

@ -12,6 +12,7 @@
{{ template "navbar" . }} {{ template "navbar" . }}
{{ template "body" . }} {{ template "body" . }}
{{ template "footer" . }} {{ template "footer" . }}
<script src="/src/scripts/main.js"></script>
</body> </body>
</html> </html>
{{ end }} {{ end }}

View file

@ -8,5 +8,6 @@
<header> <header>
<h1>Home page!</h1> <h1>Home page!</h1>
</header> </header>
<img src="/src/assets/miku.jpg" width="350"/>
{{ end }} {{ end }}
</body> </body>

1
src/scripts/main.js Normal file
View file

@ -0,0 +1 @@
console.log("Hello World");