mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-04 20:53:24 +00:00
feat(website): improve doc side of website
This commit is contained in:
parent
2032795815
commit
ce13e50579
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Introduction
|
title: Introduction
|
||||||
layout: doc
|
layout: doc
|
||||||
|
weight: -1
|
||||||
---
|
---
|
||||||
|
|
||||||
Hello!
|
Hello!
|
||||||
|
5
website/content/docs/getting-started.md
Normal file
5
website/content/docs/getting-started.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: Getting Started
|
||||||
|
layout: doc
|
||||||
|
weight: -10
|
||||||
|
---
|
@ -1,9 +1,25 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main>
|
<div class="container mt-auto mt-auto py-3 row">
|
||||||
<div class="container">
|
<div class="container" style="width: 240px;">
|
||||||
<h1>{{ .Title }}</h1>
|
<div class="p-3 col">
|
||||||
{{.Content}}
|
<ul class="nav nav-pills mb-auto">
|
||||||
|
{{ $currentPage := . }}
|
||||||
|
{{ range where site.Pages.ByWeight.Reverse "Type" "docs" }}
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ .URL }}" class="nav-link">
|
||||||
|
{{ .Title }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
<div class="col">
|
||||||
|
<div>
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{.Content}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user