mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-29 08:05:49 +00:00
Make PHP pagelist for ripple.com
This commit is contained in:
12
tool/template-manifest.php
Normal file
12
tool/template-manifest.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
$devPortalPages = array(
|
||||
{% for page_filename, page_url in target.link_subs.items() %}
|
||||
{% set wp_page_id = page_url[:-1]|replace("https://ripple.com/build/", "") %}
|
||||
{% if "/" not in wp_page_id and "-tool" not in wp_page_id %}
|
||||
'{{wp_page_id}}' => '{{page_filename}}',
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user