jekyll-theme-conference 3.7.0 → 3.7.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91d9e46cba9a70512c6a6151e82369891cbdb710cc05f079b74f67a0da67f65b
4
- data.tar.gz: 1a6ff15d9fabded3d8b9c451be8826d0ee346e83611437e4a3f6fe858c0aeb89
3
+ metadata.gz: 14df4316c5e862e8c82f79e0f5a3f72bd853e887de0b682a2c39d3f4d2c1c679
4
+ data.tar.gz: d93e7c6ffd7295f70437889e1dfa412ff4016847a0d5dff78bb6c7536cd38868
5
5
  SHA512:
6
- metadata.gz: 861b02c1ee5c839b42a49bd2ee3938c9bdb417317d25c72f3e25416ec3cce8d0b76a2d80bdacfcb240c12e8d32cba0fda2f076e9b86360a26be47d9c41797e94
7
- data.tar.gz: 35a8e11eda40e08d5254ae59539f5226a4bebeba308221d8cac166d6a56c00376fe00649a961b4ab5c455ba006f24eee22520c7a96da35ae9d3afadbe540d2c1
6
+ metadata.gz: 8081fcab1154116b7b183fb18babfeed96377df783fa14ce6a9e625ad7144bd07ae11fa3d4f2aaa0192809f8d4f09c7b85a8e88d2378ae8274b46e0cf3034985
7
+ data.tar.gz: 8ed5663bfedc430cd1f23660f3fe2144e1fd4751024c5872bb82682c0346a943335016cee0ecfc1247d2020a905a67d52b7e17a60d3d610612b2eccb0fb3338b
data/README.md CHANGED
@@ -139,15 +139,15 @@ To be up and running simply use the default content of this repository as an ini
139
139
 
140
140
  ### Automatic Import
141
141
 
