jekyll-theme-conference 3.7.0 → 3.7.2
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/js/program.js +19 -24
 - 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 +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 5eaf0ba65c7a4aad2d1e450d1294efc06a7d222c807eb6782103e3eb3cbac830
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 33e49d3335e76ac0ceada913df9da5ea4cb02dd5fed40cefbdb2c508dd91f168
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c11d969dd2d80a75e59dc002caffd6d9df92f9aadf038aa0e15de83a80adea141b21a4b227f83b10b90411a5a7b36f037bc03bc7e65baddf69c7bfa2f5eda63e
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 5c6947f7f7c3761d64e00e006af41e51f78986370a57130969786df0caab71f5f3c684cbfcbe335542735fc39436af388b8e7f9e991243a1b21ce3a9badb5ec8
         
     | 
    
        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
         
     | 
    
        data/_includes/js/program.js
    CHANGED
    
    | 
         @@ -6,33 +6,28 @@ window.conference.program = (() => { 
     | 
|
| 
       6 
6 
     | 
    
         
             
                };
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
                const init = () => {
         
     | 
| 
       9 
     | 
    
         
            -
                     
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                        const hash = window.location.hash;
         
     | 
| 
       12 
     | 
    
         
            -
                        if (hash) {
         
     | 
| 
       13 
     | 
    
         
            -
                            $('#day-list a[href="' + hash + '"]').tab("show");
         
     | 
| 
       14 
     | 
    
         
            -
                        }
         
     | 
| 
      
 9 
     | 
    
         
            +
                    const $dayList = $('#day-list');
         
     | 
| 
      
 10 
     | 
    
         
            +
                    if (!$dayList.length) return;
         
     | 
| 
       15 
11 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
                                 
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
                            });
         
     | 
| 
       29 
     | 
    
         
            -
                        }
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                        // Add current selected day as hash to URL while keeping current scrolling position
         
     | 
| 
       32 
     | 
    
         
            -
                        $('a[data-toggle="tab"]').on("shown.bs.tab", function () {
         
     | 
| 
       33 
     | 
    
         
            -
                            updateHash(this.hash);
         
     | 
| 
      
 12 
     | 
    
         
            +
                    const hash = window.location.hash;
         
     | 
| 
      
 13 
     | 
    
         
            +
                    if (hash) {
         
     | 
| 
      
 14 
     | 
    
         
            +
                        $(`a[data-toggle="tab"][href="${hash}"]`).tab('show');
         
     | 
| 
      
 15 
     | 
    
         
            +
                    } else {
         
     | 
| 
      
 16 
     | 
    
         
            +
                        const tsNow = Date.now() / 1000 | 0;
         
     | 
| 
      
 17 
     | 
    
         
            +
                        $('a[data-toggle="tab"]').each(function () {
         
     | 
| 
      
 18 
     | 
    
         
            +
                            const tsMidnight = $(this).data("ts");
         
     | 
| 
      
 19 
     | 
    
         
            +
                            if (tsMidnight && tsMidnight <= tsNow && tsNow < tsMidnight + 24 * 60 * 60) {
         
     | 
| 
      
 20 
     | 
    
         
            +
                                $(this).tab('show');
         
     | 
| 
      
 21 
     | 
    
         
            +
                                updateHash(this.hash);
         
     | 
| 
      
 22 
     | 
    
         
            +
                                return false;
         
     | 
| 
      
 23 
     | 
    
         
            +
                            }
         
     | 
| 
       34 
24 
     | 
    
         
             
                        });
         
     | 
| 
       35 
25 
     | 
    
         
             
                    }
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                    // Add current selected day as hash to URL while keeping current scrolling position
         
     | 
| 
      
 28 
     | 
    
         
            +
                    $('a[data-toggle="tab"]').on('shown.bs.tab', function () {
         
     | 
| 
      
 29 
     | 
    
         
            +
                        updateHash(this.hash);
         
     | 
| 
      
 30 
     | 
    
         
            +
                    });
         
     | 
| 
       36 
31 
     | 
    
         
             
                };
         
     | 
| 
       37 
32 
     | 
    
         | 
| 
       38 
33 
     | 
    
         
             
                return {
         
     | 
| 
         @@ -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 %}
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: jekyll-theme-conference
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.7. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.7.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Lorenz Schmid
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-11-03 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: jekyll
         
     |