-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update discovery page, blog post preview layout
- Loading branch information
1 parent
a6f7b7b
commit 953d1a6
Showing
10 changed files
with
411 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
--- | ||
main: foo, bar, qaz | ||
--- | ||
|
||
<!DOCTYPE html> | ||
<html lang="{{ page.lang | default: site.lang | default: 'en-US' }}"> | ||
<head> | ||
{% include meta.html %} | ||
{% include styles.html %} | ||
{% if site.google_analytics_ua or site.dap_agency %} | ||
{% include analytics.html %} | ||
{% endif %} | ||
</head> | ||
<body class="{{ layout.class }} {{ page.class }} {% if site.site_width %}site-{{ site.site_width }}{% endif %}"> | ||
{% include skipnav.html %} | ||
{% include header.html %} | ||
|
||
{% assign hero = page.hero %} | ||
{% include components/hero.html %} | ||
|
||
{% if page.tagline and page.intro %} | ||
<section class="grid-container usa-section"> | ||
<div class="grid-row grid-gap"> | ||
<div class="tablet:grid-col-4"> | ||
<h2 class="font-heading-xl margin-top-0 tablet:margin-bottom-0">{{ page.tagline }}</h2> | ||
</div> | ||
<div class="tablet:grid-col-8 usa-prose"> | ||
{{ page.intro | markdownify }} | ||
</div> | ||
</div> | ||
</section> | ||
{% endif %} | ||
|
||
<section class="grid-container usa-section"> | ||
<div class="grid-row grid-gap"> | ||
<div class="tablet:grid-col-4"> | ||
<h2 class="font-heading-xl margin-top-0 tablet:margin-bottom-0">Latest Publications</h2> | ||
</div> | ||
<div class="tablet:grid-col-8 usa-prose"> | ||
{% for post in site.posts %} | ||
{% if post.img %} | ||
<div class="hov"> | ||
<a href="{{post.url}}"> | ||
<img src="{{post.img}}" class="card-img-top rounded" alt="{{post.title}}"> | ||
<div class="card-body"> | ||
<h5 class="card-title"><a href="{{post.url}}" style="color:black;text-decoration: none;"><b>{{ post.title }}</b></a> | ||
</h5> | ||
<p class="card-text"><span class="badge bg-fun" style="background-color:#162e51;">Research</span> {{post.lead}}</p> | ||
<p class="card-text"><small class="text-muted">Published {{post.date | date: "%b %d, %Y"}}</small></p> | ||
</div> | ||
</a> | ||
</div> | ||
<br> | ||
{% else %} | ||
<div class="hov"> | ||
<div class="card mb-3 border-0" style="width:100%;"> | ||
<div class="row g-0"> | ||
<div class="col-md-4"> | ||
<img src="/assets/img/obsrva-sm.png" class="img-fluid rounded-start" alt="..."> | ||
</div> | ||
<div class="col-md-8"> | ||
<div class="card-body"> | ||
<h5 class="card-title"><a href="{{post.url}}" style="color:black;text-decoration: none;"><b>{{ post.title }}</b></a> | ||
</h5> | ||
<p class="card-text"><span class="badge bg-fun" style="background-color:#162e51;">POC</span> {{post.lead}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
{% endif %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</section> | ||
<section class="grid-container usa-section"> | ||
<div class="grid-row grid-gap"> | ||
<div class="tablet:grid-col-4"> | ||
<h2 class="font-heading-xl margin-top-0 tablet:margin-bottom-0">All Advisories</h2> | ||
</div> | ||
<div class="tablet:grid-col-8 usa-prose"> | ||
<!-- Start of Advisory Group --> | ||
<div class="accordion" id="accordionExample"> | ||
<div class="accordion-item"> | ||
<h2 class="accordion-header" id="headingOne"> | ||
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> | ||
<strong>[CVE-2021-3441]  </strong> HP Officejet - ‘AirPrint’ Cross Site Scripting (XSS) | ||
</button> | ||
</h2> | ||
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample"> | ||
<div class="accordion-body"> | ||
<br> | ||
<p><strong>Overview:</strong> Stored cross-site scripting (XSS) in the embedded webserver of certain HP OfficeJet Printers—including the 4630 e-All-in-One Printer and 7110 Wide Format ePrinter— enables remote unauthenticated attackers to introduce arbitrary JavaScript via the <code>printer name</code> and <code>printer location</code> fields.</p> | ||
<p> <strong>Credit: </strong> Tyler Butler</p> | ||
<p> <strong>Disclosure Date: </strong>2021-08-22</p> | ||
<p><strong> Advisory Link: </strong> <a href="/2021/08/22/CVE-2021-3441.html">CVE-2021-3441</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="accordion-item"> | ||
<h2 class="accordion-header" id="headingTwo"> | ||
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> | ||
<strong>[CVE-2021-35956]  </strong> AKCP sensorProbe - 'Multiple' Cross Site Scripting (XSS) | ||
</button> | ||
</h2> | ||
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample"> | ||
<div class="accordion-body"> | ||
<br> | ||
<p><strong>Overview:</strong> Stored cross-site scripting (XSS) in the embedded webserver of AKCP sensorProbe before SP480-20210624 enables remote authenticated attackers to introduce arbitrary JavaScript via the <code>Sensor Description</code>, <code>Email (from/to/cc)</code>, <code>System Name</code>, and <code>System Location</code> fields.</p> | ||
<p> <strong>Credit: </strong> Tyler Butler</p> | ||
<p> <strong>Disclosure Date: </strong> 2021-06-06</p> | ||
<p><strong> Advisory Link: </strong> <a href="/2021/06/06/CVE-2021-35956.html">CVE-2021-35956</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- End of Advisory Group --> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
{% capture _graphics %} | ||
{% include graphic-list-post.html graphics=page.graphics %} | ||
{% endcapture %} | ||
|
||
{% capture _graphics %} | ||
{% include graphic-list.html graphics=page.graphics %} | ||
{% endcapture %} | ||
|
||
{% if page.graphics_position != 'after' %} | ||
{{ _graphics }} | ||
{% endif %} | ||
|
||
|
||
{% if page.layout == 'post' %} | ||
{{ content }} | ||
{% else %} | ||
<main id="main-content"{% for _attr in layout.main %} {{ _attr[0] }}="{{ _attr[1] }}"{% endfor %}> | ||
{{ content }} | ||
</main> | ||
{% endif %} | ||
|
||
{% if page.graphics_position == 'after' %} | ||
{{ _graphics }} | ||
{% endif %} | ||
|
||
<section class="grid-container usa-section"> | ||
<div class="grid-row grid-gap" > | ||
<div class="tablet:grid-col-4"> | ||
<h2 class="font-heading-xl margin-top-0 tablet:margin-bottom-0" id="{{page.featured | uri_escape }}">Connect on Twitter</h2> | ||
</div> | ||
<div class="tablet:grid-col-8 usa-prose"> | ||
<a class="twitter-timeline" href="https://twitter.com/Obsrva_?ref_src=twsrc%5Etfw">Tweets by Obsrva_</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
|
||
{% include footer.html %} | ||
|
||
{% include scripts.html %} | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: home | ||
main: | ||
class: usa-section | ||
--- | ||
|
||
<div class="grid-container"> | ||
{{ content }} | ||
</div> |
Oops, something went wrong.