1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-21 21:46:29 -05:00

Fixed stylesheet link

(cherry picked from commit ac42a41ae3e36b002df52882be296c01873c0e5b)
This commit is contained in:
Silvio Giebl 2019-05-20 10:05:56 +02:00 committed by Silvio Giebl
parent cba53a6914
commit f61b836f6e

View File

@ -12,9 +12,10 @@
<link rel="shortcut icon" href="{{ 'favicon.ico' | absolute_url }}" type="image/x-icon">
{% assign color_scheme = site.color_scheme %}
{% if color_theme == nil %}
{% if site.color_scheme == nil or site.color_scheme == "nil" %}
{% assign color_scheme = 'light' %}
{% else %}
{% assign color_scheme = site.color_scheme %}
{% endif %}
<link rel="stylesheet" href="{{ color_scheme | prepend: '/assets/css/just-the-docs-' | append: '.css' | absolute_url }}">