From b2a1096e2d3883bd29b7bf89154040b8a2b1fbbb Mon Sep 17 00:00:00 2001 From: bearfm <77757734+bearfm@users.noreply.github.com> Date: Fri, 26 Jan 2024 23:38:21 -0800 Subject: [PATCH] moar --- dist/404.html | 2 +- dist/blog/firstPost.html | 3 ++- dist/blogIndex.js | 2 +- dist/css/style.css | 2 +- dist/css/style.css.map | 2 +- src/404.md | 2 +- src/blog/firstPost.md | 4 +++- src/scss/style.scss | 6 ++++++ static/blogIndex.js | 2 +- 9 files changed, 17 insertions(+), 8 deletions(-) diff --git a/dist/404.html b/dist/404.html index d95b2b2..f36297e 100644 --- a/dist/404.html +++ b/dist/404.html @@ -25,7 +25,7 @@

404: Not Found

+ href="xertun.webp">

diff --git a/dist/blog/firstPost.html b/dist/blog/firstPost.html index 7de8c61..54c79ea 100644 --- a/dist/blog/firstPost.html +++ b/dist/blog/firstPost.html @@ -24,7 +24,8 @@

wowzers first post

-

p

+

+

me ^

diff --git a/dist/blogIndex.js b/dist/blogIndex.js index 13131c8..7245c84 100755 --- a/dist/blogIndex.js +++ b/dist/blogIndex.js @@ -15,7 +15,7 @@ function blogIndex() { const liElement = document.createElement('li'); const aElement = document.createElement('a'); - aElement.href = uri; + aElement.href = uri.substring(uri.indexOf('/blog/')); aElement.textContent = name; liElement.appendChild(aElement); ulElement.appendChild(liElement); diff --git a/dist/css/style.css b/dist/css/style.css index 0d021b2..9f2f0a3 100644 --- a/dist/css/style.css +++ b/dist/css/style.css @@ -1,2 +1,2 @@ -@import "https://fonts.googleapis.com/icon?family=Material+Icons";body{font-family:Arial, sans-serif;font-size:1.5em;margin:2em;line-height:1.6;height:100vh;width:auto;margin:0;padding:0;text-align:center;background-color:#282828;color:#ebdbb2}.meta{font-size:0.75em;line-height:1;color:#504945}.center-box{text-align:left;width:15%;margin:auto}header{background-color:#3c3836;color:#ebdbb2}header a{color:#ebdbb2;text-decoration:dotted;font-size:1.5rem}header a i{vertical-align:middle;display:inline-block}nav{background-color:#504945;color:#ebdbb2;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px}.title{font-weight:bolder}.article{width:auto;margin:0 auto;margin-top:0%;text-align:justify;width:30vw}.article h1,.article h2,.article h3,.article h4,.article h5,.article h6{text-align:center}ul,li,ol{margin:0;padding:0;list-style:none}h1,h2,h3,h4,h5,h6{color:#fbf1c7}a{color:#458588}a:hover{color:#689d6a}button{background-color:#b16286;color:#fbf1c7}button:hover{background-color:#458588}p{margin-bottom:1em}pre{background-color:#504945;padding:0.5em;overflow:auto}code{font-family:'Courier New', Courier, monospace;background-color:#504945;color:#d65d0e;padding:0.2em;border-radius:3px}table{border-collapse:collapse;width:100%;margin-bottom:1em;border-collapse:collapse}table th,table td{border:1px solid #3c3836;padding:8px;text-align:left}th,td{border:1px solid #fbf1c7;padding:8px;text-align:left}th{background-color:#ebdbb2}blockquote{border-left:2px solid #504945;margin:1em 0;padding-left:1em}footer{background-color:#3c3836;color:#d5c4a1} +@import "https://fonts.googleapis.com/icon?family=Material+Icons";body{font-family:Arial, sans-serif;font-size:1.5em;margin:2em;line-height:1.6;height:100vh;width:auto;margin:0;padding:0;text-align:center;background-color:#282828;color:#ebdbb2}.error-image{display:block;margin-left:auto;margin-right:auto}.meta{font-size:0.75em;line-height:1;color:#504945}.center-box{text-align:left;width:15%;margin:auto}header{background-color:#3c3836;color:#ebdbb2}header a{color:#ebdbb2;text-decoration:dotted;font-size:1.5rem}header a i{vertical-align:middle;display:inline-block}nav{background-color:#504945;color:#ebdbb2;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px}.title{font-weight:bolder}.article{width:auto;margin:0 auto;margin-top:0%;text-align:justify;width:30vw}.article h1,.article h2,.article h3,.article h4,.article h5,.article h6{text-align:center}ul,li,ol{margin:0;padding:0;list-style:none}h1,h2,h3,h4,h5,h6{color:#fbf1c7}a{color:#458588}a:hover{color:#689d6a}button{background-color:#b16286;color:#fbf1c7}button:hover{background-color:#458588}p{margin-bottom:1em}pre{background-color:#504945;padding:0.5em;overflow:auto}code{font-family:'Courier New', Courier, monospace;background-color:#504945;color:#d65d0e;padding:0.2em;border-radius:3px}table{border-collapse:collapse;width:100%;margin-bottom:1em;border-collapse:collapse}table th,table td{border:1px solid #3c3836;padding:8px;text-align:left}th,td{border:1px solid #fbf1c7;padding:8px;text-align:left}th{background-color:#ebdbb2}blockquote{border-left:2px solid #504945;margin:1em 0;padding-left:1em}footer{background-color:#3c3836;color:#d5c4a1} /*# sourceMappingURL=style.css.map */ diff --git a/dist/css/style.css.map b/dist/css/style.css.map index 832f4b8..0f0f0a8 100644 --- a/dist/css/style.css.map +++ b/dist/css/style.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAgBQ,iEAAyD,CAkBjE,IAAK,CACD,WAAW,CAAE,iBAAiB,CAC9B,SAAS,CAAE,KAAK,CAEhB,MAAM,CAAE,GAAG,CACX,WAAW,CAAE,GAAG,CAEhB,MAAM,CAAE,KAAK,CACb,KAAK,CAAE,IAAI,CACX,MAAM,CAAE,CAAC,CACT,OAAO,CAAE,CAAC,CAEV,UAAU,CAAE,MAAM,CAElB,gBAAgB,CA9BP,OAAO,CA+BhB,KAAK,CA9BI,OAAO,CAiCpB,KAAM,CACF,SAAS,CAAE,MAAM,CACjB,WAAW,CAAE,CAAC,CACd,KAAK,CAlCO,OAAO,CAqCvB,WAAY,CACR,UAAU,CAAE,IAAI,CAChB,KAAK,CAAE,GAAG,CACV,MAAM,CAAE,IAAI,CAGhB,MAAO,CACH,gBAAgB,CA7CJ,OAAO,CA8CnB,KAAK,CA/CI,OAAO,CAgDhB,QAAE,CACE,KAAK,CAjDA,OAAO,CAkDZ,eAAe,CAAE,MAAM,CACvB,SAAS,CAAE,MAAM,CACjB,UAAE,CACE,cAAc,CAAE,MAAM,CACtB,OAAO,CAAE,YAAY,CAKjC,GAAI,CACA,gBAAgB,CA1DJ,OAAO,CA2DnB,KAAK,CAzDQ,OAAO,CA0DpB,OAAO,CAAE,IAAI,CACb,cAAc,CAAE,GAAG,CAE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,CAAE,IAAI,CAGf,uEAKY,CACR,UAAU,CAAE,MAAM,CAGtB,QAAW,CACP,MAAM,CAAE,CAAC,CACT,OAAO,CAAE,CAAC,CACV,UAAU,CAAE,IAAI,CAGpB,iBAAuB,CACnB,KAAK,CAvGQ,OAAO,CA0GxB,CAAE,CACE,KAAK,CApGM,OAAO,CAqGlB,OAAQ,CACN,KAAK,CApGI,OAAO,CAwGtB,MAAO,CACH,gBAAgB,CA1GH,OAAO,CA2GpB,KAAK,CAnHQ,OAAO,CAoHpB,YAAQ,CACN,gBAAgB,CA9GP,OAAO,CAmHtB,CAAE,CACE,aAAa,CAAE,GAAG,CAGtB,GAAI,CACA,gBAAgB,CAhIJ,OAAO,CAiInB,OAAO,CAAE,KAAK,CACd,QAAQ,CAAE,IAAI,CAGlB,IAAK,CACD,WAAW,CAAE,iCAAiC,CAC9C,gBAAgB,CAvIJ,OAAO,CAwInB,KAAK,CA7HQ,OAAO,CA8HpB,OAAO,CAAE,KAAK,CACd,aAAa,CAAE,GAAG,CAGtB,KAAM,CACF,eAAe,CAAE,QAAQ,CACzB,KAAK,CAAE,IAAI,CACX,aAAa,CAAE,GAAG,CAClB,eAAe,CAAE,QAAQ,CACzB,iBAAO,CACH,MAAM,CAAE,iBAAwB,CAChC,OAAO,CAAE,GAAG,CACZ,UAAU,CAAE,IAAI,CAIxB,KAAO,CACH,MAAM,CAAE,iBAAyB,CACjC,OAAO,CAAE,GAAG,CACZ,UAAU,CAAE,IAAI,CAGpB,EAAG,CACC,gBAAgB,CA9JH,OAAO,CAiKxB,UAAW,CACP,WAAW,CAAE,iBAAwB,CACrC,MAAM,CAAE,KAAK,CACb,YAAY,CAAE,GAAG,CAGrB,MAAO,CACH,gBAAgB,CA3KJ,OAAO,CA4KnB,KAAK,CAxKQ,OAAO", "sources": ["../../src/scss/style.scss"], "names": [], "file": "style.css" diff --git a/src/404.md b/src/404.md index 12a49f9..3f5a656 100644 --- a/src/404.md +++ b/src/404.md @@ -7,4 +7,4 @@ modified: January 25, 2024 # 404: Not Found -[](xertun.webp) \ No newline at end of file +[](xertun.webp) \ No newline at end of file diff --git a/src/blog/firstPost.md b/src/blog/firstPost.md index 0c31207..2526d07 100644 --- a/src/blog/firstPost.md +++ b/src/blog/firstPost.md @@ -7,4 +7,6 @@ modified: January 26, 2024 wowzers first post -

p

\ No newline at end of file + + +me ^ \ No newline at end of file diff --git a/src/scss/style.scss b/src/scss/style.scss index a7b1490..db61141 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -50,6 +50,12 @@ body { color: $gruvbox-fg; } +.error-image { + display: block; + margin-left: auto; + margin-right: auto; +} + .meta { font-size: 0.75em; line-height: 1; diff --git a/static/blogIndex.js b/static/blogIndex.js index 13131c8..7245c84 100644 --- a/static/blogIndex.js +++ b/static/blogIndex.js @@ -15,7 +15,7 @@ function blogIndex() { const liElement = document.createElement('li'); const aElement = document.createElement('a'); - aElement.href = uri; + aElement.href = uri.substring(uri.indexOf('/blog/')); aElement.textContent = name; liElement.appendChild(aElement); ulElement.appendChild(liElement);