From 0054ac2d803e5308778c5fd8219be41fe4459ac7 Mon Sep 17 00:00:00 2001 From: Florrie Date: Tue, 1 Jan 2019 02:14:51 -0400 Subject: New post, , post.config.unlisted --- build.js | 11 ++++++-- site/posts/46-art-dump-december.md | 38 ++++++++++++++++++++++++++ site/posts/46b-test.md | 56 ++++++++++++++++++++++++++++++++++++++ site/static/site.css | 19 +++++++++++++ 4 files changed, 121 insertions(+), 3 deletions(-) create mode 100644 site/posts/46-art-dump-december.md create mode 100644 site/posts/46b-test.md diff --git a/build.js b/build.js index 2be227c..71e9b8a 100644 --- a/build.js +++ b/build.js @@ -481,7 +481,7 @@ const generateArchiveTable = posts => ( ${ - posts.map( + posts.filter(post => !post.config.unlisted).map( post => { const link = getPostPath(post) @@ -604,7 +604,7 @@ const parsePostText = async (text) => { }, attrs) return fixWS` -
+
${filename.match(/^[0-9]+-(.*)$/)[1]} ${options.noext ? '' : fixWS`
(${filename.match(/^[0-9]+-(.*)$/)[1]}.${options.ext}) @@ -691,10 +691,15 @@ const getCategoryData = () => ( ) const getLatestPost = posts => { - let latestPost = posts[0] + let latestPost = posts.find(post => !post.config.unlisted) let latestDate = 0 for (let curPost of posts) { + // If it's unlisted, skip it. + if (curPost.config.unlisted) { + continue + } + const curDate = getDate(curPost) if (curDate > latestDate) { latestPost = curPost diff --git a/site/posts/46-art-dump-december.md b/site/posts/46-art-dump-december.md new file mode 100644 index 0000000..86b1a35 --- /dev/null +++ b/site/posts/46-art-dump-december.md @@ -0,0 +1,38 @@ + + title: "Art dump December!!!!!!!!!!!!" + date: {m: 12, d: 31, y: 2018} + categories: + - 'art' + +--- + +# Art dump December!!!!!!!!!!!! + +December! And with December, the end of 2018. 2018's been a pretty huge year for me and art - I was given a tablet for Christmas last year, and it helped me get more invested in digital art than I was before. Since then, I've posted these art dumps once each month (save for Inktober, spread across [three posts](archive/inktober.html)). + +And now it's December! 12 months of art later! I know I'm going to keep drawing into 2019, of course, but I'm not sure how I'll post them to this blog - I'll probably go at the same monthly, but maybe not. We'll see! Anyway, here are the pieces I drew in December: + +46-wronglayer + +46-dsc + +46-yobbl + +46-klg + +46-vfl + +46-flr + +Oh yeah, I also made a huge [montage][montage] of the art I've drawn over 2018. And I printed it and put it on my wall! It's pretty neat to have all my digital art in a physical form, even if they're super small crops of each picture. Here's the image file that I printed! (You can find most of the art all over my blog, although the grid is sorted alphabetically, not by date.) + +46-montage + +Thanks for checking out my art, and happy new year! 🎉 + +(PS I totally figured out how to make my blog images huuuuuge, courtesy of [this blog post][img-trick]. And I'm definitely going to make use of it! :D) + +(PPS Sorry mobile phone data. :)) + + [montage]: https://www.imagemagick.org/Usage/montage/ + [img-trick]: https://gomakethings.com/how-to-break-an-image-out-of-its-parent-container-with-css/ diff --git a/site/posts/46b-test.md b/site/posts/46b-test.md new file mode 100644 index 0000000..082cfd2 --- /dev/null +++ b/site/posts/46b-test.md @@ -0,0 +1,56 @@ + + title: "Extra Cool Art" + date: {m: 12, d: 31, y: 2018} + categories: + - 'art' + unlisted: true + +--- + +# Extra Cool Art + +These are just some art pieces I made that are especially important to me. Congrats on finding the secret blog post! + +30-scenery-sketch + +31-whoatree + +31-colorrrrs + +33-Honey + +33-Bannnaaar + +34-aaaaaPerspectave + +34-Fastchar + +34-Tree + +35-Sleeeeeeep + +35-creepyabstract + +35-spin + +36-fa + +37-dq4psx + +37-flt + +40-fsctkh + +40-gn + +43-ink14-clock + +44-ink27-thunder + +45-ddra2 + +45-sild + +46-vfl + +46-flr diff --git a/site/static/site.css b/site/static/site.css index b0e5801..03d3444 100644 --- a/site/static/site.css +++ b/site/static/site.css @@ -112,6 +112,25 @@ div.art-container { margin-top: 4px; } +div.art-container.full-width { + margin-top: 24px; + margin-bottom: 12px; + text-align: center; +} + +div.art-container.full-width div { + display: block; + position: relative; + margin-left: calc(-50vw + 4em); + margin-right: calc(-50vw + 4em); + max-width: calc(100vw - 8em); + width: calc(100vw - 8em); + margin-bottom: 12px; +} + +div.art-container.full-width div img { + box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); +} /* Page specific stuff ----------------------------------------------------- */ /* Post pages */ -- cgit 1.3.0-6-gf8a5