mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-18 20:19:30 -07:00
fix(index.html): fix doctype declaration to use lowercase 'doctype' for HTML5 compliance
fix(index.html): fix meta tag indentation for better readability fix(index.html): fix indentation of head and body tags for better readability fix(index.html): fix indentation of header, main, and footer sections for better readability fix(index.html): fix indentation of script tag for better readability fix(index.html): fix indentation of closing div tag for better readability fix(index.html): fix indentation of closing body and html tags for better readability feat(index.html): add partial for navigation bar to improve website navigation fix(head.html): fix indentation of esBuildOpts variable for better readability fix(head.html): fix indentation of script tag for better readability feat(nav.html): add navigation bar partial to improve website navigation
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{- $options := dict "targetPath" "css/style.min.css" "enableSourceMap" true -}}
|
||||
{{- $style = dict "Context" . "ToCSS" $options | merge $style -}}
|
||||
{{- partial "plugin/style.html" $style -}}
|
||||
{{- $esBuildOpts := dict "minify" hugo.IsProduction -}}
|
||||
|
||||
{{ $script := resources.Get "ts/main.ts" | js.Build }}
|
||||
{{- $script := resources.Get "ts/main.ts" | js.Build $esBuildOpts -}}
|
||||
<script type="text/javascript" src="{{ $script.RelPermalink }}" defer></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/gsap@3.12/dist/gsap.min.js"></script>
|
||||
|
||||
27
layouts/partials/nav.html
Normal file
27
layouts/partials/nav.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<nav>
|
||||
<div class="navArtist">
|
||||
<a href="/">Bridget Baker</a>
|
||||
</div>
|
||||
<div class="links">
|
||||
<span class="link">Featured</span>
|
||||
<span class="link">iPhone</span>
|
||||
<span class="link">Film</span>
|
||||
<span class="link">Info</span>
|
||||
</div>
|
||||
<div class="threshold">
|
||||
<span>Threshold:</span>
|
||||
<span>
|
||||
<button class="dec">-</button>
|
||||
<span class="num"></span><span class="num"></span><span class="num"></span
|
||||
><span class="num"></span>
|
||||
<button class="inc">+</button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="index">
|
||||
<span class="num"></span><span class="num"></span><span class="num"></span
|
||||
><span class="num"></span>
|
||||
<span>/</span>
|
||||
<span class="num"></span><span class="num"></span><span class="num"></span
|
||||
><span class="num"></span>
|
||||
</div>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user