Added alpinejs.

This commit is contained in:
mikestefanello 2021-12-03 21:47:12 -05:00
parent d40244b3d1
commit 7f93fa7f6c
3 changed files with 6 additions and 0 deletions

View file

@ -13,4 +13,8 @@
{{define "css"}} {{define "css"}}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
{{end}}
{{define "js"}}
<script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
{{end}} {{end}}

View file

@ -3,6 +3,7 @@
<head> <head>
{{template "metatags" .}} {{template "metatags" .}}
{{template "css" .}} {{template "css" .}}
{{template "js" .}}
</head> </head>
<body> <body>
<section class="hero is-info is-fullheight"> <section class="hero is-info is-fullheight">

View file

@ -3,6 +3,7 @@
<head> <head>
{{template "metatags" .}} {{template "metatags" .}}
{{template "css" .}} {{template "css" .}}
{{template "js" .}}
</head> </head>
<body> <body>
<nav class="navbar is-dark"> <nav class="navbar is-dark">