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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ This project is build and run using [Zola](https://www.getzola.org/), a Rust-bas

Under the hood, Zola uses [Tera](https://keats.github.io/tera/) for templating.

This project also uses the [Red Hat Design System](https://ux.redhat.com/).

## Licensing

- [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) for the displayed page and primary license for this repository
Expand Down
11 changes: 6 additions & 5 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{% set cdn_base_url = "https://redhatstatic.com/dssf-001/v2/" %}
{% if config.extra.env == "dev" %}
{% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %}
{% endif %}

<!doctype html>
<html lang="en">
<head>
{# Temporarily using 3rd pary CDN while we fix CORS issue with https://redhatstatic.com/dssf-001/v2/ #}
{% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %}
{% if config.extra.env == "dev" %}
{% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %}
{% endif %}

{% include "partials/_head.html" %}
</head>
<body>
Expand Down