✨feature: Set up Tailwind and automate dev process to watch all files for changes and rebuild as needed
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
{{ define "base" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ .Title }}</title>
|
||||
<link rel="stylesheet" href="/assets/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ template "header" . }}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ define "footer" }}
|
||||
<footer>
|
||||
<p>© {{ .Year }} Keith Solomon - Go SSG</p>
|
||||
<footer id="site_foot">
|
||||
<p class="p-0 py-4 m-0 leading-none">© {{ .Year }} Keith Solomon - Go SSG</p>
|
||||
</footer>
|
||||
{{ end }}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{{ define "header" }}
|
||||
<header>
|
||||
<header id="site_head">
|
||||
<h1 class="text-white text-40px hover:text-primary-200"><a href="/">Go SSG</a></h1>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<ul class="list-none">
|
||||
{{ range .Nav }}
|
||||
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
|
||||
<li class="list-none"><a class="text-white hover:text-primary-200" href="{{ .URL }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user