Skip to content

Commit 73bf482

Browse files
committed
1206
1 parent 134e863 commit 73bf482

13 files changed

+43
-176
lines changed

_quarto.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ website:
2828
format:
2929
html:
3030
theme:
31-
dark: darkly
32-
light: flatly
31+
#dark: darkly
32+
light: united #flatly
3333

3434
css: styles.css
3535
code-fold: true

docs/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

99

10-
<title>🎃 - Jie-Wen Tsai.</title>
10+
<title>🎃 - JIE-WEN TSAI.</title>
1111
<style>
1212
code{white-space: pre-wrap;}
1313
span.smallcaps{font-variant: small-caps;}
@@ -138,7 +138,7 @@ <h2 id="toc-title">On this page</h2>
138138
round " style="height: 150px; width: 150px;">
139139
<header id="title-block-header" class="quarto-title-block default">
140140
<div class="quarto-title">
141-
<h1 class="title">Jie-Wen Tsai.</h1>
141+
<h1 class="title">JIE-WEN TSAI.</h1>
142142
</div>
143143
<div class="quarto-title-meta">
144144
</div>
@@ -708,7 +708,7 @@ <h2 data-anchor-id="education.">Education.</h2>
708708
&nbsp;
709709
</div>
710710
<div class="nav-footer-center">
711-
<p>© 2024- JW TSAI. All rights reserved.</p>
711+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
712712
</div>
713713
<div class="nav-footer-right">
714714
&nbsp;

docs/notes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ <h5 class="no-anchor card-title listing-title">
862862
&nbsp;
863863
</div>
864864
<div class="nav-footer-center">
865-
<p>© 2024- JW TSAI. All rights reserved.</p>
865+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
866866
</div>
867867
<div class="nav-footer-right">
868868
&nbsp;

docs/notesZh.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ <h5 class="no-anchor card-title listing-title">
869869
&nbsp;
870870
</div>
871871
<div class="nav-footer-center">
872-
<p>© 2024- JW TSAI. All rights reserved.</p>
872+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
873873
</div>
874874
<div class="nav-footer-right">
875875
&nbsp;

docs/posts/IntroJuliaConnectoR.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ <h2 class="anchored" data-anchor-id="the-modeling-part.">The modeling part.</h2>
11721172
&nbsp;
11731173
</div>
11741174
<div class="nav-footer-center">
1175-
<p>© 2024- JW TSAI. All rights reserved.</p>
1175+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
11761176
</div>
11771177
<div class="nav-footer-right">
11781178
&nbsp;

docs/posts_zh/1stBayes10.html

