fix description, change navbar

This commit is contained in:
osmarks 2023-03-18 15:29:21 +00:00
parent 0b19f8c578
commit 540a44778d
5 changed files with 7 additions and 5 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
node_modules
out
openring
draft
draft
cache.json

View File

@ -1,7 +1,7 @@
{
"name": "osmarks' website",
"domain": "osmarks.net",
"siteDescription": "Whimsical uselessness available conveniently online.",
"siteDescription": "osmarks is all. osmarks is everywhere. osmarks is truth. osmarks is light. osmarks is on the internet, on this website!",
"feeds": [
"https://blogs.sciencemag.org/pipeline/feed",
"https://www.rtl-sdr.com/feed/",

View File

@ -188,7 +188,7 @@ globalData.renderDate = date => date.format("DD/MM/YYYY")
const writeBuildID = () => fsp.writeFile(path.join(outDir, "buildID.txt"), buildID)
const index = async () => {
const index = globalData.templates.index({ ...globalData, title: "Index", posts: globalData.blog })
const index = globalData.templates.index({ ...globalData, title: "Index", posts: globalData.blog, description: globalData.siteDescription })
await fsp.writeFile(path.join(outDir, "index.html"), index)
}
const compileCSS = async () => {

View File

@ -29,7 +29,7 @@ nav
a, img
margin-right: 0.5em
@for $i from 1 through 3
@for $i from 1 through 4
a:nth-child(#{$i + 1})
color: hsl(180 + ($i * 30), 100%, 80%)

View File

@ -21,8 +21,9 @@ html(lang="en")
img.logo(src="/assets/images/logo256.png", alt="osmarks.net logo")
.logotext osmarks
+nav-item("/", "Index")
+nav-item(`https://status.${domain}/`, "Status")
+nav-item(`https://mse.${domain}/`, "Meme Search Engine v1.1")
+nav-item(`https://i.${domain}/`, "Images")
+nav-item("https://github.com/osmarks/website", "Contribute")
block nav-items
.header
h1.page-title= title