Upload files to "templates"

This commit is contained in:
2024-11-28 10:38:36 -05:00
parent e3e7fc27cb
commit bae8db53e9

View File

@ -2,30 +2,30 @@
{% block content %}
<h1>Methodology</h1>
<!-- Loop through all sections -->
{% for section in content %}
<!-- Display Baseline and MITRE TIE as buttons -->
<div class="content-box">
<h2>{{ section.title }}</h2>
{% if section.description %}
<p>{{ section.description }}</p>
{% endif %}
{% if section.link %}
<a href="{{ section.link }}" target="_blank" class="link-button">Explore {{ section.title }}</a>
{% endif %}
{% if section.content %}
<div class="markdown-content">
<pre>{{ section.content }}</pre>
{% for section in content %}
{% if section.title == "Baseline" or section.title == "MITRE TIE" %}
<div class="button-section">
<h2>{{ section.title }}</h2>
<p>{{ section.description }}</p>
<a href="{{ section.link }}" target="_blank" class="link-button">Explore {{ section.title }}</a>
</div>
{% endif %}
{% if section.resources %}
<h3>Resources</h3>
<ul>
{% for resource in section.resources %}
<li><a href="{{ resource.url }}" target="_blank">{{ resource.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
{% endfor %}
</div>
<br>
<hr>
{% endfor %}
<h1>Incident Response Investigation Funnel</h1>
<!-- Display the rest of the sections as links -->
<ul>
{% for section in content %}
{% if section.title != "Baseline" and section.title != "MITRE TIE" %}
<li><a href="/methodology/{{ section.title.replace(' ', '_') }}">{{ section.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endblock %}