jekyll-octopod 0.9.9 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15279c742776ce7b6c9656ea90def2c7ebccbb9286a0c4bae46aff591270dcd9
4
- data.tar.gz: 2592bf80afe7393f38c813e1966859a254b524f1ea8e2d8a02de86e2c93432c3
3
+ metadata.gz: cc97b3d7f815a982595785d4b9723fc8377ccd7972ca38884cfbb6d6b87ab77c
4
+ data.tar.gz: 1a178fd0a491bc8214544d187b6e3c446b8ecb7fcb968d70fa2146e433b4df0b
5
5
  SHA512:
6
- metadata.gz: 410683612825c799edafa2acb38b94b24c184f4fbad70e0a70312ff6b31bb46b90d8a24b16035d2569bd5b07595886052a39627bb79475556e303f81a7bf33b1
7
- data.tar.gz: 822a8c45a2c08a74e60e8254b4cd4d91daaa4e5c97db577e1d09f77e97dec2e3d2ffbd21e6730547b7d83af0d1e603356a5fd7a19b2bdb56f4ed00c95643983c
6
+ metadata.gz: 301f3520519539b992365e4707c19088929e1dd7d1706ca73cf10017857f541913d2fc9f27abb8d459fa39372e10a8a34784b7d80e296515756fc5300c1fb5ce
7
+ data.tar.gz: 971adcc67c88bd657357ac383032a3afd8e4e50e17232087300486ca4c86d173b9e8e136d894c694fc10dc369e8117ad7ec69db54ccc2bdce5d4aab0a2c2970f
@@ -0,0 +1,47 @@
1
+ # You have to configure this ###################################################
2
+ title: Octopod
3
+ # You should configure this ####################################################
4
+ url: http://localhost:4000
5
+ subtitle: Static Site Podcast Publishing for Geeks
6
+ description: My super duper cool podcast.
7
+ author: Uncle Octopod
8
+ email: octopod@example.com
9
+ keywords: [octopod, podcast, magic]
10
+ itunes_categories: [Technology]
11
+ # additional_feeds:
12
+ # itunes: http://itunes.apple.com/de/podcast/podcast_name/id42424242
13
+ # torrent_m4a: http://bitlove.org/example_user/example_podcast_m4a/feed
14
+ # torrent_mp3: http://bitlove.org/example_user/example_podcast_mp3/feed
15
+ episodes_per_feed_page: 100
16
+ ## Rsync Deploy config #########################################################
17
+ ### Be sure your public key is listed in your server's ~/.ssh/authorized_keys
18
+ ### file.
19
+ ssh_host: user@host.org
20
+ ssh_port: 22
21
+ document_root: /path/to/your/htdocs/
22
+ rsync_delete: true
23
+ # You can configure this #######################################################
24
+ twitter_nick: my_twitter_handle
25
+ language: en
26
+ explicit: 'no' # 'yes'/'no'/clean
27
+ license: CC BY 4.0
28
+ license_url: https://creativecommons.org/licenses/by/4.0/
29
+ license_image_url: https://i.creativecommons.org/l/by/4.0/88x31.png
30
+ ## Flattr ######################################################################
31
+ flattr_uid: # Flattr will not be used unless this is set
32
+ flattr_button: compact # compact | default
33
+ flattr_mode: auto # auto | manual(default)
34
+ flattr_popout: 1 # 1 | 0 (show popout when hovering mouse over button)
35
+ flattr_language: en_GB # available languages - https://api.flattr.com/rest/v2/languages.txt
36
+ flattr_category: audio # available categories - https://api.flattr.com/rest/v2/categories.txt
37
+ ## Disqus comments #############################################################
38
+ disqus_shortname: # Disqus will not be used unless this is set
39
+ disqus_developer: 0 # 1 / 0
40
+ ## Feed links ###########################################################
41
+ itunes_url: https://itunes.apple.com/at/podcast/myname/id#myid#
42
+ bitlove_url: https://bitlove.org/myaccount
43
+ fyyd_url: https://fyyd.de/podcast/myaccount/myid
44
+ gpodder_url: https://gpodder.net/podcast/mypodcast
45
+
46
+ gems: [jekyll-octopod]
47
+ theme: jekyll-bootflat
@@ -39,6 +39,7 @@ license_image_url: https://i.creativecommons.org/l/by/4.0/88x31.png
39
39
 
40
40
  ### Feed links, optional
41
41
  itunes_url: https://itunes.apple.com/at/podcast/myname/id232323
42
+ # google_play_url: https://playmusic.app.goo.gl/...
42
43
  # bitlove_url: https://bitlove.org/myaccount
43
44
  # fyyd_url: https://fyyd.de/podcast/myaccount/myid
44
45
  # gpodder_url: https://gpodder.net/podcast/mypodcast
@@ -70,3 +71,11 @@ theme: jekyll-bootflat
70
71
  plugins:
71
72
  - jekyll-octopod
72
73
  # - jekyll-admin
74
+
75
+ ### Links to all domains, expect whitelisted will be rendered with rel="nofollow noopener noreferrer"
76
+ # kramdown:
77
+ # input: 'NoopenerGFM'
78
+ # same_tab_domains:
79
+ # - localhost
80
+ # - 127.0.0.1
81
+ # - podcast.your-domain.com
@@ -17,7 +17,7 @@
17
17
  class="button btn-primary btn-sm"
