Add config.extra.debug_no_styles for debugging
This commit is contained in:
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Added
|
||||
|
||||
- Add `classic-article-list` mod for returning the classic article list style.
|
||||
- Add `config.extra.debug_no_styles` config variable for debugging.
|
||||
- Add `config.extra.show_backlinks` config variable for showing the backlinks button for linked articles in the article's quick actions.
|
||||
- Add `fediverse:creator` meta tag.
|
||||
- Add `title` class for use on `<strong>`.
|
||||
|
@ -175,6 +175,8 @@ csp = [
|
||||
]
|
||||
# Display outlines around all elements for debugging purposes
|
||||
# debug_layout = true
|
||||
# Don't load any styles for debugging purposes
|
||||
# debug_no_styles = true
|
||||
|
||||
[extra.nav]
|
||||
# Whether to show the Atom/RSS feed button in the nav
|
||||
|
@ -54,6 +54,7 @@
|
||||
{%- set styles = styles | concat(with=section.extra.styles) %}
|
||||
{%- endif %}
|
||||
|
||||
{%- if not config.extra.debug_no_styles %}
|
||||
{%- for style in styles %}
|
||||
<link type="text/css" rel="stylesheet" href="{{ get_url(path=style) | safe }}" />
|
||||
{%- endfor %}
|
||||
@ -66,6 +67,7 @@
|
||||
<link type="text/css" rel="stylesheet" href="{{ get_url(path='syntax-theme.css') }}" />
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
||||
{%- set scripts = ["closable.js"] %}
|
||||
|
||||
|
Reference in New Issue
Block a user