+3-150
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,10 @@
7171
<script src="../site_libs/quarto-html/tippy.umd.min.js"></script>
7272
<script src="../site_libs/quarto-html/anchor.min.js"></script>
7373
<link href="../site_libs/quarto-html/tippy.css" rel="stylesheet">
74-
<link href="../site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
75-
<link href="../site_libs/quarto-html/quarto-syntax-highlighting-dark.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
74+
<link href="../site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
7675
<script src="../site_libs/bootstrap/bootstrap.min.js"></script>
7776
<link href="../site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
78-
<link href="../site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
79-
<link href="../site_libs/bootstrap/bootstrap-dark.min.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
77+
<link href="../site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
8078
<script id="quarto-search-options" type="application/json">{
8179
"location": "navbar",
8280
"copy-button": false,
@@ -152,7 +150,6 @@
152150
</ul>
153151
</div> <!-- /navcollapse -->
154152
<div class="quarto-navbar-tools">
155-
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
156153
</div>
157154
</div> <!-- /container-fluid -->
158155
</nav>
@@ -364,150 +361,6 @@ <h2 class="anchored" data-anchor-id="the-metropolis-algorithm">10.2 The Metropol
364361
}
365362
}
366363
toggleBodyColorPrimary();
367-
const disableStylesheet = (stylesheets) => {
368-
for (let i=0; i < stylesheets.length; i++) {
369-
const stylesheet = stylesheets[i];
370-
stylesheet.rel = 'prefetch';
371-
}
372-
}
373-
const enableStylesheet = (stylesheets) => {
374-
for (let i=0; i < stylesheets.length; i++) {
375-
const stylesheet = stylesheets[i];
376-
stylesheet.rel = 'stylesheet';
377-
}
378-
}
379-
const manageTransitions = (selector, allowTransitions) => {
380-
const els = window.document.querySelectorAll(selector);
381-
for (let i=0; i < els.length; i++) {
382-
const el = els[i];
383-
if (allowTransitions) {
384-
el.classList.remove('notransition');
385-
} else {
386-
el.classList.add('notransition');
387-
}
388-
}
389-
}
390-
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
391-
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
392-
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
393-
let newTheme = '';
394-
if(darkModeDefault) {
395-
newTheme = isAlternate ? baseTheme : alternateTheme;
396-
} else {
397-
newTheme = isAlternate ? alternateTheme : baseTheme;
398-
}
399-
const changeGiscusTheme = () => {
400-
// From: https://github.com/giscus/giscus/issues/336
401-
const sendMessage = (message) => {
402-
const iframe = document.querySelector('iframe.giscus-frame');
403-
if (!iframe) return;
404-
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
405-
}
406-
sendMessage({
407-
setConfig: {
408-
theme: newTheme
409-
}
410-
});
411-
}
412-
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
413-
if (isGiscussLoaded) {
414-
changeGiscusTheme();
415-
}
416-
}
417-
const toggleColorMode = (alternate) => {
418-
// Switch the stylesheets
419-
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
420-
manageTransitions('#quarto-margin-sidebar .nav-link', false);
421-
if (alternate) {
422-
enableStylesheet(alternateStylesheets);
423-
for (const sheetNode of alternateStylesheets) {
424-
if (sheetNode.id === "quarto-bootstrap") {
425-
toggleBodyColorMode(sheetNode);
426-
}
427-
}
428-
} else {
429-
disableStylesheet(alternateStylesheets);
430-
toggleBodyColorPrimary();
431-
}
432-
manageTransitions('#quarto-margin-sidebar .nav-link', true);
433-
// Switch the toggles
434-
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
435-
for (let i=0; i < toggles.length; i++) {
436-
const toggle = toggles[i];
437-
if (toggle) {
438-
if (alternate) {
439-
toggle.classList.add("alternate");
440-
} else {
441-
toggle.classList.remove("alternate");
442-
}
443-
}
444-
}
445-
// Hack to workaround the fact that safari doesn't
446-
// properly recolor the scrollbar when toggling (#1455)
447-
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
448-
manageTransitions("body", false);
449-
window.scrollTo(0, 1);
450-
setTimeout(() => {
451-
window.scrollTo(0, 0);
452-
manageTransitions("body", true);
453-
}, 40);
454-
}
455-
}
456-
const isFileUrl = () => {
457-
return window.location.protocol === 'file:';
458-
}
459-
const hasAlternateSentinel = () => {
460-
let styleSentinel = getColorSchemeSentinel();
461-
if (styleSentinel !== null) {
462-
return styleSentinel === "alternate";
463-
} else {
464-
return false;
465-
}
466-
}
467-
const setStyleSentinel = (alternate) => {
468-
const value = alternate ? "alternate" : "default";
469-
if (!isFileUrl()) {
470-
window.localStorage.setItem("quarto-color-scheme", value);
471-
} else {
472-
localAlternateSentinel = value;
473-
}
474-
}
475-
const getColorSchemeSentinel = () => {
476-
if (!isFileUrl()) {
477-
const storageValue = window.localStorage.getItem("quarto-color-scheme");
478-
return storageValue != null ? storageValue : localAlternateSentinel;
479-
} else {
480-
return localAlternateSentinel;
481-
}
482-
}
483-
const darkModeDefault = true;
484-
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
485-
// Dark / light mode switch
486-
window.quartoToggleColorScheme = () => {
487-
// Read the current dark / light value
488-
let toAlternate = !hasAlternateSentinel();
489-
toggleColorMode(toAlternate);
490-
setStyleSentinel(toAlternate);
491-
toggleGiscusIfUsed(toAlternate, darkModeDefault);
492-
};
493-
// Ensure there is a toggle, if there isn't float one in the top right
494-
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
495-
const a = window.document.createElement('a');
496-
a.classList.add('top-right');
497-
a.classList.add('quarto-color-scheme-toggle');
498-
a.href = "";
499-
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
500-
const i = window.document.createElement("i");
501-
i.classList.add('bi');
502-
a.appendChild(i);
503-
window.document.body.appendChild(a);
504-
}
505-
// Switch to dark mode if need be
506-
if (hasAlternateSentinel()) {
507-
toggleColorMode(true);
508-
} else {
509-
toggleColorMode(false);
510-
}
511364
const icon = "";
512365
const anchorJS = new window.AnchorJS();
513366
anchorJS.options = {
@@ -884,7 +737,7 @@ <h2 class="anchored" data-anchor-id="the-metropolis-algorithm">10.2 The Metropol
884737
&nbsp;
885738
</div>
886739
<div class="nav-footer-center">
887-
<p>© 2024- JW TSAI. All rights reserved.</p>
740+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
888741
</div>
889742
<div class="nav-footer-right">
890743
&nbsp;

docs/posts_zh/bayes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ <h1 class="title">貝氏學習資源推薦</h1>
705705
&nbsp;
706706
</div>
707707
<div class="nav-footer-center">
708-
<p>© 2024- JW TSAI. All rights reserved.</p>
708+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
709709
</div>
710710
<div class="nav-footer-right">
711711
&nbsp;

docs/posts_zh/post0704.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ <h2 class="anchored" data-anchor-id="卷二統計分析">卷二,統計分析
836836
&nbsp;
837837
</div>
838838
<div class="nav-footer-center">
839-
<p>© 2024- JW TSAI. All rights reserved.</p>
839+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
840840
</div>
841841
<div class="nav-footer-right">
842842
&nbsp;

docs/search.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,28 @@
3737
{
3838
"objectID": "index.html",
3939
"href": "index.html",
40-
"title": "Jie-Wen Tsai.",
40+
"title": "JIE-WEN TSAI.",
4141
"section": "",
4242
"text": "A ninja of educational measurement."
4343
},
4444
{
4545
"objectID": "index.html#see-also.",
4646
"href": "index.html#see-also.",
47-
"title": "Jie-Wen Tsai.",
47+
"title": "JIE-WEN TSAI.",
4848
"section": "See Also.",
4949
"text": "See Also.\n\nNinja Notes."
5050
},
5151
{
5252
"objectID": "index.html#interesting.",
5353
"href": "index.html#interesting.",
54-
"title": "Jie-Wen Tsai.",
54+
"title": "JIE-WEN TSAI.",
5555
"section": "Interesting.",
5656
"text": "Interesting.\n\nPsychometrics. CRAN Task View: Psychometric Models and Methods.\nBayesian data analysis. CRAN Task View: Bayesian Inference."
5757
},
5858
{
5959
"objectID": "index.html#education.",
6060
"href": "index.html#education.",
61-
"title": "Jie-Wen Tsai.",
61+
"title": "JIE-WEN TSAI.",
6262
"section": "Education.",
6363
"text": "Education.\n\nEducation, National Chengchi University, Taiwan."
6464
},

docs/site_libs/bootstrap/bootstrap.min.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/software.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ <h1 class="title">Softwares</h1>
165165
<div>
166166
<div class="quarto-title-meta-heading">Modified</div>
167167
<div class="quarto-title-meta-contents">
168-
<p class="date-modified">November 20, 2024</p>
168+
<p class="date-modified">December 6, 2024</p>
169169
</div>
170170
</div>
171171

@@ -752,7 +752,7 @@ <h2 class="anchored" data-anchor-id="typst">Typst</h2>
752752
&nbsp;
753753
</div>
754754
<div class="nav-footer-center">
755-
<p>© 2024- JW TSAI. All rights reserved.</p>
755+
<p>© 2024-2024 JW TSAI. All rights reserved.</p>
756756
</div>
757757
<div class="nav-footer-right">
758758
&nbsp;

docs/styles.css

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
/* css styles */
22

33
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:[email protected]&display=swap');
4-
5-
4+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:[email protected]&display=swap');
5+
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans+Mono:ital,wght@0,400..700;1,400..700&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');
6+
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
7+
@import url('https://fonts.googleapis.com/css2?family=Swanky+and+Moo+Moo&display=swap');
68
p,li {
7-
font-family: 'Georgia', 'Noto Serif TC', serif;
9+
/*font-family: 'Ubuntu Sans', 'Noto Sans TC', Sans-Serif;
810
font-weight: 500;
9-
font-size: 110%;
11+
font-size: 110%;*/
12+
}
13+
14+
code {
15+
/*font-family: "Ubuntu", monospace;
16+
font-weight: 500; */
1017
}

styles.css

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
/* css styles */
22

33
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:[email protected]&display=swap');
4-
5-
4+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:[email protected]&display=swap');
5+
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans+Mono:ital,wght@0,400..700;1,400..700&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');
6+
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
7+
@import url('https://fonts.googleapis.com/css2?family=Swanky+and+Moo+Moo&display=swap');
68
p,li {
7-
font-family: 'Georgia', 'Noto Serif TC', serif;
9+
/*font-family: 'Ubuntu Sans', 'Noto Sans TC', Sans-Serif;
810
font-weight: 500;
9-
font-size: 110%;
11+
font-size: 110%;*/
12+
}
13+
14+
code {
15+
/*font-family: "Ubuntu", monospace;
16+
font-weight: 500; */
1017
}

0 commit comments

Comments
 (0)