Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@ docs
*.Rproj
*.Rhistory
.Rproj.user

/.luarc.json

1 change: 0 additions & 1 deletion _quarto-production.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
project:
render:
- "*.qmd"
- "!content/tests/"
execute:
freeze: false
3 changes: 1 addition & 2 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ format:
toc-title: Table of Contents
link-external-newwindow: true

brand: _brand.yml
brand: brand/_brand.yml
profile:
default: local

1 change: 0 additions & 1 deletion _variables.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
grass:
name: GRASS
version: 8.4
website: https://grass.osgeo.org
support: https://opencollective.com/grass/contribute
description: Bringing advanced geospatial technologies to the world
Expand Down
12 changes: 6 additions & 6 deletions _brand.yml → brand/_brand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ meta:
logo:
images:
logo-small-no-text-light:
path: ../../images/logos/small/[email protected]
path: ../images/logos/small/[email protected]
alt: "Small sized GRASS icon colored white with GRASS shape"
logo-small-no-text-dark:
path: ../../images/logos/small/[email protected]
path: ../images/logos/small/[email protected]
alt: "Small sized GRASS icon colored GRASS green with GRASS shape"
logo-medium-no-text-light:
path: ../../images/logos/medium/[email protected]
path: ../images/logos/medium/[email protected]
alt: "Medium sized GRASS icon colored white with GRASS shape"
logo-medium-no-text-dark:
path: ../../images/logos/medium/[email protected]
path: ../images/logos/medium/[email protected]
alt: "Medium sized GRASS icon colored GRASS green with GRASS shape"
logo-large-no-text-light:
path: ../../images/logos/large/grass-white-no-text.svg
path: ../images/logos/large/grass-white-no-text.svg
alt: "Large vector (svg) GRASS icon colored white with GRASS shape"
logo-large-no-text-dark:
path: ../../images/logos/large/grass-green-no-text.svg
path: ../images/logos/large/grass-green-no-text.svg
alt: "Large vector (svg) GRASS icon colored GRASS green with GRASS shape"
small:
light: logo-small-no-text-light
Expand Down
15 changes: 2 additions & 13 deletions content/tests/styling.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -992,10 +992,10 @@ Quarto supports several shortcodes natively which allow us to access project var
You can access variables located in `_variables.yml` using pre-defined [varible shortcodes](https://quarto.org/docs/authoring/variables.html).

``` {.markdown shortcodes="false"}
{{< var grass.version >}}
{{< var grass.website >}}
```

Will render {{< var grass.version >}}
Will render {{< var grass.website >}}

## Includes

Expand All @@ -1021,14 +1021,3 @@ and finally displays

{{< include /content/include/_support-button.qmd >}}

## Brand

Brand data is defined in the `_brand.yml` file.

### Logo small light

``` {.markdown shortcodes="false"}
{{< brand logo small light >}}
```

{{< brand logo small light >}}
10 changes: 0 additions & 10 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
title: "Learn GRASS"
listing:
- id: tests
contents:
- content/tests/styling.qmd
type: grid
- id: get-started
contents: content/tutorials/get_started
type: grid
Expand Down Expand Up @@ -34,9 +30,3 @@ title-block-banner: false
## All Tutorials
:::{#all}
:::

::: {.content-visible when-profile="local"}
## Tests
:::{#tests}
:::
:::
Loading