Ver Fonte

j'ai essayé des trucs mais ça n'a pas fonctionné

Valentin há 2 anos atrás
pai
commit
e779bf413c

+ 13 - 0
user/config/plugins/better-typography.yaml

@@ -0,0 +1,13 @@
+enabled: true
+perLanguageSettings:
+  -                                           # You can add as many languages as defined as supported language in system.yaml
+    language: default                         #
+    useSmartQuotes: true                      # replace "foo" with “foo” or « foo »... Depends on the selected quoteStyle
+    smartQuotesStyle: doubleCurled            # Style to apply for quotes ; available options are 'doubleCurled' (“foo”), 'doubleCurledReversed' (”foo”) 'doubleLow9' („foo”), 'doubleLow9Reversed' („foo“), 'singleCurled' (‘foo’), 'singleCurledReversed' (’foo’), 'singleLow9' (‚foo’), 'singleLow9Reversed' (‚foo‘), 'doubleGuillemetsFrench' (« foo »), 'doubleGuillemets' («foo»), 'doubleGuillemetsReversed' (»foo«), 'singleGuillemets' (‹foo›), 'singleGuillemetsReversed' (›foo‹) 'cornerBrackets' (「foo」), 'whiteCornerBracket' (『foo』).
+    smartQuotesStyleSecondary: singleCurled   # same as above for smartQuotesStyle
+    useSmartDashes: true                      # replace -- & --- to en & em dashes, depending on the selected dashStyle
+    smartDashesStyle: international           # 'international' or 'traditionalUS'
+    applyHyphenations: false
+    applyFrenchSpecific: false                # apply specific french typographic rules such as unbreakable space before double punctuation (?, !, :, ;) and XVI<sup>e</sup> siècle
+    useSmartDiacritics: false                 # replace "creme brulee" with "crème brûlée". Only available for de-DE and en-US languages
+    smartDiacriticsLanguage:                  # de-DE or en-US

+ 1 - 1
user/data/feed/3a6d0284e743dc4a9b86f97d6dd1a3bf.yaml

@@ -1,4 +1,4 @@
-last_checked: 1686085004
+last_checked: 1686146618
 data:
   -
     title: 'macOS 13.0 Ventura Apache Setup: Upgrading Homebrew'

+ 1 - 1
user/data/notifications/3a6d0284e743dc4a9b86f97d6dd1a3bf.yaml

@@ -1,4 +1,4 @@
-last_checked: 1686090108
+last_checked: 1686146617
 data:
   feed:
     -

+ 1 - 1
user/themes/carnet-atterrissage/templates/default.html.twig

@@ -5,7 +5,7 @@
         {% set current_page = (p.active or p.activeChild) ? 'selected' : '' %}
             <div class="has-children {{ current_page|e }}">
                     {# parent #}
-                    <h2>{{ p.menu|e }}</h2>
+                    <h2>{{ p.menu|e}}</h2>
                     {{ p.content|raw }}
                     {% if p.children.visible.count > 0 %}
                         <div>

+ 0 - 1
user/themes/carnet-atterrissage/templates/partials/base.html.twig

@@ -11,7 +11,6 @@
 
     <link rel="icon" type="image/png" href="{{ url('theme://images/logo.png')|e }}" />
     <link rel="canonical" href="{{ page.canonical(true)|e }}" />
-    {# paged polyfill #}
     <script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
 {% endblock head %}