Skip to content

Commit 383e108

Browse files
Add nowrap option
1 parent 718c429 commit 383e108

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

assets/scss/_layout.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@
1515
.text-center {
1616
text-align: center;
1717
}
18+
19+
.no-wrap {
20+
flex-wrap: nowrap;
21+
}

content/docs/specification/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
+++
22
title = "Specification"
33
date = 2024-10-20T15:12:37+02:00
4+
nowrap = true
45
+++
56

67
# Formal Lento Language Specification

layouts/_default/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ define "main" }}
2-
<div class="container">
2+
<div class="container {{ if .Params.nowrap }}no-wrap{{ end }}">
33
{{ .Content }}
44
</div>
5-
{{ end }}
5+
{{ end }}

0 commit comments

Comments
 (0)