Skip to content

Commit

Permalink
Update document.html.haml
Browse files Browse the repository at this point in the history
  • Loading branch information
situx authored Jan 29, 2025
1 parent 40a00b2 commit 4121c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions document/templates/html5/document.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
- if Asciidoctor::DEFAULT_STYLESHEET_KEYS.include?(attr :stylesheet)
- if @safe >= Asciidoctor::SafeMode::SECURE || (attr? :linkcss)
%link(rel='stylesheet'){:href=>normalize_web_path(Asciidoctor::DEFAULT_STYLESHEET_NAME, (attr :stylesdir, ''))}
- else
%style=Asciidoctor::Stylesheets.instance.primary_stylesheet_data
# - else
# %style=Asciidoctor::Stylesheets.instance.primary_stylesheet_data
- elsif attr? :stylesheet
- if @safe >= Asciidoctor::SafeMode::SECURE || (attr? :linkcss)
%link(rel='stylesheet'){:href=>normalize_web_path((attr :stylesheet), (attr :stylesdir, ''))}
Expand Down

0 comments on commit 4121c80

Please sign in to comment.