@@ -9,21 +9,25 @@ website:
9
9
# style: simple
10
10
# palette: light
11
11
google-analytics : " G-50FV9HPTRE"
12
+ repo-actions : [edit]
13
+ repo-url : https://github.com/3mmaRand/comp4biosci
14
+
15
+ other-links :
16
+ - text : " Make a suggestion"
17
+ icon : chat-left-dots
18
+ href : " #" # dummy,
12
19
13
20
page-footer :
14
- left : " Rand, E. (2023 ). Data Analysis in R for Becoming a Bioscientist (Version 0.1 ) <https://github.com/3mmaRand/R4BABS>"
21
+ left : " Rand, E. (2025 ). Data Analysis in R for Becoming a Bioscientist (Version 0.2 ) <https://github.com/3mmaRand/R4BABS>"
15
22
right :
16
23
- icon : github
17
24
href : " https://github.com/3mmaRand"
18
25
text : " Emma on GitHub"
19
26
20
27
navbar :
21
28
background : light
22
- twitter-card : true
23
29
site-url : " https://3mmarand.github.io/R4BABS/"
24
30
repo-url : " https://github.com/3mmaRand/R4BABS"
25
- issue-url : " https://github.com/3mmaRand/R4BABS/issues/new/choose"
26
- repo-actions : [edit, issue]
27
31
page-navigation : true
28
32
search : true
29
33
left :
@@ -319,14 +323,38 @@ format:
319
323
link-external-filter : ' ^(?:http:|https:)\/\/3mmarand\.github\.io\/R4BABS'
320
324
theme :
321
325
light : [cosmo, custom.scss]
326
+ dark : [solar, custom.scss]
322
327
code-copy : true
323
328
code-link : true
329
+ code-tools : true
324
330
code-overflow : wrap
325
331
code-line-numbers : false
332
+ lightbox :
333
+ match : auto
334
+ loop : false
326
335
grid :
327
336
sidebar-width : 250px
328
337
body-width : 900px
329
338
margin-width : 300px
339
+ include-after-body :
340
+ text : |
341
+ <script>
342
+ document.addEventListener("DOMContentLoaded", function() {
343
+ // grab all links under “Other Links” in the right-hand TOC
344
+ const links = document.querySelectorAll('.quarto-other-links ul li a');
345
+ links.forEach(function(a) {
346
+ // find the one whose text is exactly “Make a suggestion”
347
+ if (a.textContent.trim() === 'Make a suggestion') {
348
+ const pageUrl = encodeURIComponent(window.location.href);
349
+ const pageTitle = encodeURIComponent(document.title);
350
+ a.href = 'https://github.com/3mmaRand/comp4biosci/issues/new'
351
+ + '?title=' + pageTitle
352
+ + '&body=' + pageUrl;
353
+ a.target = '_blank';
354
+ }
355
+ });
356
+ });
357
+ </script>
330
358
331
359
author-meta : Emma Rand
332
360
0 commit comments