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 +4 -4
- data/README.md +11 -11
- data/_includes/partials/checks.html +2 -2
- data/_includes/partials/get_tag_icon.html +1 -1
- data/_includes/partials/get_talk_overview_talk.html +1 -1
- data/_includes/partials/get_track_properties.html +3 -3
- data/_layouts/program.html +3 -3
- data/_layouts/talk-overview.html +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14df4316c5e862e8c82f79e0f5a3f72bd853e887de0b682a2c39d3f4d2c1c679
|
4
|
+
data.tar.gz: d93e7c6ffd7295f70437889e1dfa412ff4016847a0d5dff78bb6c7536cd38868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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/
|
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/
|
162
|
+
python _tools/import_schedule.py --help
|
163
163
|
```
|
164
164
|
|
165
165
|
### Automatic Build
|
166
166
|
|
167
|
-
If you
|
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
|
170
|
-
- `test.yml`: automatically
|
171
|
-
- `schedule.yml`: automatically generates
|
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
|
19
|
-
{%- if talk.track ==
|
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
|
12
|
+
{% assign tag_html = '<i class="fas fa-' | append: tag_icon | append: '" title="' | append: tag | append: '"></i>'' %}
|
13
13
|
{% endif %}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
{%- for
|
2
|
-
{%- if talk.track ==
|
3
|
-
{%- assign track_color =
|
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 -%}
|
data/_layouts/program.html
CHANGED
@@ -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
|
195
|
-
<div class="d-block d-sm-inline-block m-1 p-1 pl-2 pr-2 border-soft-{{
|
196
|
-
{{-
|
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 -%}
|
data/_layouts/talk-overview.html
CHANGED
@@ -11,15 +11,15 @@
|
|
11
11
|
{{ content }}
|
12
12
|
|
13
13
|
{% if site.conference.talks.tracks %}
|
14
|
-
{% for
|
14
|
+
{% for track_prop in site.conference.talks.tracks %}
|
15
15
|
<h3 class="mt-4 mb-3">
|
16
|
-
<span class="badge border-soft-{{
|
17
|
-
{{
|
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 ==
|
22
|
+
{% if talk.track == track_prop.name %}
|
23
23
|
{% include partials/get_talk_overview_talk.html %}
|
24
24
|
{% endif %}
|
25
25
|
{%- endfor %}
|