Skip to content

Commit 77a3c41

Browse files
added site-url variable explicitly (#66)
* added site-url variable explicitly * added variables * Update index.qmd * Update _quarto.yml Co-authored-by: Hong Ge <[email protected]> --------- Co-authored-by: Hong Ge <[email protected]>
1 parent dee6aae commit 77a3c41

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

404.qmd

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ title: Page Not Found
44

55
The page you requested cannot be found (perhaps it was moved or renamed).
66

7-
You may want to visit [Get-Started Guide](dev/docs/using-turing/get-started) or [Tutorials](dev/tutorials/00-introduction).
8-
7+
You may want to visit [Get-Started Guide]({{< meta get-started >}}) or [Tutorials]({{< meta tutorials-intro >}}).

_quarto.yml

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project:
44
port: 4200
55
browser: true
66

7+
# These cannot be used as variables. They are reserved for the project configuration.
78
website:
89
title: "Turing.jl"
910
site-url: https://turinglang.org
@@ -99,3 +100,9 @@ format:
99100

100101
# execute:
101102
# freeze: auto
103+
104+
# Global Variables to use in any qmd files using:
105+
# {{< meta site-url >}}
106+
site-url: https://turinglang.org
107+
get-started: dev/docs/using-turing/get-started
108+
tutorials-intro: dev/docs/tutorials/00-introduction

_variables.yml

-1
This file was deleted.

about.qmd

-6
This file was deleted.

index.qmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ page-layout: custom
55
section-divs: false
66
hide-description: true
77
description: |
8-
Turing.jl is a probabilistic programming language and Bayesian modeling framework for the Julia programming language.
8+
Turing.jl is a probabilistic programming language and Bayesian modelling framework for the Julia programming language.
99
---
1010

1111
::: {.hero-banner}
@@ -45,10 +45,10 @@ Turing is modular, written fully in Julia, and can be modified to suit your need
4545
## Community Resources
4646

4747
The Turing.jl [discourse forum](https://discourse.julialang.org/c/domain/probprog) provides support and discussion for all user levels.
48-
The [Turing.jl documentation](dev/docs/using-turing/get-started) and [tutorials](dev/tutorials/) help users learn and use Turing.jl!
48+
The [Turing.jl documentation]({{< meta get-started >}}) and [tutorials]({{< meta tutorials-intro >}}) help users learn and use Turing.jl!
4949

5050
:::
5151
::: {.g-col-3}
5252
:::
5353
:::
54-
:::
54+
:::

0 commit comments

Comments
 (0)