added layouts, some base content

This commit is contained in:
2024-10-31 15:09:35 -05:00
parent c5bc48a2af
commit b668156747
17 changed files with 1501 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
---
layout: "base"
override:tags: []
---
<h1>Campaigns</h1>
<ul class="campaigns">
{{#each collections.campaign}}
<li>
<h1>{{data.title}}</h1>
<p>
{{#each data.seasons}}
<a href="/episodes/s0{{this}}">Season {{this}}</a>
{{/each}}
<a href="{{this.url}}">All</a>
</p>
<p>System: {{data.system.name}}</p>
<a href="{{{this.url}}}">Details...</a>
</li>
{{/each}}
</ul>

View File

@@ -0,0 +1,3 @@
{
"tags": "campaign"
}

113
content/css/style.scss Normal file
View File

@@ -0,0 +1,113 @@
$primary-color: #333;
$secondary-color: #f0f0f0;
@import url('https://fonts.googleapis.com/css2?family=Noticia+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
body {
font-family: Helvetica, sans-serif, sans-serif;
background-color: $secondary-color;
color: $primary-color;
header {
text-align: center;
background-color: #333;
color: white;
padding: 20px 0;
}
ul.campaigns {
list-style-type: none;
li {
margin: 10px;
padding: 10px;
border: solid grey 1px;
border-radius: 10px;
h1 {
text-align: inherit;
}
}
}
nav {
background-color: #333;
overflow: hidden;
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
/* Style the links inside the navigation bar */
a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 10px 12px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
a:hover {
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
a.active {
}
}
h1 {
text-align: center;
}
&.season-5 {
--newspaper-background-texture-image: url(../textures/parchment.jpg);
--newspaper-headline-font: 'Noticia Text';
--newspaper-base-font: 'EB Garamond';
--newspaper-name-font: 'UnifrakturCook';
font-family: var(--newspaper-base-font);
hgroup {
text-align: center;
h1, h2 {
border-bottom: 0px;
font-family: var(--newspaper-headline-font);
line-height: 85%;
}
h1 {
column-count: 1;
font-family: var(--newspaper-name-font);
font-size: 5em;
margin: 8px;
text-align: center;
}
p {
font-style: italic;
}
}
h2 {
text-align: center;
}
article p {
text-align: justify;
}
}
}
header {
background-color: $primary-color;
padding: 10px;
text-align: center;
}
header nav a {
color: $secondary-color;
text-decoration: none;
margin: 0 15px;
}

7
content/data/site.json Normal file
View File

@@ -0,0 +1,7 @@
{
"author": {
"name": "Anthony Correa",
"email": "a@correa.co"
},
"url": "http://localhost:8080"
}

View File

@@ -0,0 +1,5 @@
{
"layout": "episode",
"tags":"episode",
"podcast": true
}

View File

@@ -0,0 +1,14 @@
---
layout: "base"
permalink: "/seasons/"
override:tags: []
---
<ul>
{{#each collections.season}}
<li>
<h1><a href="{{this.url}}">Season {{this.data.season}}</a></h1>
{{{content}}}
</li>
{{/each}}
</ul>

4
content/index.md Normal file
View File

@@ -0,0 +1,4 @@
---
layout: index
---
We are a group of adventurers, storytellers, and dice-rolling enthusiasts who gather weekly to dive into epic campaigns and tell stories together. Whether it's battling ancient dragons, solving mysterious puzzles, or navigating treacherous political intrigues, we bring our characters to life and make unforgettable memories!