Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
LoydOsborne committed Mar 15, 2024
1 parent da30785 commit 523dd8b
Show file tree
Hide file tree
Showing 23 changed files with 288 additions and 50 deletions.
Binary file added .TEMP-jekyll-metadata
Binary file not shown.
File renamed without changes.
19 changes: 16 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ plugins:
- jekyll-feed

# Permalink
permalink: "casting/:title"
permalink: "blog/:title"

# Compress
compress_html:
Expand All @@ -70,13 +70,26 @@ compress_html:
defaults:
-
scope:
type: 'posts'
type: 'castingposts'
values:
layout: post
layout: castingpost
post-image: ""
description: ""
posts_dir: "_castingposts"
tags:
- ""

-
scope:
type: 'blogposts'
values:
layout: blogpost
post-image: ""
description: ""
posts_dir: "_blogposts"
tags:
- ""

-
scope:
type: 'pages'
Expand Down
4 changes: 2 additions & 2 deletions _includes/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</a>
</div>
<div>
<a href="{{site.url}}{{site.baseurl}}/casting"
class="button is-rounded is-uppercase has-text-weight-normal is-black is-outlined">Casting Calls</a>
<a href="{{site.url}}{{site.baseurl}}/blog"
class="button is-rounded is-uppercase has-text-weight-normal is-black is-outlined">Blog</a>
</a>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions _includes/blog-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ <h1 class="title is-size-4-touch">{{post.title}}</h1>
{{ post.content | truncate: 300 | strip_html | strip_newlines | strip | escape }}
<hr class="has-background-grey">
<span class="has-text-grey">Published on <span class="has-text-weight-semibold">{{ post.date | date: "%-B %d, %Y" }}</span></span> | <i class="fas fa-clock"></i> <span class="has-text-weight-semibold">{% assign words = post.content | number_of_words %}{%- unless content.size == 0 -%}{{ words | divided_by:180 }} min{% endunless %}</span> read
<br><span class="has-text-grey">{%- assign tags = post.tags -%}<p class="subtitle is-uppercase"></i>{% assign i = 0 %}{% for tags in post.tags %}<span class="tag is-link">{{post.tags[i]}}</span>{% assign i = i | plus:1 %}{% endfor %}</p></span>
</span>
</div>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion _includes/blogpage-heading.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<nav class="level has-text-centered">
<!-- Left side -->
<div class="level-left">
<p class="subtitle is-uppercase has-text-weight-medium has-text-grey">Casting Calls</p>
<p class="subtitle is-uppercase has-text-weight-medium has-text-grey">Blog</p>
</div>
<!-- Right side -->
<div class="level-right">
Expand Down
6 changes: 3 additions & 3 deletions _includes/dropdown.html → _includes/cast-dropdown.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Cast & Crew
Team
</a>
<div class="navbar-dropdown has-background-black is-left">
<a class="navbar-item {% if page.type == 'team' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/team">Management</a>
<a class="navbar-item {% if page.type == 'cast' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/cast">Cast</a>
href="{{site.url}}{{site.baseurl}}/cast">Cast Members</a>
<a class="navbar-item {% if page.type == 'crew' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/crew">Crew</a>
href="{{site.url}}{{site.baseurl}}/crew">Crew Members</a>
<!-- <a class="navbar-item {% if page.type == 'discussion' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/discussions">Discussions</a> -->
</a>
Expand Down
17 changes: 17 additions & 0 deletions _includes/casting-card.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="columns has-text-centered" id="blog-card">
<div class="column is-marginless is-paddingless is-one-third-desktop is-one-third-fullhd is-one-third-tablet">
<div class="image is-16by9" style="background-image: url({{post.post-image}});"></div>
</div>
<a href="{{post.url | absolute_url}}">
<div class="column has-text-left-desktop has-text-left-tablet">
<h1 class="title is-size-4-touch">{{post.title}}</h1>
<div class="content has-text-grey">
{{ post.content | truncate: 300 | strip_html | strip_newlines | strip | escape }}
<hr class="has-background-grey">
<span class="has-text-grey">Published on <span class="has-text-weight-semibold">{{ post.date | date: "%-B %d, %Y" }}</span></span> | <i class="fas fa-clock"></i> <span class="has-text-weight-semibold">{% assign words = post.content | number_of_words %}{%- unless content.size == 0 -%}{{ words | divided_by:180 }} min{% endunless %}</span> read
<br><span class="has-text-grey">{%- assign tags = post.tags -%}<p class="subtitle is-uppercase"></i>{% assign i = 0 %}{% for tags in post.tags %}<span class="tag is-link">{{post.tags[i]}}</span>{% assign i = i | plus:1 %}{% endfor %}</p></span>
</span>
</div>
</div>
</a>
</div>
13 changes: 13 additions & 0 deletions _includes/castingpage-heading.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Main container -->
<nav class="level has-text-centered">
<!-- Left side -->
<div class="level-left">
<p class="subtitle is-uppercase has-text-weight-medium has-text-grey">Casting Calls</p>
</div>
<!-- Right side -->
<div class="level-right">
<div class="level-item">
{% include search.html %}
</div>
</div>
</nav>
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3>More Links</h3>
<!--Blog-post Section-->
<div class="column has-text-white">
<h3>Recent Posts</h3>
{% for post in site.posts offset: 0 limit:3 %}
{% for blogpost in site.blogposts offset: 0 limit:3 %}
<li>
<a href="{{post.url | absolute_url}}">{{post.title}}</a>
</li>
Expand Down
11 changes: 4 additions & 7 deletions _includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@
<div class="navbar-end">
<a class="navbar-item {% if page.layout == 'default' %}is-active{% endif %}"
href="{% if page.layout == 'default' %}{{site.url}}{{site.baseurl}}/#{% else %}{{site.url}}{{site.baseurl}}/{% endif %}">Home</a>
<a class="navbar-item {% if page.layout == 'blog' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/casting">Casting</a>
<a class="navbar-item {% if page.type == 'resources' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/resources">Resources</a>
<!-- <a class="navbar-item {% if page.type == 'discussion' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/discussions">DISCUSSIONS [beta]</a> -->
{% include dropdown.html %}
<a class="navbar-item {% if page.type == 'show' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/shows">Shows</a>
<a class="navbar-item {% if page.type == 'schedule' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/schedule">Schedule</a>
{% include cast-dropdown.html %}
{% include releases-dropdown.html %}
<a class="navbar-item {% if page.type == 'blog' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/blog">Blog</a>
</div>
</div>
</div>
Expand Down
16 changes: 16 additions & 0 deletions _includes/releases-dropdown.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Shows
</a>
<div class="navbar-dropdown has-background-black is-left">
<a class="navbar-item {% if page.type == 'show' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/shows">Show List</a>
<a class="navbar-item {% if page.type == 'schedule' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/schedule">Schedule</a>
</a>
<!-- <hr class="navbar-divider">
<a class="navbar-item">
Report an issue
</a> -->
</div>
</div>
File renamed without changes.
44 changes: 44 additions & 0 deletions _layouts/casting.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
layout: compress
---

