diff --git a/.gitignore b/.gitignore index aeba173..052269b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules out openring -draft \ No newline at end of file +draft +cache.json \ No newline at end of file diff --git a/src/global.json b/src/global.json index 1553256..675faaf 100644 --- a/src/global.json +++ b/src/global.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/", diff --git a/src/index.js b/src/index.js index 4bd7461..7bf180e 100644 --- a/src/index.js +++ b/src/index.js @@ -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 () => { diff --git a/style.sass b/style.sass index 0044e96..0330a0d 100644 --- a/style.sass +++ b/style.sass @@ -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%) diff --git a/templates/layout.pug b/templates/layout.pug index 7353843..13ca1cc 100644 --- a/templates/layout.pug +++ b/templates/layout.pug @@ -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