Skip to content

Commit 2e9c171

Browse files
committed
Add custom formatting for outro slide based on template.
1 parent c4c980c commit 2e9c171

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

slides/templates/larger_font/index.html.j2

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
<link rel="stylesheet" href="{{ reveal_url_prefix }}/dist/reveal.css">
4747
<!-- Reveal Theme -->
4848
<link rel="stylesheet" href="{{ reveal_url_prefix }}/dist/theme/{{reveal_theme}}.css" id="theme">
49+
<!-- Font Awesome icons -->
50+
<link
51+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.1.1/css/all.min.css"
52+
rel="stylesheet" type="text/css">
4953

5054
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
5155
<script>
@@ -71,6 +75,9 @@ if( window.location.search.match( /print-pdf/gi ) ) {
7175
{{ resources.include_css("static/theme-light.css") }}
7276
{% endif %}
7377
<style type="text/css">
78+
.qr-code {
79+
min-width: 400px;
80+
}
7481
a.anchor-link {
7582
display: none;
7683
}
@@ -405,7 +412,8 @@ require(
405412
{ name: "section 1", key: "1", id: "section-1", keyCode: 49 },
406413
{ name: "section 2", key: "2", id: "section-2", keyCode: 50 },
407414
{ name: "section 3", key: "3", id: "section-3", keyCode: 51 },
408-
{ name: "section 4", key: "4", id: "section-4", keyCode: 52 }
415+
{ name: "section 4", key: "4", id: "section-4", keyCode: 52 },
416+
{ name: "outro", key: "E", id: "related-content", keyCode: 69 },
409417
];
410418
for (const shortcut of shortcuts) {
411419
const { id, key, name, keyCode } = shortcut;

slides/templates/regular/index.html.j2

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
<link rel="stylesheet" href="{{ reveal_url_prefix }}/dist/reveal.css">
4747
<!-- Reveal Theme -->
4848
<link rel="stylesheet" href="{{ reveal_url_prefix }}/dist/theme/{{reveal_theme}}.css" id="theme">
49+
<!-- Font Awesome icons -->
50+
<link
51+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.1.1/css/all.min.css"
52+
rel="stylesheet" type="text/css">
4953

5054
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
5155
<script>
@@ -71,6 +75,10 @@ if( window.location.search.match( /print-pdf/gi ) ) {
7175
{{ resources.include_css("static/theme-light.css") }}
7276
{% endif %}
7377
<style type="text/css">
78+
.qr-code {
79+
min-width: 250px;
80+
margin-right: 25px;
81+
}
7482
a.anchor-link {
7583
display: none;
7684
}
@@ -400,7 +408,8 @@ require(
400408
{ name: "section 1", key: "1", id: "section-1", keyCode: 49 },
401409
{ name: "section 2", key: "2", id: "section-2", keyCode: 50 },
402410
{ name: "section 3", key: "3", id: "section-3", keyCode: 51 },
403-
{ name: "section 4", key: "4", id: "section-4", keyCode: 52 }
411+
{ name: "section 4", key: "4", id: "section-4", keyCode: 52 },
412+
{ name: "outro", key: "E", id: "related-content", keyCode: 69 },
404413
];
405414
for (const shortcut of shortcuts) {
406415
const { id, key, name, keyCode } = shortcut;

0 commit comments

Comments
 (0)