<!DOCTYPE html>
<html>

{% include head.html %}

<body>
{% include navbar.html %}

<section class="hero is-fullheight" id="blog">
<div class="hero-body">
<div class="container">
{% include castingpage-heading.html %}
<h2>This page will soon be removed. Start replacing "/casting" with "/blog" in your URLs.</h2>
</div>
</div>
<div id="results-container"></div>
<!--Blog Cards Section-->
{% for post in site.posts %}
{% include casting-card.html %}
{% endfor %}
</div>
</section>
<br>
<!--Footer begins here-->
{% include footer.html %}
<script src="{{site.url}}{{site.baseurl}}/assets/js/simple-jekyll-search.js"></script>

<script>
SimpleJekyllSearch({
searchInput: document.getElementById('search'),
resultsContainer: document.getElementById('results-container'),
json: '{{site.url}}{{site.baseurl}}/search.json',
searchResultTemplate: '<div style="border: 0.15rem dashed black" class="searchResult columns has-text-centered" id="blog-card"><div class="column is-marginless is-paddingless is-one-third-desktop is-one-third-fullhd is-one-third-tablet"><div class="image is-16by9" style="background-image: url({image});"></div></div><a href="{url}"><div class="column has-text-left-desktop has-text-left-tablet"><h1 class="title is-size-4-touch">{title}</h1><div class="content has-text-grey">{content}<hr class="has-background-grey"><span class="has-text-grey">Published on <span class="has-text-weight-semibold">{date}</span></span> | <i class="fas fa-clock"></i> <span class="has-text-weight-semibold">{readtime} min</span> read</div></div></a></div>',
noResultsText: '<div class="subtitle has-text-centered is-uppercase">No Results Found</div><hr class="has-background-black" style="margin: 0.5rem 5rem 2.5rem 5rem">',
fuzzy: true,
});
</script>
</body>

</html>
85 changes: 85 additions & 0 deletions _layouts/castingpost.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
layout: compress
---

<!DOCTYPE html>
<html>

<head>
{% include head.html %}
</head>

