Skip to content

Commit

Permalink
build: upgrade to Water.css 2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjago committed Mar 8, 2021
1 parent 6fafb79 commit 86ef373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added img/dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const baseTmpl string = `{{define "base"}}
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.min.css">
<style>
.center {
text-align: center;
Expand All @@ -33,8 +33,8 @@ const baseTmpl string = `{{define "base"}}

const headerTmpl string = `{{define "header"}}
<div class="center">
<h1><a href="/">{{.Blog.Title}}</a></h1>
<p>{{.Blog.Tagline}}</p>
<h1><a href="/">{{.Blog.Title}}</a></h1>
<p>{{.Blog.Tagline}}</p>
</div>
{{end}}
`
Expand Down

0 comments on commit 86ef373

Please sign in to comment.