medved/lib/plugin/iscan/templates/gopher.tpl

15 lines
365 B
Smarty
Raw Permalink Normal View History

2018-08-02 17:42:09 +00:00
gopher://{{data['ip']}}/
Dirs:
2018-10-09 22:08:22 +00:00
{% for node in data['files'] -%}
{% if node['type'] == '1' -%}
+ {{node['path']}}
{% endif -%}
2018-08-02 17:42:09 +00:00
{% endfor -%}
Other nodes:
2018-10-09 22:08:22 +00:00
{% for node in data['files'] -%}
{% if node['type'] != '1' and node['type'] != 'i' -%}
+ {{node['path']}}
{{node['name']}}
{% endif -%}
2018-08-02 17:42:09 +00:00
{% endfor -%}
Geo: {{data['geo']['country']}}/{{data['geo']['city']}}