diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..5832a11 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,42 @@ +name: Deploy +run-name: ${{ gitea.actor }} is deploying ${{ gitea.repository }} +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + container: + image: docker.gitea.com/runner-images:ubuntu-latest + volumes: + - /opt/hugo/restless-town.makyo.ink:/opt/hugo/restless-town.makyo.ink + env: + DART_SASS_VERSION: 1.98.0 + steps: + - name: Check out repo + uses: actions/checkout@v6 + with: + submodules: 'true' + + - name: Install Hugo + uses: peaceiris/actions-hugo@v3 + with: + hugo-version: '0.157.0' + extended: true + + - name: Install Dart Sass + run: | + curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \ + && tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \ + && cp -r dart-sass/* /usr/local/bin \ + && rm -rf dart-sass* \ + && sass --embedded --version + + - name: Build site + run: | + hugo build --gc --minify --baseURL https://restless-town.makyo.ink --destination /opt/hugo/restless-town.makyo.ink + + - name: Set permissions + run: chown -R www-data:www-data /opt/hugo/restless-town.makyo.ink diff --git a/.gitignore b/.gitignore index e7e3002..421e603 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .hugo_build.lock public +resources/_gen diff --git a/config.toml b/config.toml index 5f832e1..4907b61 100644 --- a/config.toml +++ b/config.toml @@ -5,7 +5,7 @@ theme = 'maddybook' paginatePath = '' [permalinks] - post = '/:filename/' + post = '/:contentbasename/' [params] author = 'Madison Scott-Clary' diff --git a/content/_index.md b/content/_index.md index 8fe6f08..3bc2cd7 100644 --- a/content/_index.md +++ b/content/_index.md @@ -25,16 +25,7 @@ Restless Town is a collection of ten furry short stories from the fictional town Much of the book is available to read for free online if you are unable to afford purchasing, because the global panoramic is still a thing ### Contents -* [The Fool](the-fool) - A student and a motherly badger explore questions of identity through a tarot reading. -* [Disappearance](disappearance) - A weasel attempts to escape from her life in Sawtooth to Oregon, but finds her old life still tied to home. -* [Fisher](fisher) - A fisher walks and hunts for meaning. -* [Centerpiece](centerpiece) - A couple heads to a BDSM play party where the wife will be the Centerpiece for the whole party to enjoy. With fertility already on the mind, will another mink showing up throw a wrench in things? -* [You're Gone](youre-gone) - A husband grieves the loss of his wife through instant messages. -* [Overclassification](overclassification) - A chronically neat otter's life is thrown into disarray when she takes a homeless ringtail in from the cold. -* [Acts of Intent](acts-of-intent) - A coyote burns meaning into the world around him. -* [Every Angel is Terrifying](every-angel-is-terrifying) - Derek MacIver struggles to hold his life together through the ups and downs of bipolar disorder. -* [What Defines Us](what-defines-us) - Darren and his mother struggle with the rammifications of the past repeating itself. -* [A Theory of Attachment](a-theory-of-attachment) - Living with obsessive-compulsive disorder is tough without a support network, so when Sélène's changes, stress runs high. +{{< works corpus="works" >}} ### Content warning diff --git a/content/post/a-theory-of-attachment.md b/content/a-theory-of-attachment.md similarity index 99% rename from content/post/a-theory-of-attachment.md rename to content/a-theory-of-attachment.md index c229e63..e32f20b 100644 --- a/content/post/a-theory-of-attachment.md +++ b/content/a-theory-of-attachment.md @@ -1,20 +1,5 @@ --- -author: Madison Scott-Clary -categories: -- Short Story -series: Sawtooth -ratings: R -date: 2017-12-10 -description: "Living with obsessive-compulsive disorder is tough without a support\ - \ network, so when S\xE9l\xE8ne's changes, stress runs high." -img: flag.svg -type: post -pdf: a-theory-of-attachment.pdf -tags: -- Furry -- Romance -- Sexuality -- Mental Health +type: story title: A Theory of Attachment cw: Mental health (panic attack, OCD), sex scene, mention of abuse --- diff --git a/content/post/acts-of-intent.md b/content/acts-of-intent.md similarity index 96% rename from content/post/acts-of-intent.md rename to content/acts-of-intent.md index 3574e2c..14b4aa3 100644 --- a/content/post/acts-of-intent.md +++ b/content/acts-of-intent.md @@ -1,16 +1,5 @@ --- -author: Madison Scott-Clary -categories: -- Vignette -series: Sawtooth -ratings: G -date: 2017-12-16 -description: A coyote burns meaning into the world around him. -img: flag.svg -type: post -tags: -- Furry -- Magic +type: story title: 'Acts of Intent' --- diff --git a/content/post/centerpiece.md b/content/centerpiece.md similarity index 99% rename from content/post/centerpiece.md rename to content/centerpiece.md index 62ea16d..2bc6ad4 100644 --- a/content/post/centerpiece.md +++ b/content/centerpiece.md @@ -1,18 +1,5 @@ --- -categories: -- Short Story -series: Sawtooth -ratings: X -date: 2016-12-17 -img: flag.svg -type: post -pdf: centerpiece.pdf -rating: X -tags: -- Furry -- Romance -- Sexuality -- Kink +type: story title: Centerpiece cw: Sex and nudity, kink (BDSM, fertility play, humiliation), bad negotiation --- diff --git a/content/post/disappearance.md b/content/disappearance.md similarity index 99% rename from content/post/disappearance.md rename to content/disappearance.md index 1d9a71a..064d740 100644 --- a/content/post/disappearance.md +++ b/content/disappearance.md @@ -1,17 +1,5 @@ --- -categories: -- Short Story -series: Sawtooth -ratings: R -description: A weasel attempts to escape from her life in Sawtooth to Oregon, but finds her old life still tied to home. -date: 2018-08-14 -img: alley-cat.jpg -type: post -pdf: disappearance.pdf -tags: -- Furry -- Romance -- Sexuality +type: story title: Disappearance cw: Mental health (panic attack), sex scene --- diff --git a/content/post/every-angel-is-terrifying.md b/content/every-angel-is-terrifying.md similarity index 99% rename from content/post/every-angel-is-terrifying.md rename to content/every-angel-is-terrifying.md index ea2d1be..b2cc749 100644 --- a/content/post/every-angel-is-terrifying.md +++ b/content/every-angel-is-terrifying.md @@ -1,16 +1,6 @@ --- -type: post +type: story title: Every Angel is terrifying -img: flag.svg -series: Sawtooth -description: Derek MacIver struggles to hold his life together through the ups and downs of bipolar disorder. -date: 2019-05-21 -categories: -- Short story -tags: -- Suicide -- Mental Health -- Furry cw: Mental health (bipolar II, self-harm, suicidality - no graphic description), mention of sex scene --- diff --git a/content/post/fisher.md b/content/fisher.md similarity index 96% rename from content/post/fisher.md rename to content/fisher.md index 6e71e23..215ea73 100644 --- a/content/post/fisher.md +++ b/content/fisher.md @@ -1,14 +1,6 @@ --- -type: post +type: story title: Fisher -description: A fisher walks and hunts for meaning. -date: 2018-09-11 -ratings: G -tags: -- Furry -- Death -categories: -- Flash fiction --- Alv pinned his ears back against his head as he stomped down the length of the block. His boots were too much for the drizzle that the weather offered, but it was that or his threadbare sneakers, and some tiny part of his mind had done the calculation without the rest of him knowing, and he'd tugged the heavy things on for the walk. diff --git a/content/post/overclassification.md b/content/overclassification.md similarity index 99% rename from content/post/overclassification.md rename to content/overclassification.md index 3d2820e..35121d9 100644 --- a/content/post/overclassification.md +++ b/content/overclassification.md @@ -1,18 +1,5 @@ --- -categories: -- Short Story -series: Sawtooth -ratings: R -date: 2017-09-03 -description: A chronically neat otter's life is thrown into disarray when she takes a homeless ringtail in from the cold. -img: overclassification.jpg -type: post -pdf: overclassification.pdf -tags: -- Furry -- Romance -- Sexuality -- Mental health +type: story title: Overclassification cw: Mental health (depression), sex scene --- diff --git a/content/post/the-fool.md b/content/the-fool.md similarity index 98% rename from content/post/the-fool.md rename to content/the-fool.md index d8dea3a..df279f8 100644 --- a/content/post/the-fool.md +++ b/content/the-fool.md @@ -1,17 +1,5 @@ --- -categories: -- Short Story -series: Sawtooth -ratings: G -date: 2017-05-08 -description: A student and a motherly badger explore questions of identity through a tarot reading. -img: the-fool.png -type: post -pdf: the-fool.pdf -tags: -- Furry -- Tarot -- Gender +type: story title: The Fool --- diff --git a/content/post/what-defines-us.md b/content/what-defines-us.md similarity index 97% rename from content/post/what-defines-us.md rename to content/what-defines-us.md index b0ba56f..c534c31 100644 --- a/content/post/what-defines-us.md +++ b/content/what-defines-us.md @@ -1,17 +1,6 @@ --- -date: 2019-07-01 title: What Defines Us -type: post -description: Darren and his mother struggle with the ramifications of the past repeating itself. -img: flag.svg -series: Sawtooth -categories: -- Short story -- Epistolary -tags: -- Furry -- Family -- Divorce +type: story cw: Mention of abuse --- diff --git a/content/post/youre-gone.md b/content/youre-gone.md similarity index 99% rename from content/post/youre-gone.md rename to content/youre-gone.md index ed54ae3..f47d9e3 100644 --- a/content/post/youre-gone.md +++ b/content/youre-gone.md @@ -1,7 +1,6 @@ --- -layout: post +layout: story title: You're Gone -date: 2018-01-26 --- "You're Gone" originally took the form of a piece of interactive fiction. You can play that version [here](https://makyo.ink/assets/posts/youre-gone). diff --git a/data/works.yml b/data/works.yml new file mode 100644 index 0000000..2a410be --- /dev/null +++ b/data/works.yml @@ -0,0 +1,39 @@ +- title: The fool + url: /the-fool + description: A student and a motherly badger explore questions of identity through a tarot reading. + +- title: Disappearance + url: /disappearance + description: A weasel attempts to escape from her life in Sawtooth to Oregon, but finds her old life still tied to home. + +- title: Fisher + url: /fisher + description: A fisher walks and hunts for meaning. + +- title: Centerpiece + url: /centerpiece + description: A couple heads to a BDSM play party where the wife will be the Centerpiece for the whole party to enjoy. With fertility already on the mind, will another mink showing up throw a wrench in things? + +- title: You're Gone + url: /youre-gone + description: A husband grieves the loss of his wife through instant messages. + +- title: Overclassification + url: /overclassification + description: A chronically neat otter’s life is thrown into disarray when she takes a homeless ringtail in from the cold. + +- title: Acts of Intent + url: /acts-of-intent + description: A coyote burns meaning into the world around him. + +- title: Every Angel is Terrifying + url: /every-angel-is-terrifying + description: Derek MacIver struggles to hold his life together through the ups and downs of bipolar disorder. + +- title: What Defines Us + url: /what-defines-us + description: Darren and his mother struggle with the rammifications of the past repeating itself. + +- title: A Theory of Attachment + url: /a-theory-of-attachment + description: Living with obsessive-compulsive disorder is tough without a support network, so when Sélène’s changes, stress runs high. diff --git a/static/css/rt.css b/static/css/rt.css index 2074037..0c5030b 100644 --- a/static/css/rt.css +++ b/static/css/rt.css @@ -14,162 +14,17 @@ header, footer { border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom:1px solid rgba(0, 0, 0, 0.1); } -header { - border-top: none; -} -footer { - border-bottom: none; -} -header a, header a:visited, header a:active, header a:hover { - color: #222; - text-decoration: none; -} -h1 small { - display: block; - font-size: 50%; -} -.title ul { - list-style-type: none; - text-align: center; - margin: 0; - padding: 0; -} -.title ul li { - margin: 1rem 0; - padding: 0; -} -.title ul li a { - display: block; -} -.title ul li p:first-of-type { +.works dt { font-family: "Tom's New Roman", serif; - font-size: 20pt; - text-align: center; } -.title ul li p, { - text-indent: 0; - text-align: justify; -} -.title blockquote:first-of-type { - font-style: italic; -} -.order { - width: 100%; - text-align: center; - margin: 0 auto; -} -.order p { - text-indent: 0; -} -.order a { - display: inline-block; - margin: 0.5rem; +.works .author { + display: none; } ul.pagination { - margin: 1rem 0; - padding: 0; - list-style-type: none; font-family: "Tom's New Roman", serif; - text-align: center; -} -li.page-item { - display: inline-block; - margin: 0; - padding: 0; -} -li.page-item a { - padding: 0 0.5rem; - margin: 0; -} -hr { - border: none; - width: 3em; - margin: 1em auto; -} -hr::before { - content: '§'; - display: block; - text-align: center; -} -main { - margin: 0 auto; - max-width: 640px; - font-family: "Gentium Book Basic", serif; - font-size: 18pt; - text-align: justify; - color: #222; - line-height: 1.5; -} -main p { - margin: 0; - text-indent: 2em; - hyphens: auto; - -webkit-hyphens: auto; -} -main p:first-of-type { - text-indent: 0; -} -main blockquote { - margin: 1rem 0; - padding: 0 0 0 2rem; - border-left: 3px solid #ddd; -} -main blockquote p { - text-indent: 0; -} -main blockquote p + p { - margin-top: 1rem; -} -main blockquote + p { - text-indent: 0; -} -.footnotes { - font-size: 80%; -} -.footnotes ol { - padding-left: 1.5rem; -} -.footnotes hr::before { - content: ''; -} -.footnotes hr { - margin-left: 0; - width: 25%; - border-top: 1px solid #222; -} -.footnotes p { - text-indent: 0; -} -a { - color: #262; -} -a:visited { - color: #266; -} -.title img { - max-width: 100%; - margin: 0 auto; - display: block; -} -img { - max-width: 100%; } h1, h2 { font-family: "Tom's New Roman", sans-serif; text-align: center; } -@media only screen and (max-width: 640px) { - body { - padding: 0; - margin: 0; - } - main, header, footer { - width: 100%; - padding: 0 2rem; - } - .footnotes hr { - width: 50%; - } -} - diff --git a/themes/maddybook b/themes/maddybook index 86431bc..bd745b8 160000 --- a/themes/maddybook +++ b/themes/maddybook @@ -1 +1 @@ -Subproject commit 86431bcf07cdf3d9160f3fb1846f4582302d5c94 +Subproject commit bd745b85b5415134292db00f68efa290dc41c96b