Skip to content

Commit 188bd3a

Browse files
authored
Adapt to changes in theme shortcuts (#184)
Depends on scientific-python/scientific-python-hugo-theme#116
1 parent 269847c commit 188bd3a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

layouts/shortcodes/youtube_page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{{ $transcript := $s | markdownify | safeHTML }}
4545

4646
<div class="youtube">
47-
<h{{ $levelOffset }} class="video-title">
47+
<h{{ $levelOffset }} id="transcript-{{ $title | anchorize }}" class="video-title">
4848
{{ $title }}
4949
</h{{ $levelOffset }}>
5050
<iframe src="https://www.youtube.com/embed/{{ $id }}?enablejsapi=1&modestbranding=0" allowfullscreen class="youtube"></iframe>

layouts/specs/list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
<section class="content-padding flex-row">
44
<div class="shortcuts-container">
5-
<div class="shortcuts-title">Shortcuts</div>
6-
<div id="shortcuts"></div>
7-
<div class="sidebar-links">
8-
<a href="{{ relref . "/gethelp" }}">Get Help</a>
5+
<div class="shortcuts-title">
6+
<img src="/images/icons/mui-icons_format-list-bulleted.svg"/>
7+
On this page
98
</div>
9+
<div id="shortcuts"></div>
1010
</div>
1111
<div class="content-container">
1212
<div class="columns">

0 commit comments

Comments
 (0)