Skip to content

Commit 18e4c88

Browse files
authored
Merge branch 'main' into issue-134
2 parents 4040442 + 2cbd070 commit 18e4c88

File tree

23 files changed

+84
-41
lines changed

23 files changed

+84
-41
lines changed

.github/workflows/add-to-project.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
# yamllint disable-line rule:line-length
17-
- uses: paddyroddy/.github/actions/add-to-project@2900a170a05fafa6d18c036e488235ae8c02fa59 # v0
17+
- uses: paddyroddy/.github/actions/add-to-project@fc1f4d5abb1562679c33f38faf171f5cfc81c969 # v0
1818
with:
1919
project-token: ${{ secrets.PROJECT_PAT }}

.github/workflows/links.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
timeout-minutes: 2
1515
steps:
1616
# yamllint disable-line rule:line-length
17-
- uses: paddyroddy/.github/actions/links@2900a170a05fafa6d18c036e488235ae8c02fa59 # v0
17+
- uses: paddyroddy/.github/actions/links@fc1f4d5abb1562679c33f38faf171f5cfc81c969 # v0
1818
with:
1919
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/linting.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# yamllint disable-line rule:line-length
16-
- uses: paddyroddy/.github/actions/linting@2900a170a05fafa6d18c036e488235ae8c02fa59 # v0
16+
- uses: paddyroddy/.github/actions/linting@fc1f4d5abb1562679c33f38faf171f5cfc81c969 # v0
1717
with:
1818
pre-commit-config: ./.pre-commit-config.yaml
1919

2020
# yamllint disable-line rule:line-length
21-
- uses: paddyroddy/.github/actions/vale@2900a170a05fafa6d18c036e488235ae8c02fa59 # v0
21+
- uses: paddyroddy/.github/actions/vale@fc1f4d5abb1562679c33f38faf171f5cfc81c969 # v0
2222
with:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
contents: write
1616
steps:
1717
# yamllint disable-line rule:line-length
18-
- uses: paddyroddy/.github/actions/github-pages/quarto@2900a170a05fafa6d18c036e488235ae8c02fa59 # v0
18+
- uses: paddyroddy/.github/actions/github-pages/quarto@fc1f4d5abb1562679c33f38faf171f5cfc81c969 # v0
1919
with:
2020
github-token: ${{ secrets.GITHUB_TOKEN }}
2121
requirements-txt: ${{ github.workspace }}/requirements.txt

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude: |-
77
)$
88
repos:
99
- repo: https://github.com/paddyroddy/.github
10-
rev: v0.353.0
10+
rev: v0.355.0
1111
hooks:
1212
- id: general-hooks
1313
- id: lua-hooks

_assets/css/custom.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*-- scss:rules --*/
2+
3+
.reveal .slide-logo {
4+
/* circular image */
5+
border-radius: 50%;
6+
7+
/* resize image */
8+
max-height: 10vh !important;
9+
}
10+
11+
/* hide slide number on title slide */
12+
.reveal .slide-number > a[href="#/"] {
13+
display: none;
14+
}

_assets/html/hide_title_slide.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<script type="text/javascript">
2+
function updateUiVisibility(isTitleSlide) {
3+
var displayValue = isTitleSlide ? "none" : "block";
4+
document.querySelector("div.footer.footer-default").style.display =
5+
displayValue;
6+
document.querySelector("div.slide-menu-button").style.display =
7+
displayValue;
8+
document.querySelector("img.slide-logo").style.display = displayValue;
9+
}
10+
11+
Reveal.addEventListener("ready", (event) => {
12+
updateUiVisibility(event.indexh === 0);
13+
});
14+
15+
Reveal.addEventListener("slidechanged", (event) => {
16+
updateUiVisibility(event.indexh === 0);
17+
});
18+
</script>
File renamed without changes.

_includes/qr-code.qmd

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
# {data-menu-title="QR Code"}
22

3-
::: {layout="[22,78]"}
3+
::: {layout="[55,45]"}
44

5-
Scan to view the slides
5+
::: {.cell}
66

77
{{< qrcode "https://paddyroddy.github.io/talks/{{< meta slug >}}"
88
colorDark="#ffffff" colorLight="#000000" height=550 width=550 >}}
99

1010
:::
11+
12+
::: {.cell}
13+
14+
<https://paddyroddy.github.io/talks>
15+
16+
:::
17+
18+
:::

0 commit comments

Comments
 (0)