Skip to content

Commit 5106d0f

Browse files
garlofffkr
authored andcommitted
Add direct link from news page to same on new site.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
1 parent 389cc0a commit 5106d0f

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

_i18n/de.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ news:
7878
read_more: "Weiterlesen..."
7979
events_link: "Mehr auf unserer Veranstaltungsseite."
8080
youtube_link: "Viele Videos auch auf unserem Youtube Kanal."
81+
newpage_link: "Diese Seite auf der neuen Webseite."
8182
tenders:
8283
name: "Name"
8384
description: "Beschreibung"

_i18n/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ news:
7979
read_more: "Read more..."
8080
events_link: "See also our events page."
8181
youtube_link: "Many videos are also on our Youtube channel."
82+
newpage_link: "This page on the new web site."
8283
tenders:
8384
name: "Name"
8485
description: "Description"

_includes/news/link_newpage.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="d-grid">
2+
<a href="{{ site.baseurl }}/{{ include.ref }}/" class="btn btn-outline-primary" role="button">{% t news.newpage_link %}</a>
3+
</div>

_layouts/news.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@
2121
{% include news/youtube_channel.html ref="https://www.youtube.com/@sovereigncloudstack" %}
2222
<p>&nbsp;</p>
2323
{% include news/link_events.html ref="/events" %}
24+
<p>&nbsp;</p>
25+
{% include news/link_newpage.html ref="https://sovereigncloudstack.org/community-news/" %}
2426
</div>

0 commit comments

Comments
 (0)