Skip to content

Commit e9986cf

Browse files
Merge branch 'site' into pyt-new-blogs
2 parents c99fdfb + b3210b8 commit e9986cf

File tree

5,820 files changed

+1098294
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,820 files changed

+1098294
-2
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ group :jekyll_plugins do
55
gem "github-pages"
66
gem "jekyll-paginate-v2"
77
gem 'jekyll-autoprefixer'
8+
gem 'jekyll-feed'
89
end

Gemfile.lock

+2-1
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,11 @@ PLATFORMS
267267
DEPENDENCIES
268268
github-pages
269269
jekyll-autoprefixer
270+
jekyll-feed
270271
jekyll-paginate-v2
271272

272273
RUBY VERSION
273274
ruby 2.5.1p57
274275

275276
BUNDLED WITH
276-
2.2.22
277+
2.2.22

_includes/head.html

+1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@
3232
{% include twitter_pixel.html %}
3333
{% endif %}
3434
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
35+
<link href="{{ site.baseurl }}/feed.xml" type="application/atom+xml" rel="alternate" title="Pythorch Blog Posts" />
3536
</head>

_includes/latest_episodes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h2 class="episode-header-text">Latest Episodes</h2>
22
<div class="episode-card-row row col-md-12">
3-
{% assign events = site.events | where: "category", "live-stream" %}
3+
{% assign events = site.events | where: "category", "live-stream" | sort_natural: "date" | reverse %}
44
{% capture now %}{{'now' | date: '%s' | plus: 0 %}}{% endcapture %}
55
{% for item in events | where: "type" == "live-stream" | sort: "date" %}
66
{% capture date %}{{item.date | date: '%s' | plus: 0 %}}{% endcapture %}

assets/vendor/anchor.min.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/vendor/bootstrap.min.js

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/vendor/jquery.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/vendor/popper.min.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

feed.xml

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
---
2+
layout: null
3+
collection: posts
4+
---
5+
6+
<?xml version="1.0" encoding="utf-8"?>
7+
{% if page.xsl %}
8+
<?xml-stylesheet type="text/xml" href="{{ '/feed.xslt.xml' | absolute_url }}"?>
9+
{% endif %}
10+
<feed xmlns="http://www.w3.org/2005/Atom" {% if site.lang %}xml:lang="{{ site.lang }}"{% endif %}>
11+
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
12+
<link href="{{ page.url | absolute_url }}" rel="self" type="application/atom+xml" />
13+
<link href="{{ '/' | absolute_url }}" rel="alternate" type="text/html" {% if site.lang %}hreflang="{{ site.lang }}" {% endif %}/>
14+
<updated>{{ site.time | date_to_xmlschema }}</updated>
15+
<id>{{ page.url | absolute_url | xml_escape }}</id>
16+
17+
{% assign title = site.title | default: site.name %}
18+
{% if page.collection != "posts" %}
19+
{% assign collection = page.collection | capitalize %}
20+
{% assign title = title | append: " | " | append: collection %}
21+
{% endif %}
22+
{% if page.category %}
23+
{% assign category = page.category | capitalize %}
24+
{% assign title = title | append: " | " | append: category %}
25+
{% endif %}
26+
27+
{% if title %}
28+
<title type="html">{{ title | smartify | xml_escape }}</title>
29+
{% endif %}
30+
31+
{% if site.description %}
32+
<subtitle>{{ site.description | xml_escape }}</subtitle>
33+
{% endif %}
34+
35+
{% if site.author %}
36+
<author>
37+
<name>{{ site.author.name | default: site.author | xml_escape }}</name>
38+
{% if site.author.email %}
39+
<email>{{ site.author.email | xml_escape }}</email>
40+
{% endif %}
41+
{% if site.author.uri %}
42+
<uri>{{ site.author.uri | xml_escape }}</uri>
43+
{% endif %}
44+
</author>
45+
{% endif %}
46+
47+
{% assign posts = site[page.collection] | where_exp: "post", "post.draft != true" | sort: "date" | reverse %}
48+
{% if page.category %}
49+
{% assign posts = posts | where: "category",page.category %}
50+
{% endif %}
51+
{% for post in posts limit: 10 %}
52+
<entry{% if post.lang %}{{" "}}xml:lang="{{ post.lang }}"{% endif %}>
53+
<title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
54+
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
55+
<published>{{ post.date | date_to_xmlschema }}</published>
56+
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
57+
<id>{{ post.id | absolute_url | xml_escape }}</id>
58+
<content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}">{{ post.content | strip | xml_escape }}</content>
59+
60+
{% assign post_author = post.author | default: post.authors[0] | default: site.author %}
61+
{% assign post_author = site.data.authors[post_author] | default: post_author %}
62+
{% assign post_author_email = post_author.email | default: nil %}
63+
{% assign post_author_uri = post_author.uri | default: nil %}
64+
{% assign post_author_name = post_author.name | default: post_author %}
65+
66+
<author>
67+
<name>{{ post_author_name | default: "" | xml_escape }}</name>
68+
{% if post_author_email %}
69+
<email>{{ post_author_email | xml_escape }}</email>
70+
{% endif %}
71+
{% if post_author_uri %}
72+
<uri>{{ post_author_uri | xml_escape }}</uri>
73+
{% endif %}
74+
</author>
75+
76+
{% if post.category %}
77+
<category term="{{ post.category | xml_escape }}" />
78+
{% endif %}
79+
80+
{% for tag in post.tags %}
81+
<category term="{{ tag | xml_escape }}" />
82+
{% endfor %}
83+
84+
{% if post.excerpt and post.excerpt != empty %}
85+
<summary type="html">{{ post.excerpt | strip_html | normalize_whitespace | xml_escape }}</summary>
86+
{% endif %}
87+
88+
{% assign post_image = post.image.path | default: post.image %}
89+
{% if post_image %}
90+
{% unless post_image contains "://" %}
91+
{% assign post_image = post_image | absolute_url %}
92+
{% endunless %}
93+
<media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="{{ post_image | xml_escape }}" />
94+
{% endif %}
95+
</entry>
96+
{% endfor %}
97+
</feed>
98+
99+
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'commonmarker' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('commonmarker', 'commonmarker', version)
24+
else
25+
gem "commonmarker", version
26+
load Gem.bin_path("commonmarker", "commonmarker", version)
27+
end

