From d6cd370a1cc3762deed87450c6e14c524a88b4ce Mon Sep 17 00:00:00 2001 From: Bill Niblock Date: Fri, 14 Jun 2024 12:46:00 -0400 Subject: [PATCH] Big update dump --- .forgejo/workflows/publish.yaml | 1 + _config.yml | 21 ++- _includes/adventure_footer.html | 26 ++++ _includes/adventure_header.html | 26 ++++ _layouts/adventure.html | 49 +++++++ adventures/eof/characters.md | 6 + adventures/eof/index.markdown | 22 +++ adventures/eof/locations.md | 6 + adventures/eof/setting.md | 6 + assets/adventure.css | 134 ++++++++++++++++++ .../_posts/0001-01-01-background-1.markdown | 19 +++ .../_posts/0001-01-02-background-2.markdown | 5 + .../_posts/0001-01-03-background-3.markdown | 5 + .../_posts/0001-01-04-background-4.markdown | 5 + .../_posts/0001-01-01-background-1.markdown | 5 + .../_posts/0001-01-02-background-2.markdown | 5 + .../_posts/0001-01-03-background-3.markdown | 5 + .../_posts/0001-01-04-background-4.markdown | 5 + journals/nataliah/index.markdown | 9 +- journals/seventh/index.markdown | 4 +- 20 files changed, 353 insertions(+), 11 deletions(-) create mode 100644 _includes/adventure_footer.html create mode 100644 _includes/adventure_header.html create mode 100644 adventures/eof/characters.md create mode 100644 adventures/eof/index.markdown create mode 100644 adventures/eof/locations.md create mode 100644 adventures/eof/setting.md create mode 100644 assets/adventure.css create mode 100644 journals/bask/_posts/0001-01-01-background-1.markdown create mode 100644 journals/bask/_posts/0001-01-02-background-2.markdown create mode 100644 journals/bask/_posts/0001-01-03-background-3.markdown create mode 100644 journals/bask/_posts/0001-01-04-background-4.markdown create mode 100644 journals/nataliah/_posts/0001-01-01-background-1.markdown create mode 100644 journals/nataliah/_posts/0001-01-02-background-2.markdown create mode 100644 journals/nataliah/_posts/0001-01-03-background-3.markdown create mode 100644 journals/nataliah/_posts/0001-01-04-background-4.markdown diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index fe50d3f..73fe8dd 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -6,6 +6,7 @@ jobs: image: jvconseil/jekyll-docker steps: - uses: actions/checkout@v4 + - run: mkdir .jekyll-cache - run: bundle install - run: jekyll build --trace - run: ls ${{ github.workspace }} diff --git a/_config.yml b/_config.yml index f5a6a8d..cf95969 100644 --- a/_config.yml +++ b/_config.yml @@ -17,7 +17,21 @@ collections: - tools defaults: - ## Defaults for Nataliah Journals ## + # ### + # Defaults for Adventures + # ### + ## Essence of Fate ## + - + scope: + path: "adventures/eof" + values: + layout: "adventure" + campaign: "essence" + campaign_name: "Essence of Fate" + # ### + # Defaults for Journals + # ### + ## Nataliah ## - scope: path: "journals/nataliah" @@ -30,8 +44,7 @@ defaults: My name is Nataliah Kas Zhukoff. At the suggestion of my master Jhoric Stonehammer, I am keeping this journal of my progress and discoveries. des: Journal of the alchemist apprentice Nataliah Kas Zhukoff - - ## Defaults for Bask Journals ## + ## Bask ## - scope: path: "journals/bask" @@ -43,7 +56,7 @@ defaults: description: >- I'm Bask, I hit things with my sword. des: Journal of the eldritch knight Bask Temlin - ## Defaults for 7th Ancillary Journals ## + ## Seventh ## - scope: path: "journals/seventh" diff --git a/_includes/adventure_footer.html b/_includes/adventure_footer.html new file mode 100644 index 0000000..60eb795 --- /dev/null +++ b/_includes/adventure_footer.html @@ -0,0 +1,26 @@ + diff --git a/_includes/adventure_header.html b/_includes/adventure_header.html new file mode 100644 index 0000000..60eb795 --- /dev/null +++ b/_includes/adventure_header.html @@ -0,0 +1,26 @@ + diff --git a/_layouts/adventure.html b/_layouts/adventure.html index e69de29..c3bcca6 100644 --- a/_layouts/adventure.html +++ b/_layouts/adventure.html @@ -0,0 +1,49 @@ + + + + {{ page.campaign_name }} + {% feed_meta %} + + + + + + + + + + + +
+
+
+ {{ content }} +
+
+ + diff --git a/adventures/eof/characters.md b/adventures/eof/characters.md new file mode 100644 index 0000000..5d48d20 --- /dev/null +++ b/adventures/eof/characters.md @@ -0,0 +1,6 @@ +--- +title: Characters +--- + +Noteworthy characters! + diff --git a/adventures/eof/index.markdown b/adventures/eof/index.markdown new file mode 100644 index 0000000..5ef27ff --- /dev/null +++ b/adventures/eof/index.markdown @@ -0,0 +1,22 @@ +--- +campaign: essence +--- + +_Essence of Fate_ is a campaign-length adventure. + +## System + +This adventure is written for Pathfinder First Edition, but can be easily +adopted for use with many other systems. Where possible, specific number and +meta values are left generic. + +## Party + +This adventure is written for the standard 4-player party, but can be adjusted +relatively easily for a different size. + +## Quick Links + +- [Setting Overview](setting.md) +- [Location Overview](locations.md) +- [Character Overview](characters.md) diff --git a/adventures/eof/locations.md b/adventures/eof/locations.md new file mode 100644 index 0000000..1a5f9d1 --- /dev/null +++ b/adventures/eof/locations.md @@ -0,0 +1,6 @@ +--- +title: Locations +--- + +Important locations! + diff --git a/adventures/eof/setting.md b/adventures/eof/setting.md new file mode 100644 index 0000000..3da8ac5 --- /dev/null +++ b/adventures/eof/setting.md @@ -0,0 +1,6 @@ +--- +title: Setting +--- + +The setting! Wow! + diff --git a/assets/adventure.css b/assets/adventure.css new file mode 100644 index 0000000..b13588a --- /dev/null +++ b/assets/adventure.css @@ -0,0 +1,134 @@ +html { + background-color: black; +} + +/* Layout */ +body { + display: flex; + margin: 0 auto; max-width: 1620px; + background-color: antiquewhite; +} +.menu-toggle { + display: none; +} +menu { + height: 100vh; width: 20%; max-width: 350px; min-width: 250px; + position: sticky; top: 0; left: 0; + padding: 0; margin: 0; z-index:5; + outline:none; + background-color: antiquewhite; + overflow-y: scroll; + + .meta_buttons { + margin: 0; padding: 0 10%; + } + + nav { + margin: 0 0 2vh 0; + padding: 0 10%; + + h2,h3 { + text-align: center; + } + + ul { + list-style: none; + } + + li { + padding: 0.2em 0; + } + } +} +main { + position:relative; + height:100vh; width: 100%; + overflow-y: scroll; +} +main article { + margin: 3vh auto; padding: 0; max-width: 90%; +} +.main-filter { + display: none; +} +/* Typography */ +html { + font-family: sans-serif; +} +a,a:visited,a:link,a:focus { + text-decoration: none; + color: purple; + transition: color 0.5s; +} +a:hover { + color: darkorchid; + transition: color 0.5s; + text-decoration: underline; +} +figcaption { + font-size: 1.5rem; +} + +footer { + display: flex; justify-content: space-between; + position: sticky; bottom: 1vh; left: 1vw; right: 1vw; + padding: 1em; + border-top: 1px solid black; border-bottom: 1px solid black; + background-color: #333; box-shadow: 0 10px 10px grey; + + a,a:visited,a:link,a:focus,a:hover { + text-decoration: none; + color: lightgrey; + transition: color 0.5s; + } +} + +article h1 {} +article h2 {} +article h3 {} +article h4 {} +article h5 {} + +/* Responsive */ +@media only screen and (max-width: 900px) { + body { + overflow-y: hidden; + } + .menu-toggle { + display: block; + position: fixed; + top: 0; left: 0; right: 0; + height: 3vh; + z-index: 10; + background-color: black; color: white; + text-align: center; + + &:focus + menu,&:active + menu,&:target + menu { + top: 10vh; + transition: top 0.7s ease-in-out; + } + &:focus ~ .main-filter,&:active ~ .main-filter,&:target ~ .main-filter { + display: block; + transition: display 0.3s ease-in-out; + } + } + menu { + height: 90vh; width: 100vw; max-width: 100%; min-width: 100%; + position: absolute; top: 100vh; left: 0; right: 0; + padding: 0; margin: 0; z-index:5; + outline:none; + background-color: antiquewhite; + overflow-y: scroll; + transition: top 1s ease-in-out; + } + .main-filter { + position: fixed; top: 0; left: 0; right: 0; bottom: 0; + background-color: black; + opacity: 0.5; + transition: display; + } + main { + padding-top: 3vh; + height: 97vh; + } +} diff --git a/journals/bask/_posts/0001-01-01-background-1.markdown b/journals/bask/_posts/0001-01-01-background-1.markdown new file mode 100644 index 0000000..6983fff --- /dev/null +++ b/journals/bask/_posts/0001-01-01-background-1.markdown @@ -0,0 +1,19 @@ +--- +layout: journal +--- + +This is a post about my background, part 1. + +# Post Categories? + + +# Page Categories? + diff --git a/journals/bask/_posts/0001-01-02-background-2.markdown b/journals/bask/_posts/0001-01-02-background-2.markdown new file mode 100644 index 0000000..87433d3 --- /dev/null +++ b/journals/bask/_posts/0001-01-02-background-2.markdown @@ -0,0 +1,5 @@ +--- +layout: journal +--- + +This is a post about my background, part 2. diff --git a/journals/bask/_posts/0001-01-03-background-3.markdown b/journals/bask/_posts/0001-01-03-background-3.markdown new file mode 100644 index 0000000..7c1126a --- /dev/null +++ b/journals/bask/_posts/0001-01-03-background-3.markdown @@ -0,0 +1,5 @@ +--- +layout: journal +--- + +This is a post about my background, part 3. diff --git a/journals/bask/_posts/0001-01-04-background-4.markdown b/journals/bask/_posts/0001-01-04-background-4.markdown new file mode 100644 index 0000000..53a01b6 --- /dev/null +++ b/journals/bask/_posts/0001-01-04-background-4.markdown @@ -0,0 +1,5 @@ +--- +layout: journal +--- + +This is a post about my background, part 4. diff --git a/journals/nataliah/_posts/0001-01-01-background-1.markdown b/journals/nataliah/_posts/0001-01-01-background-1.markdown new file mode 100644 index 0000000..2c42f60 --- /dev/null +++ b/journals/nataliah/_posts/0001-01-01-background-1.markdown @@ -0,0 +1,5 @@ +--- +layout: journal +--- + +This is a post about my background, part 1. diff --git a/journals/nataliah/_posts/0001-01-02-background-2.markdown b/journals/nataliah/_posts/0001-01-02-background-2.markdown new file mode 100644 index 0000000..d53b3d3 --- /dev/null +++ b/journals/nataliah/_posts/0001-01-02-background-2.markdown @@ -0,0 +1,5 @@ +--- +layout: journal +--- + +This is my second entry! Wow! diff --git a/journals/nataliah/_posts/0001-01-03-background-3.markdown b/journals/nataliah/_posts/0001-01-03-background-3.markdown new file mode 100644 index 0000000..7c1126a --- /dev/null +++ b/journals/nataliah/_posts/0001-01-03-background-3.markdown @@ -0,0 +1,5 @@ +--- +layout: journal +--- + +This is a post about my background, part 3. diff --git a/journals/nataliah/_posts/0001-01-04-background-4.markdown b/journals/nataliah/_posts/0001-01-04-background-4.markdown new file mode 100644 index 0000000..53a01b6 --- /dev/null +++ b/journals/nataliah/_posts/0001-01-04-background-4.markdown @@ -0,0 +1,5 @@ +--- +layout: journal +--- + +This is a post about my background, part 4. diff --git a/journals/nataliah/index.markdown b/journals/nataliah/index.markdown index 8e13fdd..09c4e8c 100644 --- a/journals/nataliah/index.markdown +++ b/journals/nataliah/index.markdown @@ -1,15 +1,14 @@ --- -layout: journal --- - # This is the index page. Certain Stuff can go here, and then the most recent entry shows below. -## Posts: -{% for post in site.posts %} -- {{ post.title }} +## Tags + +{% for tag in site.tags %} +- {{ tag }} {% endfor %} --- diff --git a/journals/seventh/index.markdown b/journals/seventh/index.markdown index 9b6e96d..cd24f61 100644 --- a/journals/seventh/index.markdown +++ b/journals/seventh/index.markdown @@ -16,10 +16,10 @@ layout: journal - [{{ page.title }}]({{ page.url }}) {% endfor %} +{% assign recent = site.posts | where: "aut", page.aut | first %} --- -# Our Most Recent Adventure +# Our Most Recent Adventure: {{ recent.title }} --- -{% assign recent = site.posts | where: "aut", page.aut | first %} {{ recent.content }}