Execute npm run format
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
parent
ff4df379a8
commit
aaaac06d8e
2 changed files with 8 additions and 8 deletions
10
README.md
10
README.md
|
@ -54,7 +54,7 @@ taxonomies:
|
|||
Zola collects all such taxonomies:
|
||||
|
||||
| File | Taxonomy key | Taxonomy value |
|
||||
|-----------------------------------------| ------------ |--------------------|
|
||||
| --------------------------------------- | ------------ | ------------------ |
|
||||
| map/can-find-position/index.md | `faq` | `Map` |
|
||||
| map/search-cannot-find-a-place/index.md | `faq` | `Map` |
|
||||
| editing/map-errors/index.md | `faq` | `Map Editing` |
|
||||
|
@ -100,10 +100,10 @@ faq-menu-title = "{Translation of 'F.A.Q.' to a new language}"
|
|||
|
||||
A subset of FAQ questions is used to generate static single-page FAQ: [`/faq/embedded-faq/`](https://organicmaps.app/faq/embedded-faq/?lang=en). This page should be used as an embedded offline help page in Organic Maps app on Android and iOS. To see how it looks in different languages use following links:
|
||||
|
||||
* https://organicmaps.app/faq/embedded-faq/?lang=en
|
||||
* https://organicmaps.app/faq/embedded-faq/?lang=de
|
||||
* https://organicmaps.app/faq/embedded-faq/?lang=ru
|
||||
* etc.
|
||||
- https://organicmaps.app/faq/embedded-faq/?lang=en
|
||||
- https://organicmaps.app/faq/embedded-faq/?lang=de
|
||||
- https://organicmaps.app/faq/embedded-faq/?lang=ru
|
||||
- etc.
|
||||
|
||||
List of supported languages could be found in `templates/faq/embedded-faq.html`: `en`, `de`, `es`, `fr`, `pt`, `pt-BR`, `pl`, `ru`, `tr`, `uk`, `zh`.
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
{%- set resource_title = resource.name %}
|
||||
{%- elif taxonomy %}{# taxonomy has only 'name' and 'slug' properties #}
|
||||
{% if lang == 'en' %}
|
||||
{% set resource = taxonomy.name ~ "/_index.md" %}
|
||||
{% set resource = taxonomy.name ~ "/_index.md" %}
|
||||
{% else %}
|
||||
{% set resource = taxonomy.name ~ "/_index." ~ lang ~ ".md" %}
|
||||
{% set resource = taxonomy.name ~ "/_index." ~ lang ~ ".md" %}
|
||||
{% endif %}
|
||||
{% set resource = get_section(path=resource) %}
|
||||
{%- set resource_title = resource.title %}
|
||||
|
@ -106,7 +106,7 @@
|
|||
|
||||
<footer>
|
||||
{% if page.taxonomies and page.taxonomies.faq %}{# Show FAQ editing link #}
|
||||
{% include 'faq/github_edit_link.html' %}
|
||||
{% include 'faq/github_edit_link.html' %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'bottom_menu.html' %}
|
||||
|
|
Loading…
Add table
Reference in a new issue