mirror of
https://github.com/osmarks/website
synced 2025-03-24 20:36:57 +00:00
fix description, change navbar
This commit is contained in:
parent
0b19f8c578
commit
540a44778d
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
node_modules
|
||||
out
|
||||
openring
|
||||
draft
|
||||
draft
|
||||
cache.json
|
@ -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/",
|
||||
|
@ -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 () => {
|
||||
|
@ -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%)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user