142
- There exists a Python file in this repository, `_tools/create_entries.py`, which can be used to import content from a [frab](https://github.com/frab/frab/wiki/Manual#introduction) compatible JSON file (e.g., from [pretalx.com](https://pretalx.com/p/about/)) or a CSV table and generate the different talk, speakers and room files automatically.
142
+ In this repository, you'll find the Python file `_tools/import_schedule.py`. This script allows you to import content from a [frab](https://github.com/frab/frab/wiki/Manual#introduction)-compatible JSON file, such as those exported from [pretalx.com](https://pretalx.com/p/about/)."
143
143
 
144
- 1. Copy the files `_tools/create_entries.py` and `_tools/requirements.txt` from this repository
144
+ 1. Copy the files `_tools/import_schedule.py` and `_tools/requirements.txt` from this repository
145
145
 
146
146
  2. Create a virtual environment and activate it
147
147
 
148
148
  ```bash
149
- python -m venv venv
150
- source venv/bin/activate
149
+ python -m venv .venv
150
+ source .venv/bin/activate
151
151
  ```
152
152
 
153
153
  3. Install the requirements
@@ -159,16 +159,16 @@ There exists a Python file in this repository, `_tools/create_entries.py`, which
159
159
  4. Execute the script, e.g., to show the help type
160
160
 
161
161
  ```bash
162
- python _tools/create_entries.py --help
162
+ python _tools/import_schedule.py --help
163
163
  ```
164
164
 
165
165
  ### Automatic Build
166
166
 
167
- If you do not want to install the entire Ruby/Jekyll tool chain on your machine you can use [GitHub Actions](https://github.com/features/actions), Github's continuous integration platform. This repository contains multiple example Github Action configuration files in the `_tools/` folder:
167
+ If you prefer not to install the full Ruby/Jekyll toolchain locally, you can leverage [GitHub Actions](https://github.com/features/actions), GitHub's continuous integration platform. This repository includes several example GitHub Actions configuration files in the `_tools/` folder:
168
168
 
169
- - `build.yml`: automatically builds and minimizes the website upon adding a new tag starting with a `v` (e.g., `v2020.01.01`). It then attaches the generated website as an archive to a release for easy downloading. Requires `purgecss.config.js` to be copied to the project's root too.
170
- - `test.yml`: automatically tries to build the website upon a new pull request. It can thus be used as status check before merging.
171
- - `schedule.yml`: automatically generates the schedule and content files when a new pull request contains a `schedule.json` file (see the _Automatic Import_ subsection above). Thus, it allows quick updates of the site's content from [pretalx.com](https://pretalx.com/p/about/) exports.
169
+ - `build.yml`: This workflow automatically builds and optimizes the website whenever a new tag starting with `v` (e.g., `v2020.01.01`) is added. It then attaches the generated website as an archive to a release for easy download. Note that `purgecss.config.js` must also be copied to the project's root for this to work.
170
+ - `test.yml`: This workflow automatically attempts to build the website upon a new pull request, making it suitable for use as a status check before merging.
171
+ - `schedule.yml`: This workflow automatically generates schedule and content files when a new pull request includes a `schedule.json` file (refer to the 'Automatic Import' section for details). This enables quick content updates from [pretalx.com](https://pretalx.com/p/about/) exports.
172
172
 
173
173
  To get started, simply copy the desired workflow file to your repository and adapt it to your needs:
174
174
 
@@ -741,8 +741,8 @@ There exists a Python file in this repository, `_tools/import_resources.py`, whi
741
741
  2. Create a virtual environment and activate it
742
742
 
743
743
  ```bash
744
- python -m venv venv
745
- source venv/bin/activate
744
+ python -m venv .venv
745
+ source .venv/bin/activate
746
746
  ```
747
747
 
748
748
  3. Install the requirements
@@ -15,8 +15,8 @@
15
15
  {%- assign talks_with_categories = 0 -%}
16
16
  {%- for talk in site.talks -%}
17
17
  {%- assign missing_track = 1 -%}
18
- {%- for track in site.conference.talks.tracks -%}
19
- {%- if talk.track == track.name -%}
18
+ {%- for track_prop in site.conference.talks.tracks -%}
19
+ {%- if talk.track == track_prop.name -%}
20
20
  {%- assign missing_track = 0 -%}
21
21
  {%- break -%}
22
22
  {%- endif -%}
@@ -9,5 +9,5 @@
9
9
 
10
10
  {% assign tag_html = tag %}
11
11
  {% if tag_icon.size > 0 %}
12
- {% assign tag_html = '<i class="fas fa-' | append: tag_icon | append: '"></i>'' %}
12
+ {% assign tag_html = '<i class="fas fa-' | append: tag_icon | append: '" title="' | append: tag | append: '"></i>'' %}
13
13
  {% endif %}
@@ -1,4 +1,4 @@
1
- <li class="pl-2 mb-2 border-soft-{{ track.color | default: 'light' }}">
1
+ <li class="pl-2 mb-2 border-soft-{{ track_prop.color | default: 'light' }}">
2
2
  <p class="mb-0">
3
3
  {% include partials/show_talk.html %}
4
4
  </p>
@@ -1,6 +1,6 @@
1
- {%- for track in site.conference.talks.tracks -%}
2
- {%- if talk.track == track.name -%}
3
- {%- assign track_color = track.color | default: 'light' -%}
1
+ {%- for track_prop in site.conference.talks.tracks -%}
2
+ {%- if talk.track == track_prop.name -%}
3
+ {%- assign track_color = track_prop.color | default: 'light' -%}
4
4
  {%- break -%}
5
5
  {%- endif -%}
6
6
  {%- endfor -%}
@@ -191,9 +191,9 @@
191
191
 
192
192
  {%- if site.conference.talks.tracks %}
193
193
  <h5 class="mt-4">{{ site.data.lang[site.conference.lang].program.legend | default: "Caption" }}</h5>
194
- {%- for track in site.conference.talks.tracks %}
195
- <div class="d-block d-sm-inline-block m-1 p-1 pl-2 pr-2 border-soft-{{ track.color | default: 'light' }} bg-soft-{{ track.color | default: 'light' }} font-weight-normal">
196
- {{- track.name -}}
194
+ {%- for track_prop in site.conference.talks.tracks %}
195
+ <div class="d-block d-sm-inline-block m-1 p-1 pl-2 pr-2 border-soft-{{ track_prop.color | default: 'light' }} bg-soft-{{ track_prop.color | default: 'light' }} font-weight-normal">
196
+ {{- track_prop.name -}}
197
197
  </div>
198
198
  {%- endfor -%}
199
199
  {%- endif -%}
@@ -11,15 +11,15 @@
11
11
  {{ content }}
12
12
 
13
13
  {% if site.conference.talks.tracks %}
14
- {% for track in site.conference.talks.tracks %}
14
+ {% for track_prop in site.conference.talks.tracks %}
15
15
  <h3 class="mt-4 mb-3">
16
- <span class="badge border-soft-{{ track.color | default: 'light' }} bg-soft-{{ track.color | default: 'light' }} d-block d-sm-inline text-wrap">
17
- {{ track.name }}
16
+ <span class="badge border-soft-{{ track_prop.color | default: 'light' }} bg-soft-{{ track_prop.color | default: 'light' }} d-block d-sm-inline text-wrap">
17
+ {{ track_prop.name }}
18
18
  </span>
19
19
  </h3>
20
20
  <ul class="list-unstyled">
21
21
  {% for talk in site.talks -%}
22
- {% if talk.track == track.name %}
22
+ {% if talk.track == track_prop.name %}
23
23
  {% include partials/get_talk_overview_talk.html %}
24
24
  {% endif %}
25
25
  {%- endfor %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-conference
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorenz Schmid