parent
9656e942b9
commit
d6cd370a1c
20 changed files with 353 additions and 11 deletions
|
@ -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 }}
|
||||
|
|
21
_config.yml
21
_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"
|
||||
|
|
26
_includes/adventure_footer.html
Normal file
26
_includes/adventure_footer.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<footer>
|
||||
{% assign entries = site.posts | where: "aut", page.aut %}
|
||||
|
||||
{% for entry in entries %}
|
||||
{% if entry.id == page.id %}
|
||||
{% assign this_index = forloop.index0 | to_integer %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% assign next_index = this_index | minus: 1 %}
|
||||
{% assign prev_index = this_index | plus: 1 %}
|
||||
|
||||
{% if prev_index < entries.size %}
|
||||
<span class="previous">
|
||||
<a href="{{ entries[prev_index].url }}">Previous</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
<span class="home">
|
||||
<a href="/journals/{{ page.aut }}">Journal Index</a>
|
||||
</span>
|
||||
{% if next_index >= 0 %}
|
||||
<span class="next">
|
||||
<a href="{{ entries[next_index].url }}">Next</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
</footer>
|
26
_includes/adventure_header.html
Normal file
26
_includes/adventure_header.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<footer>
|
||||
{% assign entries = site.posts | where: "aut", page.aut %}
|
||||
|
||||
{% for entry in entries %}
|
||||
{% if entry.id == page.id %}
|
||||
{% assign this_index = forloop.index0 | to_integer %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% assign next_index = this_index | minus: 1 %}
|
||||
{% assign prev_index = this_index | plus: 1 %}
|
||||
|
||||
{% if prev_index < entries.size %}
|
||||
<span class="previous">
|
||||
<a href="{{ entries[prev_index].url }}">Previous</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
<span class="home">
|
||||
<a href="/journals/{{ page.aut }}">Journal Index</a>
|
||||
</span>
|
||||
{% if next_index >= 0 %}
|
||||
<span class="next">
|
||||
<a href="{{ entries[next_index].url }}">Next</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
</footer>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ page.campaign_name }}</title>
|
||||
{% feed_meta %}
|
||||
<meta name="description"
|
||||
content="{{ page.des }}" />
|
||||
<meta name="author" content="{{ page.author }}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="canonical" href="{{ site.url}}{{ page.url }}" />
|
||||
<link rel="stylesheet" type="text/css" href="/assets/adventure.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="menu-toggle">M</div>
|
||||
<menu>
|
||||
<nav>
|
||||
<h3><a href="/">Site Home</a></h3>
|
||||
<hr>
|
||||
<h2><a href="/adventures/{{ page.campaign }} "></a>{{ page.campaign_name }}</h2>
|
||||
<hr>
|
||||
<ul>
|
||||
{% assign summaries = site.pages |
|
||||
where: "categories", "page.campaign" %}
|
||||
{% for entry in entries %}
|
||||
<li>
|
||||
<a href="{{ entry.url }}">{{ entry.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<hr>
|
||||
<ul>
|
||||
{% assign scenes = site.posts |
|
||||
where_exp: "posts", "posts.categories contains page.campaign" %}
|
||||
{% for scene in scenes %}
|
||||
<li>
|
||||
<a href="{{ scene.url }}">{{ scene.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
</menu>
|
||||
<div class="main-filter"></div>
|
||||
<main>
|
||||
<article>
|
||||
{{ content }}
|
||||
</article>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
6
adventures/eof/characters.md
Normal file
6
adventures/eof/characters.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Characters
|
||||
---
|
||||
|
||||
Noteworthy characters!
|
||||
|
22
adventures/eof/index.markdown
Normal file
22
adventures/eof/index.markdown
Normal file
|
@ -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)
|
6
adventures/eof/locations.md
Normal file
6
adventures/eof/locations.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Locations
|
||||
---
|
||||
|
||||
Important locations!
|
||||
|
6
adventures/eof/setting.md
Normal file
6
adventures/eof/setting.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Setting
|
||||
---
|
||||
|
||||
The setting! Wow!
|
||||
|
134
assets/adventure.css
Normal file
134
assets/adventure.css
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
19
journals/bask/_posts/0001-01-01-background-1.markdown
Normal file
19
journals/bask/_posts/0001-01-01-background-1.markdown
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is a post about my background, part 1.
|
||||
|
||||
# Post Categories?
|
||||
<ul>
|
||||
{% for c in post.categories %}
|
||||
<li>{{ c }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
# Page Categories?
|
||||
<ul>
|
||||
{% for c in page.categories %}
|
||||
<li>{{ c }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
5
journals/bask/_posts/0001-01-02-background-2.markdown
Normal file
5
journals/bask/_posts/0001-01-02-background-2.markdown
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is a post about my background, part 2.
|
5
journals/bask/_posts/0001-01-03-background-3.markdown
Normal file
5
journals/bask/_posts/0001-01-03-background-3.markdown
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is a post about my background, part 3.
|
5
journals/bask/_posts/0001-01-04-background-4.markdown
Normal file
5
journals/bask/_posts/0001-01-04-background-4.markdown
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is a post about my background, part 4.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is a post about my background, part 1.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is my second entry! Wow!
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is a post about my background, part 3.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: journal
|
||||
---
|
||||
|
||||
This is a post about my background, part 4.
|
|
@ -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 %}
|
||||
|
||||
---
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue