docs: Initial import from localai-website (#1312)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2023-11-22 18:13:50 +01:00 committed by GitHub
parent 763f94ca80
commit c5c77d2b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 6111 additions and 0 deletions

10
docs/layouts/404.html Normal file
View file

@ -0,0 +1,10 @@
{{ define "main"}}
<main id="main">
<div>
<h1 id="title">Not found</h1>
<p>Oops! This page doesn't exist. Try going back to our <a href="{{ "/" | relURL }}">home page</a>.</p>
<p>You can learn how to make a 404 page like this in <a href="https://gohugo.io/templates/404/">Custom 404 Pages</a>.</p>
</div>
</main>
{{ end }}

View file

@ -0,0 +1 @@
<a href="https://localai.io"><img src="https://github.com/go-skynet/LocalAI/assets/2420543/0966aa2a-166e-4f99-a3e5-6c915fc997dd"></a>

View file

@ -0,0 +1,5 @@
{{ if .IsNamedParams }}
<a target="_blank" href="http://github.com/{{ .Get "user" }}" alt="">{{ .Get "user" }}</a>
{{ else }}
<a target="_blank" href="http://github.com/{{ .Get 0 }}" alt="">{{ .Get 0 }}</a>
{{ end }}

View file

@ -0,0 +1,5 @@
{{ if .IsNamedParams }}
<a target="_blank" href="https://github.com/go-skynet/LocalAI/pull/{{ .Get "number" }}" alt="">{{ .Get "number" }}</a>
{{ else }}
<a target="_blank" href="https://github.com/go-skynet/LocalAI/pull/{{ .Get 0 }}" alt="">{{ .Get 0 }}</a>
{{ end }}