Create debug site and link statics
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<div id="home-jumbotron" class="jumbotron text-center">
|
||||
<h1 class="title">{{ .Site.Title }}</h1>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="/css/main.css">
|
||||
<script src="/js/jquery-3.6.0.slim.min.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
</head>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
|
||||
<div class="avatar">
|
||||
<a href=".Site.BaseURL">
|
||||
<img src=".Site.Params.Avatar" alt=" Avatar" />
|
||||
<img src=".Site.Params.Avatar" alt="Avatar" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="nav-title">
|
||||
<a class="nav-brand" href="https://shantanugoel.com">Title title</a>
|
||||
<a class="nav-brand" href="https://example.com">Title title</a>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
3
themes/gokarna/static/js/jquery-3.6.0.slim.min.js
vendored
Normal file
3
themes/gokarna/static/js/jquery-3.6.0.slim.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user