mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Render menu header template
This commit is contained in:
@@ -5,5 +5,15 @@
|
|||||||
{{ template "head.go.tmpl" . }}
|
{{ template "head.go.tmpl" . }}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<section id="this-is-blog" class="root-container blog-container">
|
||||||
|
|
||||||
|
<!-- render menu -->
|
||||||
|
<div class="menu-container">
|
||||||
|
{{ template "menu.go.tmpl" . }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<!-- render menu -->
|
||||||
|
<div class="root-container menu-container">
|
||||||
|
{{ template "menu.go.tmpl" . }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- render error -->
|
<!-- render error -->
|
||||||
<code class="language-c">
|
<code class="language-c">
|
||||||
/* $NetBSD: yes.c,v 1.5 1997/10/19 14:28:27 mrg Exp $ */
|
/* $NetBSD: yes.c,v 1.5 1997/10/19 14:28:27 mrg Exp $ */
|
||||||
|
|||||||
@@ -5,5 +5,15 @@
|
|||||||
{{ template "head.go.tmpl" . }}
|
{{ template "head.go.tmpl" . }}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<section class="root-container welcome-container">
|
||||||
|
|
||||||
|
<!-- render menu -->
|
||||||
|
<div class="menu-container">
|
||||||
|
{{ template "menu.go.tmpl" . }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<div class="menu">
|
||||||
|
<div class="menu-logo"><a href="{{ getIndexURL }}"><span>nikita</span>.tokarch.uk</a></div>
|
||||||
|
<ul class="menu-nav">
|
||||||
|
<li class="menu-nav-li1"><a href="#this-is-blog"><i class="bi bi-journal-arrow-down"></i> blog</a></li>
|
||||||
|
<li class="menu-nav-li2"><a class="external" target="_blank" href="https://github.com/mainnika"><i class="bi bi-github"></i> github</a></li>
|
||||||
|
<li class="menu-nav-li3"><a class="external" target="_blank" href="https://www.linkedin.com/in/mainnika"><i class="bi bi-linkedin"></i> linkedin</a></li>
|
||||||
|
<li class="menu-nav-li4"><a class="external" target="_blank" href="https://www.instagram.com/mainnika"><i class="bi bi-instagram"></i> instagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
@@ -16,6 +16,7 @@ import (
|
|||||||
//go:embed error.go.tmpl
|
//go:embed error.go.tmpl
|
||||||
//go:embed head.go.tmpl
|
//go:embed head.go.tmpl
|
||||||
//go:embed index.go.tmpl
|
//go:embed index.go.tmpl
|
||||||
|
//go:embed menu.go.tmpl
|
||||||
var content embed.FS
|
var content embed.FS
|
||||||
|
|
||||||
// List of compiled go-templates
|
// List of compiled go-templates
|
||||||
|
|||||||
Reference in New Issue
Block a user