jekyll-theme-conference 2.5.3 → 2.5.4
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 +42 -19
- data/_includes/js/conference-live.js +3 -0
- data/_includes/partials/show_room.html +2 -2
- data/_includes/partials/show_talk_duration.html +1 -1
- data/_includes/partials/show_talk_time.html +1 -1
- data/_layouts/speaker.html +2 -4
- data/_layouts/talk.html +3 -6
- 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: fbbe3c769ff41772597a229dc226732d868691b98d006c4767a569a4ef0b4d14
|
4
|
+
data.tar.gz: ffd668e698af13d076e91823355b69550a0e0486cee4b0be54c0db7f5c1a5916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54b43f0628ab99bf3c509bb75f7fab9d9bd390f41c1ac377f29e1f2f6a46f456b2281c74368fd6fad970e3d0f6a9043bb3831ffaeef4744177343006119427d5
|
7
|
+
data.tar.gz: 8b109d80ee5ae3810cacb223840414953c757b91e50dac38b7c66d840277a937a263cfb4e2b72bb0dcd541223b24500418e461b859274849bb41af9025e22907
|
data/README.md
CHANGED
@@ -4,11 +4,14 @@
|
|
4
4
|
|
5
5
|
This is a [Jekyll](http://jekyllrb.com) theme based on [Bootstrap 4](http://getbootstrap.com) which can be used to make a simple, responsive website for a one-day conference or workshop with parallel tracks containing:
|
6
6
|
|
7
|
-
- program / schedule
|
8
|
-
- talk and speaker descriptions
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
- program / schedule,
|
8
|
+
- talk and speaker descriptions with
|
9
|
+
+ links to slides, and
|
10
|
+
+ embedded recordings,
|
11
|
+
- map for directions,
|
12
|
+
- live indication and embedded video streaming.
|
13
|
+
|
14
|
+
All components such as talks, speakers or rooms are represented as collection of files. The schedule is given is defined via a simple structure stored in a [YAML](https://en.wikipedia.org/wiki/YAML) file. There is no need for databases and once generated the website consists only of static files. A script and workflows are available for easy import, e.g. [frab](https://github.com/frab/frab/wiki/Manual#introduction) compatible schedules.
|
12
15
|
The design is easily modifiable and is adapted for mobile uses and printing.
|
13
16
|
|
14
17
|
The theme was originally created for the yearly Winterkongress conference of the [Digital Society Switzerland](https://digitale-gesellschaft.ch/). You can see this theme in action here:
|
@@ -44,11 +47,7 @@ This allows for easier installation and updating as you don't have to manage any
|
|
44
47
|
theme: jekyll-theme-conference
|
45
48
|
```
|
46
49
|
|
47
|
-
4.
|
48
|
-
|
49
|
-
- `_data/lang.yml`
|
50
|
-
|
51
|
-
5. Continue with the _Setup_ section further below to customize the theme and add some content for your conference
|
50
|
+
4. Continue with the _Setup_ section further below to customize the theme and add some content for your conference
|
52
51
|
|
53
52
|
To update the theme run `bundle update`.
|
54
53
|
|
@@ -76,11 +75,7 @@ To install:
|
|
76
75
|
|
77
76
|
4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@2.0.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
78
77
|
|
79
|
-
5.
|
80
|
-
|
81
|
-
- `_data/lang.yml`
|
82
|
-
|
83
|
-
6. Continue with the _Setup_ section further below to customize the theme and add some content for your conference
|
78
|
+
5. Continue with the _Setup_ section further below to customize the theme and add some content for your conference
|
84
79
|
|
85
80
|
|
86
81
|
## Setup
|
@@ -108,15 +103,43 @@ In order to be up and running simply use the default content of this repository
|
|
108
103
|
|
109
104
|
### Automatic Import
|
110
105
|
|
111
|
-
There exists a Python file in this repository, `create_entries.py`, which can be used to import content from a [frab](https://github.com/frab/frab/wiki/Manual#introduction) compatible JSON file or a CSV table and generate the different talk, speakers and room files automatically
|
106
|
+
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. It has as only dependency [PyYAML](https://pypi.org/project/PyYAML/):
|
107
|
+
|
108
|
+
1. Copy the file `_tools/create_entries.py` from this repository
|
109
|
+
|
110
|
+
2. Create a virtual environment and activate it
|
111
|
+
|
112
|
+
```bash
|
113
|
+
python -m venv venv
|
114
|
+
source venv/bin/activate
|
115
|
+
```
|
116
|
+
|
117
|
+
3. Install PyYAML
|
118
|
+
|
119
|
+
```bash
|
120
|
+
pip install pyyaml
|
121
|
+
```
|
122
|
+
|
123
|
+
4. Execute the script, e.g. to show the help type
|
124
|
+
|
125
|
+
```bash
|
126
|
+
python _tools/create_entries.py --help
|
127
|
+
```
|
128
|
+
|
112
129
|
|
113
130
|
### Automatic Build
|
114
131
|
|
115
|
-
In case you do not want to install the entire Ruby/Jekyll toolchain on your machine you can make use of [GitHub Actions](https://github.com/features/actions), Github's continuous integration platform. This repository contains
|
132
|
+
In case you do not want to install the entire Ruby/Jekyll toolchain on your machine you can make use of [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:
|
133
|
+
|
134
|
+
- `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.
|
135
|
+
- `test.yml`: automatically tries to build the website upon a new pull request. It can thus be used as status check before merging.
|
136
|
+
- `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.
|
137
|
+
|
138
|
+
To get started, simply copy the desired workflow file to your repository and adapt it to your needs:
|
116
139
|
|
117
|
-
- `
|
140
|
+
- `_tools/build.yml` -> `.github/workflows/build.yml`
|
118
141
|
|
119
|
-
Hidden rooms, speakers, or talks are automatically generated in way containing no content. In order to remove these empty files simply add a file called `delete_hidden.sh` to the root with the following content. It will automatically called by the
|
142
|
+
Hidden rooms, speakers, or talks are automatically generated in way containing no content. In order to remove these empty files simply add a file called `delete_hidden.sh` to the root with the following content. It will automatically called by the `build` workflow (if available) to delete the files.
|
120
143
|
|
121
144
|
```markdown
|
122
145
|
---
|
@@ -366,6 +366,9 @@
|
|
366
366
|
document.getElementById('stream-info-time').dataset.time = talkNow.start;
|
367
367
|
updateLive();
|
368
368
|
|
369
|
+
streamModal.find('#stream-info-color').removeClass(function (index, className) {
|
370
|
+
return (className.match(/(^|\s)border-soft-\S+/g) || []).join(' ');
|
371
|
+
});
|
369
372
|
streamModal.find('#stream-info-color').addClass('border-soft-' + talkNow.color);
|
370
373
|
|
371
374
|
streamModal.find('#stream-info-talk').text(talkNow.name).attr('href', talkNow.href);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{% if room.hide or site.conference.location.hide %}
|
2
|
-
<span class="badge badge-light font-weight-normal text-left"><i class="far fa-square"></i
|
2
|
+
<span class="badge badge-light font-weight-normal text-left"><i class="far fa-square"></i> {{ room.name }}</span><!--
|
3
3
|
{% else %}
|
4
|
-
<a href="{{ room.url | prepend: site.baseurl }}" class="badge badge-light font-weight-normal"><i class="far fa-square"></i
|
4
|
+
<a href="{{ room.url | prepend: site.baseurl }}" class="badge badge-light font-weight-normal"><i class="far fa-square"></i> {{ room.name }}</a><!--
|
5
5
|
{% endif %}-->
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<a href="{{ site.conference.program.url | prepend: site.baseurl }}" class="badge badge-light font-weight-normal text-left">
|
2
|
-
<i class="far fa-clock"></i
|
2
|
+
<i class="far fa-clock"></i> {{ talk_start_hour }}:{% if talk_start_min == 0 %}0{%endif %}{{ talk_start_min }}
|
3
3
|
</a>
|
data/_layouts/speaker.html
CHANGED
@@ -23,8 +23,7 @@
|
|
23
23
|
{% if link_icon %}
|
24
24
|
<li class="mb-1 ml-2">
|
25
25
|
{{ link_tag }}
|
26
|
-
<i class="fas fa-{{ link_icon }} pr-1"></i
|
27
|
-
{{ link.name }}
|
26
|
+
<i class="fas fa-{{ link_icon }} pr-1"></i> {{ link.name }}
|
28
27
|
</a>
|
29
28
|
</li>
|
30
29
|
{% endif %}
|
@@ -100,8 +99,7 @@
|
|
100
99
|
|
101
100
|
<p class="d-print-none mt-5">
|
102
101
|
<a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
|
103
|
-
<i class="fas fa-users"></i
|
104
|
-
{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
|
102
|
+
<i class="fas fa-users"></i> {{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
|
105
103
|
</a>
|
106
104
|
</p>
|
107
105
|
|
data/_layouts/talk.html
CHANGED
@@ -80,8 +80,7 @@
|
|
80
80
|
{% if link_icon %}
|
81
81
|
<li class="mb-1 ml-2">
|
82
82
|
{{ link_tag }}
|
83
|
-
<i class="fas fa-{{ link_icon }} pr-1 text-{{ main_cat_color }}"></i
|
84
|
-
{{ link.name }}
|
83
|
+
<i class="fas fa-{{ link_icon }} pr-1 text-{{ main_cat_color }}"></i> {{ link.name }}
|
85
84
|
</a>
|
86
85
|
</li>
|
87
86
|
{% endif %}
|
@@ -110,13 +109,11 @@
|
|
110
109
|
|
111
110
|
<p class="d-print-none mt-5">
|
112
111
|
<a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
|
113
|
-
<i class="fas fa-bullhorn"></i
|
114
|
-
{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
|
112
|
+
<i class="fas fa-bullhorn"></i> {{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
|
115
113
|
</a>
|
116
114
|
|
117
115
|
<a href="{{ site.conference.program.url | prepend: site.baseurl }}" class="btn btn-light">
|
118
|
-
<i class="far fa-calendar-alt"></i
|
119
|
-
{{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
|
116
|
+
<i class="far fa-calendar-alt"></i> {{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
|
120
117
|
</a>
|
121
118
|
</p>
|
122
119
|
|
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: 2.5.
|
4
|
+
version: 2.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lorenz Schmid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|