Skip to content

Commit 50d7ca5

Browse files
authored
doc: Fix whats new page (TheThingsIndustries#640)
1 parent 063a020 commit 50d7ca5

5 files changed

Lines changed: 8 additions & 68 deletions

File tree

doc/themes/the-things-stack/assets/css/common/global.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ table.fixed td { overflow: auto; }
147147
border: solid #D4D3D9 .5px;
148148
}
149149

150+
.card.is-fullwidth {
151+
width: 100%;
152+
}
153+
150154
.card-content {
151155
height: 100%;
152156
display: flex;

doc/themes/the-things-stack/layouts/partials/pages-cards.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ <h2 class="subtitle">
2020
</h2>
2121
{{ end }}
2222
<div class="content has-text-grey">
23+
{{ if (eq .Section "whats-new") }}
24+
See what's new in {{ .Title }}
25+
{{ else }}
2326
{{ .Summary | plainify }}
27+
{{ end }}
2428
</div>
2529
</div>
2630
<div class="buttons">

doc/themes/the-things-stack/layouts/partials/whats-new-cards.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

doc/themes/the-things-stack/layouts/whats-new/list.html

Lines changed: 0 additions & 28 deletions
This file was deleted.

doc/themes/the-things-stack/layouts/whats-new/single.html

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)