Skip to content

Commit 3c69714

Browse files
committed
fix buttons properly
1 parent 4da6b58 commit 3c69714

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

_includes/header.qmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
<span class="display-6 d-block text-center py-5 display-md-5 display-lg-4">
2121
Bayesian inference with probabilistic programming
2222
</span>
23-
<div class="d-flex flex-column align-items-center gap-0 pb-5 fs-4">
24-
<a href="https://turinglang.org/docs/tutorials/docs-00-getting-started/" class="button btn">
23+
<div class="d-flex flex-column align-items-center gap-0 pb-3">
24+
<a href="https://turinglang.org/docs/tutorials/docs-00-getting-started/" class="button btn fs-4">
2525
Tutorials
2626
</a>
2727
</div>
2828
<div class="d-flex flex-column align-items-center gap-0 pb-5">
2929
<div class="d-flex flex-row flex-wrap panel-wrapper gap-2">
30-
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="button btn">
30+
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="button btn" style="width: 100px;">
3131
Slack
3232
</a>
3333
<a href="https://discourse.julialang.org/c/domain/probprog/48" class="button btn">
3434
Discourse
3535
</a>
36-
<a href="https://github.com/TuringLang" class="button btn">
36+
<a href="https://github.com/TuringLang" class="button btn" style="width: 100px;">
3737
GitHub
3838
</a>
3939
</div>

index.qmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
3636
<div class="fs-4 fw-bold pb-1">Intuitive syntax</div>
3737

3838
The [modelling syntax of Turing.jl](https://turinglang.org/docs/core-functionality) closely resembles the mathematical specification of a probabilistic model.
39+
3940
For example, the following model describes a coin flip experiment with `N` flips, where `p` is the probability of heads.
4041

41-
```math
42+
$$
4243
\begin{align*}
4344
p &\sim \text{Beta}(1, 1) \\
4445
y_i &\sim \text{Bernoulli}(p) \quad \text{for } i = 1, \ldots, N
45-
```
46+
\end{align*}
47+
$$
4648

4749
:::
4850

@@ -122,7 +124,7 @@ sample(model, externalsampler(SliceSteppingOut(2.0)), 1000)
122124

123125
As Turing.jl models are simply Julia functions under the hood, they can contain arbitrary Julia code.
124126

125-
For example, [differential equations](https://turinglang.org/docs/tutorials/bayesian-differential-equations/) can be added to a model using `DifferentialEquations.jl`, which is a completely independent package.
127+
For example, [differential equations](https://turinglang.org/docs/tutorials/bayesian-differential-equations/) can be added to a model using the `DifferentialEquations.jl` Julia package.
126128

127129
:::
128130

0 commit comments

Comments
 (0)