Skip to content

Commit

Permalink
fix ci error remove emoji extension
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhnild committed Oct 2, 2024
1 parent f983798 commit 35f64d4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
5 changes: 3 additions & 2 deletions docs/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,9 @@ You should at least override `home.title`, `home.description` and `home.welcome-
You can include some HTML parts in different sections of the layout application.
These templates can be translated by using the language code as a suffix (e.g. `homeTop-en.html` will be rendered only for the English interface). The application tries to find the localized template first, otherwise it tries the non-localized template, otherwise it displays nothing.

> [!NOTE]
> If you want to display a message common to all languages but not to a particular language (e.g. french), just create the template suffixed with its language code (e.g. `-fr.html`) and leave it empty, and voilà!
!!! note

If you want to display a message common to all languages but not to a particular language (e.g. french), just create the template suffixed with its language code (e.g. `-fr.html`) and leave it empty, and voilà!

See examples in [customization file](https://github.com/GeotrekCE/Geotrek-rando-v3/tree/main/frontend/customization/html).

Expand Down
25 changes: 9 additions & 16 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,22 @@ theme:
- toc.follow
# - toc.integrate
palette:
# Automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Dark Mode
- scheme: slate
# - Dark Mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-sunny
name: Dark mode
primary: green
accent: deep purple

# Light Mode
- scheme: default
accent: light green
# Light Mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/weather-night
name: Light mode
primary: blue
accent: deep orange
primary: green
accent: light green
font:
text: Roboto
code: Roboto Mono
Expand Down Expand Up @@ -97,9 +93,6 @@ markdown_extensions:
- md_in_html
- toc:
permalink: true
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
Expand Down

0 comments on commit 35f64d4

Please sign in to comment.