<body>
{% include navbar.html %}

<section class="hero is-fullheight has-text-centered" id="post">
<div class="hero-body">
<div class="container">
<a href="{{page.url | relative_url}}" class="has-text-black" id="title">
<h1 class="title has-text-centered is-2 has-text-weight-semibold ">{{page.title}}</h1>
</a>
<hr class="has-background-black">
<div class="columns is-variable is-5">
<div class="column is-6">
<figure class="image is-16by9 has-shadow">
<img src="{{page.post-image}}" alt="{{post.title}}" id="post-image">
</figure>
</div>
<div class="subtitle column is-5 has-text-left-desktop has-text-left-fullhd has-text-left-tablet has-text-center-mobile">
{% unless page.description.size == 0 %}
<p id="description" class="content is-small has-text-weight-medium is-uppercase">{{page.description | strip | strip_html | strip_newlines }}</p>
{% endunless %}
<p class="subtitle is-6 is-uppercase has-text-weight-normal has-text-black-ter">Published on
<b>{{ page.date | date: "%-B %d, %Y" }}</b> by <a href="{% if site.author-url %}{{site.author-url}}{% else %}{{site.url}}{{site.baseurl}}/#about{% endif %}" target="_blank"><b class="has-text-link"><u>{{site.author-name}}</u></b>
</a>
</p>
{%- assign tags = page.tags -%}
{%- unless tags.size == 0 -%}
<p class="subtitle is-uppercase">
<i class="fas fa-tags"></i>
{% assign i = 0 %}
{% for tags in page.tags %}
<span class="tag is-link">{{page.tags[i]}}</span>
{% assign i = i | plus:1 %}
{% endfor %}
</p>
{%- endunless -%}
{% assign words = content | number_of_words %}
{%- unless content.size == 0 -%}
<p class="subtitle is-uppercase"><i class="fas fa-clock"></i> <b class="has-text-link">
{{ words | divided_by:180 }} min
</b>READ</p>
{%- endunless -%}
</div>
</div>
<div class="content has-text-justified-desktop has-text-justified-fullhd has-text-justified has-text-justified-tablet has-text-left-mobile">
<p>{{ content }}</p>
</div>
{% unless site.disqus-shortname == "" %}
<div class="disqus-comments" id="disqus_thread"></div>
{% endunless %}
</div>
</div>
</section>
{% include footer.html %}
</body>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function () { /* DON'T EDIT BELOW THIS LINE */
var d = document,
s = d.createElement('script');
s.src = 'https://{{site.disqus-shortname}}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>

</html>
6 changes: 3 additions & 3 deletions _posts/2024-01-18-the-universe.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: The Universe
layout: post
layout: blogpost
type: blog
post-image: "https://cdn.scyted.tv/website-assets/casting-calls/the-universe.jpg"
description: Looking for writers!
tags:
- Team Alpha
- Writer
- Casting
---

*We have a pre-recorded story for the first season and we need some writers to help take this pre-recorded audio and write it into a script so we can get proper voice actors to record the lines.*
Expand Down
6 changes: 3 additions & 3 deletions _posts/2024-02-12-clever-remarks.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Clever Remarks (Season 1)
layout: post
layout: blogpost
type: blog
post-image: "https://cdn.scyted.tv/website-assets/casting-calls/clever-remarks.jpg"
description: The Game Show where we answer some of the world's silliest questions.
tags:
- Team Alpha
- Actor
- Casting
---

> **All casting for Clever Remarks Season 1 has been completed. We are no longer accepting new applicants.**
Expand Down
6 changes: 3 additions & 3 deletions _posts/2024-03-05-extra-extra.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Extra, Extra!
layout: post
layout: blogpost
type: blog
post-image: "https://cdn.scyted.tv/website-assets/casting-calls/extra-extra.jpg"
description: Looking for writers!
tags:
- Team Alpha
- Writer
- Casting
---

*We’re looking for writers to help write our upcoming news show, "Extra, Extra!".*
Expand Down
11 changes: 11 additions & 0 deletions _posts/2024-04-01-q1-2024.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Q1 2024 Report
layout: blogpost
type: blog
post-image: "https://cdn.scyted.tv/website-assets/blog-posts/q1-2024-report.jpg"
description: Quarterly Report for Q1 2024
tags:
- Quarterly Report
---

*Coming soon!*
1 change: 1 addition & 0 deletions blog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Casting
layout: blog
type: blog
---

5 changes: 3 additions & 2 deletions casting.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Casting
layout: blog
title: Casting Calls
layout: casting
type: blog
---

Loading

0 comments on commit 523dd8b

Please sign in to comment.