Upload files to "templates"
This commit is contained in:
@ -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 %}
|
{% endfor %}
|
||||||
<h3>Resources</h3>
|
</div>
|
||||||
|
<br>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
|
||||||
|
<h1>Incident Response Investigation Funnel</h1>
|
||||||
|
<!-- Display the rest of the sections as links -->
|
||||||
<ul>
|
<ul>
|
||||||
{% for resource in section.resources %}
|
{% for section in content %}
|
||||||
<li><a href="{{ resource.url }}" target="_blank">{{ resource.name }}</a></li>
|
{% if section.title != "Baseline" and section.title != "MITRE TIE" %}
|
||||||
|
<li><a href="/methodology/{{ section.title.replace(' ', '_') }}">{{ section.title }}</a></li>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
{% endfor %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user