Embedded faq #246
No reviewers
Labels
No labels
about page
bug
community page
documentation
donate page
duplicate
enhancement
feature page
good first issue
Google Season of Docs
help wanted
invalid
landing page
news page
question
support page
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/website#246
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "embedded-faq"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added Zola template to generate FAQ simmilar to https://github.com/organicmaps/organicmaps/blob/master/data/faq.html
See
/faq/embedded-faq?lang=en
, or/faq/embedded-faq?lang=pl
, or/faq/embedded-faq?lang=ru
, etc.Problem 1: there are no questions "How to create a route and start navigation" and "I can't hear voice instructions" in https://organicmaps.app/faq/Added two more questions to
master
branch and to embedded FAQ page.Problem 2: New strings "For more information please visit our web-site" and "Go to Top" should be translated in config.toml but I just put HTML code with translations intoembedded-faq.html
.Added two strings
more-info-om
andgo-to-top
to translations list.FAQ looks and works good in Android and iOS:
There is a non-matching p tag:
Deploying organicmaps with
Cloudflare Pages
1eaea3d
View logs
@biodranik this error is caused by
<ul>
tag within<p>
tag. So I removed outer<p>
tag. Anyway Markdown-to-HTML convertor adds those tags automaticallyThanks a lot for this PR!
Why? What is needed to fix it?
@ -0,0 +1,7 @@
---
title: Multilang single page FAQ
Would it be better to index it with search engines or not index it?
Is it possible to avoid manual adding of these pages?
Is it possible to generate this list automatically?
Can it be automatically updated?
Is it possible to have one dd section for all translations inside it? E.g. dd with a div+lang or p+lang inside?
Looks like adding these translations into config.toml would be more flexible.
@ -0,0 +137,4 @@
<div class="faq">
<h2 lang="en">FAQ</h2>
<h2 lang="ru">Часто задаваемые вопросы (FAQ)</h2>
Is it possible to extract titles/translations from related pages?
@ -0,0 +1,7 @@
---
title: Multilang single page FAQ
This page has the same content as other FAQ pages. I think we don't need to index it by sesarch engines.
We export only subset of FAQ questions. How can we tell which pages to include? Does ordering matters?
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
I used for-loop to generate links in format
organicmaps.app/{{ lang }}/
Added new translation key 'go-to-top'.
@ -0,0 +1,7 @@
---
title: Multilang single page FAQ
Does it have
<meta name="robots" content="noindex" />
in the template?@strump can you please double-check if it's ready to merge and if the produced html works on iOS and Android?
@biodranik ready to merge
Thanks!