Skip to content

Commit 508b3f1

Browse files
authored
Add: pycon 2024 blog recap
Add: blog post on pycon us 2024
2 parents 8d46fff + 1a67323 commit 508b3f1

10 files changed

+283
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ for creating this site. To set up a **development environment** and **run the si
2929
3. Run `bundle install` in the root of the cloned repository directory. This will
3030
install the gems needed to run the site locally.
3131
4. Run `bundle exec jekyll serve` to start the jekyll web server.
32+
NOTE: if you want the page to automagically reload use: `bundle exec jekyll serve --livereload`. this requires Jekyll 3.7 or higher.
3233
5. Open your browser and navigate to `http://127.0.0.1:4000/`.
3334

3435
Please test your changes locally prior to submitting a pull request (PR).

_includes/video

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{% capture video_id %}{{ include.id }}{% endcapture %}
2+
{% capture video_provider %}{{ include.provider }}{% endcapture %}
3+
{% capture video_danmaku %}{{ include.danmaku | default: 0 }}{% endcapture %}
4+
5+
{% capture video_src %}
6+
{% case video_provider %}
7+
{% when "vimeo" %}
8+
https://player.vimeo.com/video/{{ video_id }}?dnt=true
9+
{% when "youtube" %}
10+
https://www.youtube-nocookie.com/embed/{{ video_id }}
11+
{% when "google-drive" %}
12+
https://drive.google.com/file/d/{{ video_id }}/preview
13+
{% when "bilibili" %}
14+
https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku={{ video_danmaku }}
15+
{% endcase %}
16+
{% endcapture %}
17+
{% assign video_src = video_src | strip %}
18+
19+
<!-- Courtesy of embedresponsively.com -->
20+
{% unless video_src == "" %}
21+
<div class="responsive-video-container">
22+
<iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
23+
</div>
24+
{% endunless %}

_posts/2024-05-30-pyos-pyconus-2024-recap.md

Lines changed: 258 additions & 0 deletions
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)