Skip to content

Commit

Permalink
content: added RSS button in release notes title block
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceOrunitia committed Jul 23, 2024
1 parent d473054 commit 1dd69f9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 2 additions & 0 deletions content/en/docs/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ linkTitle: "Release Notes"
weight: 5
menu: false
type: docs
rss: "https://github.com/rosenpass/rosenpass/releases.atom"
---


## 0.2.2
- Fixes vulnerability to prevent output shared key (OSK) to be set or written again on a responder receiving the same InitConf message during a handshake.
- This release has no impact for majority of users using Rosenpass with Wireguard
Expand Down
15 changes: 12 additions & 3 deletions layouts/docs/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@

<a id="td-block" class="td-offset-anchor"></a>
<section class="row block-lead td-box td-box--light position-relative td-box--gradient">
<div class="container text-center td-arrow-down">
{{ with .LinkTitle }}
<div class="h3 conference mb-0">
<div class="container text-center td-arrow-down d-flex">
{{ with .LinkTitle }}
<div class="h3 conference mb-0" id="release-title">
{{ . }}
</div>
{{ end }}
<div class="h4 mb-0">
{{ .Title }}
</div>
{{ with .Params.Rss }}
<div id="release-button">
<span class="td-blog">
<a class="td-rss-button rss-feed-button" title="RSS" href="{{ . }}" target="_blank" rel="noopener">
<i class="fa-solid fa-rss" aria-hidden="true"></i>
</a>
</span>
</div>
{{ end}}
</div>
</section>

Expand Down
11 changes: 11 additions & 0 deletions static/css/rosenpass.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@
width: 80vw !important;
}

#release-title{
margin-left: auto;
padding-left: 5rem;
align-self: center;
}

#release-button{
margin-left: auto;
padding-right: 2rem;
}

a {font-weight:bold;}

.td-box--light p > a { color: var(--bs-link-color); }
Expand Down

0 comments on commit 1dd69f9

Please sign in to comment.