mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 20:05:50 +00:00
Docs page: fix broken FAQ placement
This commit is contained in:
@@ -323,7 +323,7 @@ pages:
|
||||
- run-rippled-as-a-validator.html
|
||||
- intro-to-consensus.html
|
||||
# Questions
|
||||
- technical-faq.html
|
||||
- faq.html
|
||||
top_nav_hero_image: assets/img/icons/docs.svg
|
||||
popular_pages: #TODO: find a way so this isn't a partial duplicate of top_nav_shortcuts?
|
||||
- send-xrp.html
|
||||
@@ -362,15 +362,6 @@ pages:
|
||||
targets:
|
||||
- ja
|
||||
|
||||
- name: FAQ
|
||||
html: faq.html
|
||||
template: page-faq.html.jinja
|
||||
parent: docs.html
|
||||
sidebar: disabled
|
||||
targets:
|
||||
- en
|
||||
- ja
|
||||
|
||||
# Concepts ---------------------------------------------------------------------
|
||||
|
||||
- name: Concepts
|
||||
@@ -3717,6 +3708,17 @@ pages:
|
||||
- en
|
||||
- ja
|
||||
|
||||
|
||||
# FAQ is a special case directly under "Docs" ----------------------------------
|
||||
- name: FAQ
|
||||
html: faq.html
|
||||
template: page-faq.html.jinja
|
||||
parent: docs.html
|
||||
sidebar: disabled
|
||||
targets:
|
||||
- en
|
||||
- ja
|
||||
|
||||
# "Community" tab --------------------------------------------------------------
|
||||
- name: Community
|
||||
html: contribute.html
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
<section class="container-fluid mb-50" id="doc-types">
|
||||
<h2 class="h4">{% trans %}Article Types{% endtrans %}</h2>
|
||||
{% set curated_cards = currentpage.children|selectattr("html","ne","by-label.html")|map(attribute="html")|list %}
|
||||
{% set curated_cards = currentpage.children|selectattr("html","ne","by-label.html")|selectattr("html","ne","faq.html")|map(attribute="html")|list %}
|
||||
{% set mobile_cols = 1 %}
|
||||
{% include 'component-curated-cards.html.jinja' %}
|
||||
</section><!--/#doc-types-->
|
||||
@@ -96,7 +96,7 @@
|
||||
<section class="container-fluid mb-50 doc-index">
|
||||
<h2 id="full-doc-index" class="h4">{% trans %}Full Documentation Index{% endtrans %}</h2>
|
||||
<div class="row">
|
||||
{% for page in currentpage.children if page.html != "by-label.html" %}
|
||||
{% for page in currentpage.children if page.html not in ("by-label.html", "faq.html") %}
|
||||
{% set parent_html = page.html %}
|
||||
{% set depth = 6 %}
|
||||
<div class="col-md-6 mt-20">
|
||||
|
||||
Reference in New Issue
Block a user