Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions linkerd.io/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
public/
resources/
.hugo_build.lock
public-plaintext
8 changes: 8 additions & 0 deletions linkerd.io/config/_default/outputformats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ RSS:
SearchIndex:
baseName: search
mediaType: application/json

# Plain-text output with shortcodes expanded — consumed by the Linky
# doc indexer so that shortcode content (CLI tables, notes, warnings)
# is included in the search index.
Plaintext:
baseName: index
mediaType: text/plain
notAlternative: true
2 changes: 2 additions & 0 deletions linkerd.io/config/_default/outputs.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Turn off RSS by default; an individual section can choose to enable it
page:
- HTML
- Plaintext
home:
- HTML
- SearchIndex
section:
- HTML
- Plaintext
10 changes: 10 additions & 0 deletions linkerd.io/layouts/_default/list.plaintext.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: {{ .Title }}
{{- with .Date }}
date: {{ .Format "2006-01-02" }}
{{- end }}
{{- with .Description }}
description: {{ . }}
{{- end }}
---
{{ .Content }}
10 changes: 10 additions & 0 deletions linkerd.io/layouts/_default/single.plaintext.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: {{ .Title }}
{{- with .Date }}
date: {{ .Format "2006-01-02" }}
{{- end }}
{{- with .Description }}
description: {{ . }}
{{- end }}
---
{{ .Content }}
Loading