From 48d790cd825addc90821e017955e37d3c0409d7b Mon Sep 17 00:00:00 2001 From: Jer Noble Date: Sat, 7 May 2022 21:04:39 -0700 Subject: [PATCH 1/1] Adopt jekyll as a static site builder --- .gitignore | 5 ++ Gemfile | 35 ++++++++++ _config.yml | 21 ++++++ _layouts/episode.html | 9 +++ index.md | 8 +++ sf/.htaccess | 1 - sf/_posts/2022-4-11-Hi-Sheryl.md | 15 ++++ sf/_posts/2022-4-22-Reply-Guys.md | 15 ++++ sf/feed.xml | 109 +++++++++--------------------- sf/index.html | 15 ---- sf/index.md | 15 ++++ 11 files changed, 156 insertions(+), 92 deletions(-) create mode 100644 .gitignore create mode 100644 Gemfile create mode 100644 _config.yml create mode 100644 _layouts/episode.html create mode 100644 index.md delete mode 100644 sf/.htaccess create mode 100644 sf/_posts/2022-4-11-Hi-Sheryl.md create mode 100644 sf/_posts/2022-4-22-Reply-Guys.md delete mode 100644 sf/index.html create mode 100644 sf/index.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f40fbd8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +_site +.sass-cache +.jekyll-cache +.jekyll-metadata +vendor diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..0e6f09e --- /dev/null +++ b/Gemfile @@ -0,0 +1,35 @@ +source "https://rubygems.org" +# Hello! This is where you manage which Jekyll version is used to run. +# When you want to use a different version, change it below, save the +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: +# +# bundle exec jekyll serve +# +# This will help ensure the proper Jekyll version is running. +# Happy Jekylling! +gem "jekyll", "~> 4.2.2" +# This is the default theme for new Jekyll sites. You may change this to anything you like. +gem "minima", "~> 2.5" +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and +# uncomment the line below. To upgrade, run `bundle update github-pages`. +# gem "github-pages", group: :jekyll_plugins +# If you have any plugins, put them here! +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.12" +end + +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", "~> 1.2" + gem "tzinfo-data" +end + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] + +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] + +gem "webrick", "~> 1.7" diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..b60835d --- /dev/null +++ b/_config.yml @@ -0,0 +1,21 @@ +title: RJS Pod +author: Ruchi Jer & Scott +email: pod@rjspod.live +description: Ruchi & Jer explain stuff to Scott +baseurl: "/" +url: "https://rjspod.live" + +# Build settings +theme: minima +plugins: + - jekyll-feed + +# Podcast Feed Settings +podcast: + title: "RJS SF Pod" + email: sf@rjspod.live + description: "Ruchi and Jer explain weird SF politics to Scott." + url: https://rjspod.live/sf + lang: en-us + author: "RJS SF Pod" + copyright: "℗ & © 2022" diff --git a/_layouts/episode.html b/_layouts/episode.html new file mode 100644 index 0000000..2fce471 --- /dev/null +++ b/_layouts/episode.html @@ -0,0 +1,9 @@ +--- +layout: default +--- +
{{ page.date | date_to_string: "ordinal", "US" }}
+

{{ page.title }}

+

{{ page.summary }}

+ +
+

{{ content }}