18
18
  data-url="{{ site.url }}{{post.url }}"
19
19
  data-text="{{ post.title }}">
20
- <i class="fa fa-twitter"></i> Tweet</a>
20
+ <i class="fab fa-twitter"></i> Tweet</a>
21
21
  {% unless page.url == '/index.html' %}{% include disqus_thread.html %}{% endunless %}
22
22
  {% unless page.url == '/index.html' %}{% include isso_thread.html %}{% endunless %}
23
23
  <hr>
@@ -65,7 +65,10 @@
65
65
 
66
66
  <ol type="i">
67
67
  {% if site.itunes_url %}
68
- <li>in Apple-<a href="{{ site.itunes_url }}"><i class="fa fa-apple"></i> Itunes</a></li>
68
+ <li>in Apple-<a href="{{ site.itunes_url }}"><i class="fab fa-apple"></i> Itunes</a></li>
69
+ {% endif %}
70
+ {% if site.google_play_url %}
71
+ <li>in <a href="{{ site.itunes_url }}"><i class="fab fa-apple"></i>Google Play</a></li>
69
72
  {% endif %}
70
73
  {% if site.bitlove_url %}
71
74
  <li>as Torrents at <a href="{{ site.bitlove_url }}"><img src="https://bitlove.org/static/favicon.png"/> Bitlove</a></li>
@@ -107,6 +110,6 @@
107
110
  <a href="https://twitter.com/{{ site.twitter_nick }}"
108
111
  class="button btn-primary btn-sm"
109
112
  data-show-count="false">
110
- <i class="fa fa-twitter"></i>Follow @{{ site.twitter_nick }}
113
+ <i class="fab fa-twitter"></i>Follow @{{ site.twitter_nick }}
111
114
  </a>
112
115
  {% endif %}
@@ -12,6 +12,7 @@
12
12
  <link rel="alternate" type="application/atom+xml" href="{{ site.url }}/general_feed.xml" title="General Site Atom Feed (No Podcast Metadata!)" />
13
13
  {{ site | episode_feeds_html }}
14
14
 
15
+ <link href='/assets/css/ubuntu.css' rel='stylesheet' type='text/css'>
15
16
  <link rel="stylesheet" type="text/css" href="{{ site.url }}/assets/css/main.css">
16
17
 
17
18
  <script type='text/javascript' src="{{ site.url }}/assets/js/jquery.min.js"></script>
@@ -10,3 +10,4 @@ require "jekyll/static_file"
10
10
  require "jekyll/podigee_player_tag"
11
11
  require "jekyll/date_de"
12
12
  require "octopod/version"
13
+ require "kramdown/parser/noopener_gfm"
@@ -0,0 +1,20 @@
1
+ class Kramdown::Parser::NoopenerGFM < Kramdown::Parser::GFM
2
+ SAFE_OPTS = { "target" => "_blank", "rel"=>"nofollow noopener noreferrer" }.freeze
3
+
4
+ def initialize(source, options)
5
+ super
6
+ @same_tab_domains = options.fetch(:same_tab_domains, [])
7
+ end
8
+
9
+ def update_elements(element)
10
+ if element.type == :a && \
11
+ element.attr.respond_to?(:[]) && \
12
+ (href = element.attr['href']) && \
13
+ URI::DEFAULT_PARSER.regexp[:ABS_URI].match(href) && \
14
+ !@same_tab_domains.include?(URI::parse(href).host)
15
+
16
+ element.attr.merge!(SAFE_OPTS)
17
+ end
18
+ super
19
+ end
20
+ end
@@ -3,7 +3,7 @@ module Jekyll
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
- TINY = 9
6
+ TINY = 10
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-octopod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 0.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Eilermann
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-08-13 00:00:00.000000000 Z
12
+ date: 2019-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: facets
@@ -51,14 +51,14 @@ dependencies:
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.2.4
54
+ version: 0.2.6
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.2.4
61
+ version: 0.2.6
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rspec
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -98,6 +98,7 @@ extra_rdoc_files: []
98
98
  files:
99
99
  - README.md
100
100
  - Rakefile
101
+ - assets/_config.yml
101
102
  - assets/_config.yml.sample
102
103
  - assets/_includes/disqus_count.html
103
104
  - assets/_includes/disqus_thread.html
@@ -306,6 +307,7 @@ files:
306
307
  - lib/jekyll/podigee_player_tag.rb
307
308
  - lib/jekyll/static_file.rb
308
309
  - lib/jekyll/update_config.rb
310
+ - lib/kramdown/parser/noopener_gfm.rb
309
311
  - lib/octopod/version.rb
310
312
  homepage: https://github.com/haslinger/jekyll-octopod
311
313
  licenses:
@@ -327,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
327
329
  version: '0'
328
330
  requirements: []
329
331
  rubyforge_project: jekyll-
330
- rubygems_version: 2.7.3
332
+ rubygems_version: 2.7.7
331
333
  signing_key:
332
334
  specification_version: 4
333
335
  summary: Podcasting Publishing Extension for Jekyll