diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-12-21 15:28:25 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-12-21 15:28:25 +0000 |
| commit | a8d3f95cf8038f24a760551ed8a3342251f81052 (patch) | |
| tree | 85bdedb2d1b6b17cdadd20e85a9774576f6fb63f /app/directory.ts | |
| parent | e70fd3594cfa8e0e29c3e9fb25991a9bad048469 (diff) | |
Configure ESLint for TypeScript
Diffstat (limited to 'app/directory.ts')
| -rw-r--r-- | app/directory.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/directory.ts b/app/directory.ts index 6449e8e..6cf1125 100644 --- a/app/directory.ts +++ b/app/directory.ts @@ -151,7 +151,7 @@ export class PageDirectory { return undefined; } let result = parse(data); - let title = result.metadata.displayTitle ?? name; + let title = result.metadata.displayTitle ?? name let content = `${result.metadata.notitle ? '' : `<h1>${title}</h1>`}${result.html}`; let page: Page = { |