vendor/bundler/ruby/2.5.0/bin/gemoji

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'gemoji' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('gemoji', 'gemoji', version)
24+
else
25+
gem "gemoji", version
26+
load Gem.bin_path("gemoji", "gemoji", version)
27+
end
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'github-pages' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('github-pages', 'github-pages', version)
24+
else
25+
gem "github-pages", version
26+
load Gem.bin_path("github-pages", "github-pages", version)
27+
end

vendor/bundler/ruby/2.5.0/bin/jekyll

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'jekyll' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('jekyll', 'jekyll', version)
24+
else
25+
gem "jekyll", version
26+
load Gem.bin_path("jekyll", "jekyll", version)
27+
end
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'kramdown' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('kramdown', 'kramdown', version)
24+
else
25+
gem "kramdown", version
26+
load Gem.bin_path("kramdown", "kramdown", version)
27+
end

vendor/bundler/ruby/2.5.0/bin/listen

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'listen' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('listen', 'listen', version)
24+
else
25+
gem "listen", version
26+
load Gem.bin_path("listen", "listen", version)
27+
end
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'nokogiri' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('nokogiri', 'nokogiri', version)
24+
else
25+
gem "nokogiri", version
26+
load Gem.bin_path("nokogiri", "nokogiri", version)
27+
end

vendor/bundler/ruby/2.5.0/bin/racc

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'racc' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('racc', 'racc', version)
24+
else
25+
gem "racc", version
26+
load Gem.bin_path("racc", "racc", version)
27+
end

vendor/bundler/ruby/2.5.0/bin/rougify

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# This file was generated by RubyGems.
4+
#
5+
# The application 'rouge' is installed as part of a gem, and
6+
# this file is here to facilitate running it.
7+
#
8+
9+
require 'rubygems'
10+
11+
version = ">= 0.a"
12+
13+
if ARGV.first
14+
str = ARGV.first
15+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
17+
version = $1
18+
ARGV.shift
19+
end
20+
end
21+
22+
if Gem.respond_to?(:activate_bin_path)
23+
load Gem.activate_bin_path('rouge', 'rougify', version)
24+
else
25+
gem "rouge", version
26+
load Gem.bin_path("rouge", "rougify", version)
27+
end

0 commit comments

Comments
 (0)