Skip to content

Commit a23d07a

Browse files
committed
Fix layouts
1 parent d066c13 commit a23d07a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/_default/section.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# {{ .Title }}
22
{{ $content := .RawContent }}
3-
{{ $content := $content | replaceRE "\\{\\{< relref \"([^\"]+)\" >\\}\\}" "https://redis.io$1" }}
3+
{{ $content := $content | replaceRE "\\{\\{< ?relref \"([^\"]+)\" ?>\\}\\}" "https://redis.io/docs/latest$1" }}
44
{{ $content }}

layouts/_default/single.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# {{ .Title }}
22
{{ $content := .RawContent }}
3-
{{ $content := $content | replaceRE "\\{\\{< relref \"([^\"]+)\" >\\}\\}" "https://redis.io$1" }}
3+
{{ $content := $content | replaceRE "\\{\\{< ?relref \"([^\"]+)\" ?>\\}\\}" "https://redis.io/docs/latest$1" }}
44
{{ $content }}

0 commit comments

Comments
 (0)