mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 05:13:33 -06:00
Make themes more customizable
(cherry picked from commit dffb2706a158784e2f3091f895a868e373683bc8)
This commit is contained in:
@@ -12,7 +12,11 @@
|
||||
|
||||
<link rel="shortcut icon" href="{{ 'favicon.ico' | absolute_url }}" type="image/x-icon">
|
||||
|
||||
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs.css' | absolute_url }}">
|
||||
{% assign color_scheme = site.color_scheme %}
|
||||
{% if color_theme == nil %}
|
||||
{% assign color_scheme = 'light' %}
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="{{ color_scheme | prepend: '/assets/css/just-the-docs-' | append: '.css' | absolute_url }}">
|
||||
|
||||
{% if site.ga_tracking != nil %}
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.ga_tracking }}"></script>
|
||||
|
Reference in New Issue
Block a user