mirror of
https://github.com/lune-org/docs.git
synced 2024-12-12 04:50:36 +00:00
42 lines
807 B
JavaScript
42 lines
807 B
JavaScript
import React from "react"
|
||
|
||
import { useRouter } from "next/router"
|
||
|
||
export default {
|
||
docsRepositoryBase: "https://github.com/lune-org/docs/blob/main",
|
||
useNextSeoProps() {
|
||
const { asPath } = useRouter()
|
||
if (asPath !== "/") {
|
||
return {
|
||
titleTemplate: "%s – Lune",
|
||
}
|
||
}
|
||
},
|
||
project: {
|
||
link: "https://github.com/lune-org/lune",
|
||
},
|
||
footer: {
|
||
text: (
|
||
<span>
|
||
MPL-2.0 {new Date().getFullYear()} ©{" "}
|
||
<a href="https://github.com/lune-org/lune" target="_blank">
|
||
Lune
|
||
</a>
|
||
</span>
|
||
),
|
||
},
|
||
logo: (
|
||
<>
|
||
<img
|
||
width="40"
|
||
height="40"
|
||
src="https://github.com/lune-org/lune/raw/main/assets/logo/tilt.png"
|
||
/>
|
||
</>
|
||
),
|
||
head: (
|
||
<>
|
||
<link rel="icon" href="https://github.com/lune-org/lune/raw/main/assets/logo/tilt.png" type="image/png" />
|
||
</>
|
||
)
|
||
}
|