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 %} {% block content %}
<h1>Methodology</h1> <h1>Methodology</h1>
<!-- Loop through all sections --> <!-- Display Baseline and MITRE TIE as buttons -->
{% for section in content %}
<div class="content-box"> <div class="content-box">
{% for section in content %}
{% if section.title == "Baseline" or section.title == "MITRE TIE" %}
<div class="button-section">
<h2>{{ section.title }}</h2> <h2>{{ section.title }}</h2>
{% if section.description %}
<p>{{ section.description }}</p> <p>{{ section.description }}</p>
{% endif %}
{% if section.link %}
<a href="{{ section.link }}" target="_blank" class="link-button">Explore {{ section.title }}</a> <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>
</div> </div>
{% endif %} {% 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 %} {% endfor %}
</ul>
{% endif %}
</div> </div>
<br>
<hr> <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 %} {% endblock %}