Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit fdfb3ab

Browse files
travis1111sishida
authored andcommitted
Add news for 0.4.0 release
Signed-off-by: tiaoyuw <[email protected]>
1 parent 650695d commit fdfb3ab

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

docs/_includes/topbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<a class="nav-link cw-nav-link cw-header-link-text" href="gettingstarted.html">Docs</a>
1414
</li>
1515
<li class="nav-item cw-navbar-item cw-header-link-news">
16-
<a class="nav-link cw-nav-link cw-header-link-text" href="news03.html">News</a>
16+
<a class="nav-link cw-nav-link cw-header-link-text" href="news04.html">News</a>
1717
</li>
1818

1919
<li class="nav-item cw-navbar-item cw-header-link">

docs/_layouts/news.html

+12-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@
99
<!-- Hard coded TOC -->
1010
<!-- Start single page getting started -->
1111

12-
<a href="news03.html"
12+
13+
14+
<a href="news04.html"
15+
{% assign cls = "bg-light list-group-item list-group-item-action" %}
16+
{% if "/news04" == page.url %}
17+
{% assign cls = "cw-current-page bg-light list-group-item list-group-item-action" %}
18+
{% endif %}
19+
class="{{cls}}">
20+
Codewind 0.4
21+
</a>
22+
23+
<a href="news03.html"
1324
{% assign cls = "bg-light list-group-item list-group-item-action" %}
1425
{% if "/news03" == page.url %}
1526
{% assign cls = "cw-current-page bg-light list-group-item list-group-item-action" %}

docs/_news/news04.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: docs
2+
layout: news
33
title: New for Codewind 0.4
44
description: New for Codewind 0.4
55
keywords: news, new, updates, update, version

0 commit comments

Comments
 (0)