mirror of https://github.com/osmarks/website
fix description, change navbar
This commit is contained in:
parent
0b19f8c578
commit
540a44778d
|
@ -2,3 +2,4 @@ node_modules
|
||||||
out
|
out
|
||||||
openring
|
openring
|
||||||
draft
|
draft
|
||||||
|
cache.json
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "osmarks' website",
|
"name": "osmarks' website",
|
||||||
"domain": "osmarks.net",
|
"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": [
|
"feeds": [
|
||||||
"https://blogs.sciencemag.org/pipeline/feed",
|
"https://blogs.sciencemag.org/pipeline/feed",
|
||||||
"https://www.rtl-sdr.com/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 writeBuildID = () => fsp.writeFile(path.join(outDir, "buildID.txt"), buildID)
|
||||||
const index = async () => {
|
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)
|
await fsp.writeFile(path.join(outDir, "index.html"), index)
|
||||||
}
|
}
|
||||||
const compileCSS = async () => {
|
const compileCSS = async () => {
|
||||||
|
|
|
@ -29,7 +29,7 @@ nav
|
||||||
a, img
|
a, img
|
||||||
margin-right: 0.5em
|
margin-right: 0.5em
|
||||||
|
|
||||||
@for $i from 1 through 3
|
@for $i from 1 through 4
|
||||||
a:nth-child(#{$i + 1})
|
a:nth-child(#{$i + 1})
|
||||||
color: hsl(180 + ($i * 30), 100%, 80%)
|
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")
|
img.logo(src="/assets/images/logo256.png", alt="osmarks.net logo")
|
||||||
.logotext osmarks
|
.logotext osmarks
|
||||||
+nav-item("/", "Index")
|
+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://i.${domain}/`, "Images")
|
||||||
|
+nav-item("https://github.com/osmarks/website", "Contribute")
|
||||||
block nav-items
|
block nav-items
|
||||||
.header
|
.header
|
||||||
h1.page-title= title
|
h1.page-title= title
|
||||||
|
|
Loading…
Reference in New Issue