jekyll-podcaster 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: df4a61d210adf7ad1ac09cd679f77ba3cd82e3e31a9966a75f413fbd6a045c33
4
+ data.tar.gz: e14a60b02ead166b767b082a05ad67fba934db02b200f59715825029cbb07a10
5
+ SHA512:
6
+ metadata.gz: 5101d751937290f506d94cb879f94dd46aad16450c1b6c658404e212ca56307f87a06de976437c16e68bc5c7d3bd41ae04fd3f9b4ca19a12d77de67b68327246
7
+ data.tar.gz: 84680198046ae63b6d953d6cc2c9f785b6fab21a6644af9a6fe3261a918ca1d4267ee761b29856d1bf587a2c667ac80e27e19c9951c777247862c8d42878c1a2
@@ -0,0 +1,23 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Alessio Franceschi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ Keep the author's name in the footer.
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
@@ -0,0 +1,136 @@
1
+ # [Jekyll Podcaster](https://jekyll-podcaster.netlify.app/)
2
+ [![Netlify Status](https://api.netlify.com/api/v1/badges/249c3da6-7b23-4b57-915d-71934329e306/deploy-status)](https://jekyll-podcaster.netlify.app/)
3
+ [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/PandaSekh/Jekyll-Podcaster/issues)
4
+ [![GitHub forks](https://img.shields.io/github/forks/PandaSekh/Jekyll-Podcaster)](https://github.com/PandaSekh/Jekyll-Podcaster/network)
5
+ ## [Live Demo](https://jekyll-podcaster.netlify.app/)
6
+
7
+ ![Homepage](https://raw.githubusercontent.com/PandaSekh/Jekyll-Podcaster/master/assets/screenshots/Homepage.png)
8
+
9
+ Jekyll Podcaster is a [Jekyll](http://jekyllrb.com) theme built for podcasters. Every podcast needs a great website and this theme helps you achieve that.
10
+
11
+ Please note that this theme will not build a RSS feed for your podcast, meaning that this is just for showcasing your podcast and not for distributing it. You still need to use a distribution platform.
12
+
13
+ ## Contents
14
+
15
+ - [Screenshots](#screenshots)
16
+ - [Installation](#installation)
17
+ - [Customize](#customize)
18
+ - [Basics](#basics)
19
+ - [Links](#links)
20
+ - [Includes](#includes)
21
+ - [Colors](#colors)
22
+ - [Images](#images)
23
+ - [config.yml](#config.yml)
24
+ - [Development](#development)
25
+ - [Credits](#credits)
26
+ - [License](#license)
27
+
28
+ ## Screenshots
29
+ Mobile:
30
+ ![Mobile](https://raw.githubusercontent.com/PandaSekh/Jekyll-Podcaster/master/assets/screenshots/Mobile.png)
31
+
32
+ ## Installation
33
+
34
+ There are four way to use this theme: Netlify, Github Pages, as a gem-based theme and by forking this repo.
35
+
36
+ ### Download the files
37
+ You can [download the files](https://github.com/PandaSekh/Jekyll-Podcaster/releases/latest) and add them in your directory to start working.
38
+
39
+ ### Netlify
40
+
41
+ 1. [Fork this repo](https://github.com/PandaSekh/Jekyll-Podcaster/generate). You can copy only master, set it to private or public and name it however you want.
42
+ 2. Go to [Netlify](https://app.netlify.com/), create a New site from Git, choose your repo or all repos, no difference. Back to Netlify, select the recently forked repo.
43
+ 3. Owner and branch are good to go. In build command write `bundle exec jekyll build` and publishing directory should be `_site/`.
44
+ 4. Deploy. Your site will shortly be available. Under domain settings you can change your subdomain, or add a primary level one.
45
+
46
+ ### Github Pages
47
+
48
+ Github Pages uses the [--safe flag](https://jekyllrb.com/docs/configuration/options/) to build jekyll websites, which disable custom plugins, caching to disk and ignore symbolic links. Because of that, I suggest you to use any other method. Netlify works great with a 5 minute config, so I suggest you use it.
49
+
50
+ 1. [Fork this repo](https://github.com/PandaSekh/Jekyll-Podcaster/generate).
51
+ 2. Create a new branch in your repo and call it `gh-pages`.
52
+ 3. Publish your website and choose gh-pages as the target branch.
53
+
54
+ ### Remote theme
55
+
56
+ [Follow these instructions](https://help.github.com/en/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll).
57
+
58
+ ### Gem-based theme
59
+ 1. Add this line to your Jekyll site's `Gemfile`:
60
+
61
+ ```ruby
62
+ gem "jekyll-podcaster"
63
+ ```
64
+
65
+ 2. And add this line to your Jekyll site's `_config.yml`:
66
+
67
+ ```yaml
68
+ theme: jekyll-podcaster
69
+ ```
70
+
71
+ 3. And then execute:
72
+
73
+ ``` bash
74
+ $ bundle
75
+ ```
76
+
77
+ 4. Or install it yourself as:
78
+
79
+ ``` bash
80
+ $ gem install jekyll-podcaster
81
+ ```
82
+
83
+ ## Customize
84
+ TODO: Explain how to customize theme.
85
+
86
+ ### Basics
87
+ In `_data/settings.yml` you can activate Disqus comments by adding your Disqus shortname.
88
+ `translate-date` activate translation for the months. If set to true, you can translate months in the file `_includes/date.html`.
89
+ If `shownotes` is set to true, every post/episode will include the `_includes/shownotes.html` file. You can use it to add the same text under every post, in case you need to spam your merch store or Patreon, for example.
90
+
91
+ ### Links
92
+ In `_data/settings.yml` you can add links next to the Podcast title, social links in the sidebar and links to your podcast.
93
+ The social links have a "type" attribute, which defines Font Awesome's font type (fas is solid, fab is brand). Out of the box this theme has support colors for a bunch of social. If your social isn't supported, just add the color in the `sidebar.css`.
94
+
95
+ ### Includes
96
+ Modifying file in the `_includes` folder can break things, so please be careful. You should modify only these files:
97
+ - `date.html` to translate the website to your language;
98
+ - `playerjs.html` if you need to translate the player;
99
+ - `shownotes.html` to change your shownotes.
100
+
101
+ Everything else is modified automatically when you cnage your `settings.yml` and `config.yml` files.
102
+
103
+ ### Colors
104
+ You can change colors in the `_sass/base.scss` and `_sass/sidebar.scss` files.
105
+ Changing the "wave" colors is a bit harder. You need to decode the svg in the `_scss/background.scss` file, the one in the `background-image` tag. To do that, please refer [to this website](https://mothereff.in/url). Once decoded, change the `path fill` attribute, then encode again and use it.
106
+
107
+ ### Images
108
+ You need three different dimensions of your podcast cover for this website:
109
+ - Podcast_Cover_500.jpg --> 500x500 pixels
110
+ - Podcast_Cover_Small.jpg --> 210x210 pixels
111
+ - Podcast_Cover.jpg --> High-Res, I use 3000x3000 pixels
112
+
113
+ Put those images in the /assets/img/ folder.
114
+
115
+ ### config.yml
116
+ It's the usual file in every Jekyll theme. Just compile it. The last part about the podcast metadata is optional, as at the moment this theme won't create a RSS feed. It's just there in case I find the time to add it in the future.
117
+
118
+
119
+ ## Development
120
+
121
+ [Contributions are welcomed and encouraged](https://github.com/PandaSekh/Jekyll-YAMT/issues).
122
+
123
+ To set up your environment to develop this theme, run `bundle install`.
124
+
125
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
126
+
127
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
128
+ To add a custom directory to your theme-gem, please edit the regexp in `yamt.gemspec` accordingly.
129
+
130
+ ## Credits
131
+ Theme designed and created by [Alessio Franceschi](https://github.com/PandaSekh/).
132
+
133
+ ## License
134
+ The theme is available as open source under the terms of the [MIT License](https://github.com/PandaSekh/Jekyll-YAMT/blob/master/LICENSE.txt).
135
+ TL;DR
136
+ Use it for free but keep my name in the footer. Thanks!
@@ -0,0 +1,9 @@
1
+ <!-- Global site tag (gtag.js) - Google Analytics -->
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.settings.analytics-id }}"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', '{{ site.data.settings.analytics-id }}');
9
+ </script>
@@ -0,0 +1 @@
1
+ <img src="{{"assets/img/Podcast_Cover_Small.jpg" | absolute_url}}" alt="Podcast Cover">
@@ -0,0 +1,18 @@
1
+ <!-- Whitespace added for readability -->
2
+ {% assign m = include.date | date: "%-m" %}
3
+ {{ include.date | date: "%-d" }}
4
+ {% case m %}
5
+ {% when '1' %}Gennaio
6
+ {% when '2' %}Febbraio
7
+ {% when '3' %}Marzo
8
+ {% when '4' %}Aprile
9
+ {% when '5' %}Maggio
10
+ {% when '6' %}Giugno
11
+ {% when '7' %}Luglio
12
+ {% when '8' %}Agosto
13
+ {% when '9' %}Settembre
14
+ {% when '10' %}Ottobre
15
+ {% when '11' %}Novembre
16
+ {% when '12' %}Dicembre
17
+ {% endcase %}
18
+ {{ include.date | date: "%Y" }}
@@ -0,0 +1,5 @@
1
+ <div id="disqus_thread"></div>
2
+ <script src="/assets/js/disqus.js"></script>
3
+ <noscript>
4
+ Please activate Javascript to see the comments.</a>
5
+ </noscript>
@@ -0,0 +1,5 @@
1
+ <footer>
2
+ <p>
3
+ Copyright <a href="{{ site.author.url }}">{{ site.author.name }}</a>. All Right Reserved. <!-- DO NOT DELETE -->Theme designed by <a href="https://alessiofranceschi.me/">Alessio Franceschi</a>.
4
+ </p>
5
+ </footer>
@@ -0,0 +1,40 @@
1
+ <head>
2
+ <html lang="it-IT">
3
+ <meta charset="UTF-8">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
+
6
+ <title>
7
+ {% if page.title == "Home" %}
8
+ {{ site.title }} | {{ site.description }}
9
+ {% else %}
10
+ {{ page.title }} | {{ site.title }}
11
+ {% endif %}
12
+ </title>
13
+ <meta name="description" content="
14
+ {% if page.description %}{{ page.description }}
15
+ {% else %}{{ site.description }}
16
+ {% endif %}">
17
+
18
+ <link rel="icon" href="{{"/favicon.ico" | absolute_url }}" type="image/x-icon">
19
+ <link rel="shortcut icon" href="{{"/favicon.ico" | absolute_url }}" type="image/x-icon">
20
+
21
+ <link rel="stylesheet" href="https://cdn.plyr.io/3.6.2/plyr.css" />
22
+
23
+
24
+ <link href="https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap" rel="stylesheet">
25
+ <link href="https://fonts.googleapis.com/css2?family=Oleo+Script&display=swap" rel="stylesheet">
26
+
27
+ <link rel="stylesheet" href="{{"/assets/css/main.css" | absolute_url }}">
28
+ <link rel="stylesheet" href="{{ "/assets/css/mobile.css" | absolute_url }}">
29
+
30
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
31
+
32
+ <!-- SEO Plugin -->
33
+ {% seo %}
34
+
35
+ <!-- Google Analytics -->
36
+ {% if site.data.settings.analytics-id%}
37
+ {%- include analytics.html -%}
38
+ {% endif %}
39
+ <!-- End Google Analytics -->
40
+ </head>
@@ -0,0 +1,29 @@
1
+ <div id = "header">
2
+ <h1><a href="{{site.url}}">{{site.title}}</a></h1>
3
+ <div class = "wave">
4
+ </div>
5
+
6
+ <nav role="navigation">
7
+ <div id = "desktop-nav">
8
+ <ul id = "desktop-menu">
9
+ {% for item in site.data.settings.pages %}
10
+ <li><a href="{{ item.url | absolute_url}}"> {{ item.name }}</a></li>
11
+ {% endfor %}
12
+ </ul>
13
+ </div>
14
+ <div id="hammenuToggle">
15
+ <input type="checkbox" />
16
+
17
+ <span></span>
18
+ <span></span>
19
+ <span></span>
20
+
21
+
22
+ <ul id = "menu">
23
+ {% for item in site.data.settings.pages %}
24
+ <li><a href="{{ item.url | absolute_url}}"> {{ item.name }}</a></li>
25
+ {% endfor %}
26
+ </ul>
27
+ </div>
28
+ </nav>
29
+ </div>
@@ -0,0 +1,5 @@
1
+ <div class = "player-container">
2
+ <audio class="player" disableContextMenu data-plyr-config='{ "title": "{{include.title}}"}'>
3
+ <source src="{{ include.file }}" type="audio/mp3" />
4
+ </audio>
5
+ </div>
@@ -0,0 +1,58 @@
1
+ <script src="https://cdn.plyr.io/3.6.2/plyr.polyfilled.js"></script>
2
+
3
+ <script>
4
+ //See https://github.com/sampotts/plyr for more informations about customization
5
+
6
+ const controls =
7
+ [
8
+ "play",
9
+ "rewind",
10
+ 'progress',
11
+ "fast-forward",
12
+ 'current-time',
13
+ 'mute',
14
+ 'volume',
15
+ 'settings',
16
+ 'airplay',
17
+ ];
18
+
19
+ const players = Array.from(document.querySelectorAll(".player"));
20
+ players.map(player => new Plyr(player, {
21
+ controls,
22
+ invertTime: true,
23
+ toggleInvert: true,
24
+ settings: ['quality', 'speed'],
25
+ //Italian translation, used in my website. Delete this to use English or translate the player to your language.
26
+ // Remove the /* and */ to use translation.
27
+ /*
28
+ i18n: {
29
+ restart: 'Riavvia',
30
+ rewind: 'Riavvolgi di {seektime} secondi',
31
+ play: 'Avvia',
32
+ pause: 'Pausa',
33
+ fastForward: 'Avanza di {seektime} secondi',
34
+ seek: 'Cerca',
35
+ played: 'Riprodotto',
36
+ buffered: 'Bufferato',
37
+ currentTime: 'Tempo Corrente',
38
+ duration: 'Durata',
39
+ volume: 'Volume',
40
+ mute: 'Muta',
41
+ unmute: 'Smuta',
42
+ enterFullscreen: 'Tutto schermo',
43
+ exitFullscreen: 'Esci dal tutto schermo',
44
+ frameTitle: 'Player per {title}',
45
+ settings: 'Impostazioni',
46
+ speed: 'Velocità',
47
+ normal: 'Normale',
48
+ quality: 'Qualità',
49
+ loop: 'Loop',
50
+ start: 'Inizio',
51
+ end: 'Fine',
52
+ all: 'Tutto',
53
+ reset: 'Reset',
54
+ disabled: 'Disabilitato',
55
+ }
56
+ */
57
+ }));
58
+ </script>
@@ -0,0 +1,20 @@
1
+ <!-- These are shownotes which appear in every post/episode you publish -->
2
+
3
+ <h3>
4
+ Shownotes
5
+ </h3>
6
+ <h4>
7
+ Support the Theme:
8
+ </h4>
9
+ <p>
10
+ You like this theme? Please, Star it on <a href="https://github.com/PandaSekh/Jekyll-Podcaster">Github</a>. If you want to use it, you can find instructions there.
11
+ </p>
12
+ <br>
13
+ <h4>
14
+ SOCIAL:
15
+ </h4>
16
+ <p>
17
+ <a href="https://alessiofranceschi.me/">Blog</a><br>
18
+
19
+ <a href="https://github.com/PandaSekh/">GitHub</a><br>
20
+ </p>
@@ -0,0 +1,26 @@
1
+ <img src="{{"assets/img/Podcast_Cover_500.jpg" | absolute_url}}" alt="Podcast Cover">
2
+
3
+ <div id = "info">
4
+ <h3>{{site.title}}</h3>
5
+ <h4><i>{{site.description}}</i></h4>
6
+ </div>
7
+ <div id = "social">
8
+ {% for item in site.data.settings.social %}
9
+ {% if item.type == "brand"%}
10
+ <a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fab fa-{{item.icon}}" aria-hidden="true"></i></a>
11
+ {% endif %}
12
+ {% if item.type == "solid"%}
13
+ <a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fas fa-{{item.icon}}" aria-hidden="true"></i></a>
14
+ {% endif %}
15
+ {% endfor %}
16
+ </div>
17
+ <div id = "ascoltare">
18
+ <h3>Where To Listen</h3>
19
+ <div id = "lista-siti">
20
+ <ul id = "siti">
21
+ {% for item in site.data.settings.websites-podcast %}
22
+ <li><a href="{{ item.url | absolute_url}}"> {{ item.name }}</a></li>
23
+ {% endfor %}
24
+ </ul>
25
+ </div>
26
+ </div>
@@ -0,0 +1,4 @@
1
+ <h3> Video </h3>
2
+ <div class = "video">
3
+ <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{{include.videoid}}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
4
+ </div>
@@ -0,0 +1,38 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ {% include head.html %}
5
+ </head>
6
+ <body>
7
+ {%- include header.html -%}
8
+ <div class="container">
9
+ <div class="content ">
10
+ {{ content }}
11
+
12
+ </div>
13
+
14
+ <div class = "sidebar">
15
+ {%- include sidebar.html -%}
16
+ </div>
17
+
18
+ </div>
19
+
20
+ {%- include footer.html -%}
21
+
22
+ <ul class="circles">
23
+ <li></li>
24
+ <li></li>
25
+ <li></li>
26
+ <li></li>
27
+ <li></li>
28
+ <li></li>
29
+ <li></li>
30
+ <li></li>
31
+ <li></li>
32
+ <li></li>
33
+ </ul>
34
+
35
+ {%- include playerjs.html -%}
36
+
37
+ </body>
38
+ </html>