\ No newline at end of file diff --git a/index.md b/index.md new file mode 100644 index 0000000..16f9b65 --- /dev/null +++ b/index.md @@ -0,0 +1,8 @@ +--- +# Feel free to add content and custom Front Matter to this file. +# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults + +layout: default +title: RJS +--- +[RJS SF Pod](sf) \ No newline at end of file diff --git a/sf/.htaccess b/sf/.htaccess deleted file mode 100644 index 8174e11..0000000 --- a/sf/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Redirect 301 /rjs-sf-pod.xml /feed.xml \ No newline at end of file diff --git a/sf/_posts/2022-4-11-Hi-Sheryl.md b/sf/_posts/2022-4-11-Hi-Sheryl.md new file mode 100644 index 0000000..a8dae13 --- /dev/null +++ b/sf/_posts/2022-4-11-Hi-Sheryl.md @@ -0,0 +1,15 @@ +--- +layout: episode +title: "Hi Sheryl!" +type: podcast +date: 2022-4-11 22:00:00 +file: https://archive.org/download/rjssfpod-episode1/rjssfpod-episode1.mp3 +file_itunes: https://archive.org/download/rjssfpod-episode1/rjssfpod-episode1.mp3 +excerpt: "Ruchi and Jer discuss SF's redistricting fracas, as well as SF's role in California's math policy fracas." +summary: "Ruchi and Jer discuss SF's redistricting fracas, as well as SF's role in California's math policy fracas." +duration: "1:07:14" +length: "56478621" +explicit: "clean" +block: "no" +keywords: "sf, politics, education" +--- diff --git a/sf/_posts/2022-4-22-Reply-Guys.md b/sf/_posts/2022-4-22-Reply-Guys.md new file mode 100644 index 0000000..42ad3fb --- /dev/null +++ b/sf/_posts/2022-4-22-Reply-Guys.md @@ -0,0 +1,15 @@ +--- +layout: episode +title: "AD17, Reply Guys, and the grand Unifying Theory of Dating in SF" +type: podcast +date: 2022-4-22 22:00:00 +file: https://archive.org/download/recording-1_postproductions_2022-04-24-t10-19-41pm-final-mix/recording-1_postproductions_2022-04-24-t10-19-41pm-final-mix.mp3 +file_itunes: https://archive.org/download/recording-1_postproductions_2022-04-24-t10-19-41pm-final-mix/recording-1_postproductions_2022-04-24-t10-19-41pm-final-mix.mp3 +excerpt: "Ruchi, Jer, and scott discuss the recent assembly election, the impact of social media on SF politics, and why dating in SF is so damned hard." +summary: "Ruchi, Jer, and scott discuss the recent assembly election, the impact of social media on SF politics, and why dating in SF is so damned hard." +duration: "1:16:37" +length: "64364541" +explicit: "clean" +block: "no" +keywords: "sf, politics, education" +--- diff --git a/sf/feed.xml b/sf/feed.xml index b185b2b..fbc334f 100644 --- a/sf/feed.xml +++ b/sf/feed.xml @@ -1,92 +1,49 @@ +--- +title: "" +--- - - RJS SF Pod - https://rjspod.live/sf - Ruchi and Jer explain weird SF politics to Scott. - sf@rjspod.live (Podcast) - webmaster@rjspod.live (Webmaster) - en-us - Copyright (C) 2022 RJS Pod. All Rights Reserved. - Mon, 11 Apr 2022 02:00:00 GMT - Mon, 11 Apr 2022 02:00:00 GMT + + {{ site.podcast.title }} + {{ site.podcast.url }}/sf + {{ site.podcast.escription | xml_escape }} + {{ site.podcast.email }} ({{ site.podcast.author }}) + {{ site.podcast.email }} ({{ site.podcast.author }}) + {{ site.podcast.lang }} + Copyright (C) {{ site.time | date: "%Y" }} {{ site.author }}. All Rights Reserved. + {{ site.time | date_to_rfc822 }} + {{ site.time | date_to_rfc822 }} - https://rjspod.live/RJS_pod_1400x1400.jpg - RJS SF Pod - https://rjspod.live/sf + {{ site.podcast.url }}/RJS_pod_1400x1400.jpg + {{ site.podcast.title }} + {{ site.podcast.url }}/sf http://www.rssboard.org/rss-specification - RJS SF Pod + {{ site.podcast.title }} clean - + - sf@rjspod.live (Podcast) + {{ site.email }} (Podcast) - - Hi Sheryl! - https://rjspod.live/sf/episode/1/ - - Ruchi and Jer discuss SF's redistricting fracas, as well as SF's role in California's math policy fracas. - - https://rjspod.live/sf/episode/1/ - Mon, 11 Apr 2022 02:00:00 GMT - - Hi Sheryl! - - Ruchi and Jer discuss SF's redistricting fracas, as well as SF's role in California's math policy fracas. - - adult - - - sf, politics, education - - - - - clean - 1:07:14 - - - AD17, Reply Guys, and the grand Unifying Theory of Dating in SF - https://rjspod.live/sf/episode/2/ - - Ruchi, Jer, and scott discuss the recent assembly election, the impact of social media on SF politics, and why dating in SF is so damned hard. - - https://rjspod.live/sf/episode/2/ - Mon, 25 Apr 2022 02:00:00 GMT - - AD17, Reply Guys, and the grand Unifying Theory of Dating in SF - - Ruchi, Jer, and scott discuss the recent assembly election, the impact of social media on SF politics, and why dating in SF is so damned hard. - - adult - - - sf, politics, education, dating - - - - - clean - 1:16:37 - +{% for post in site.posts %} + {{ post.title | xml_escape }} + {{ site.podcast.url }}{{ post.url }} + {{ post.excerpt | xml_escape }} + {{ site.podcast.url }}{{ post.url }} + {{ post.date | date_to_rfc822 }} + + {{ site.podcast.author }} + {{ post.summary | xml_escape }} + {{ post.duration }} + {{ post.keywords }} + + {{ post.explicit }} + {% endfor %} diff --git a/sf/index.html b/sf/index.html deleted file mode 100644 index 5923b11..0000000 --- a/sf/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - RJS SF Pod - - - -
- Listen on Apple Podcasts -
- - \ No newline at end of file diff --git a/sf/index.md b/sf/index.md new file mode 100644 index 0000000..f27ba64 --- /dev/null +++ b/sf/index.md @@ -0,0 +1,15 @@ +--- +layout: default +title: The SF Pod +--- +Listen on Apple Podcasts + +# Latest Episodes + +{% assign episodes = site.posts | where: "type", "podcast" %} + +{% for episode in episodes %} +## [{{ episode.title }}]({{ episode.url }}) +###### _{{ episode.date | date_to_string: "ordinal", "US" }}_ +{{ episode.summary }} +{% endfor %} -- 2.40.1