Skip to content

Commit 67820a7

Browse files
committed
fix: hide example posts
1 parent 19baf79 commit 67820a7

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

content/posts/emoji-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Guide to emoji usage in Hugo.
66
slug: emoji-support
77
author: John Doe
88

9-
draft: false
9+
draft: true
1010
date: 2020-11-17T21:21:46-05:00
1111
lastmod: 2020-11-18T21:21:46-05:00
1212
expiryDate:

content/posts/subsection/math-typesetting/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: A brief guide to setting up KaTeX.
66
slug: math-typesetting
77
author: John Doe
88

9-
draft: false
9+
draft: true
1010
date: 2020-11-16T21:21:46-05:00
1111
lastmod:
1212
expiryDate:

content/posts/subsection/placeholder-text/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
66
slug: placeholder-text
77
author: John Doe
88

9-
draft: false
9+
draft: true
1010
date: 2020-11-18T21:21:46-05:00
1111
lastmod:
1212
expiryDate:

content/posts/subsection/really-long-toc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: This post has a really long TOC that scrolls.
66
slug: really-long-toc
77
author: John Doe
88

9-
draft: false
9+
draft: true
1010
date: 2020-11-17T21:21:46-05:00
1111
lastmod:
1212
expiryDate:

content/posts/subsection/see-also-read-next/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: 'Sample article showcasing the "See Also" and "Read Next" features.
66
slug: see-also-read-next
77
author: John Doe
88

9-
draft: false
9+
draft: true
1010
date: 2020-11-17T21:21:46-05:00
1111
lastmod:
1212
expiryDate:

content/posts/subsection2/markdown-syntax-2/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Sample article showcasing basic Markdown syntax and formatting for
66
slug: markdown-syntax-2
77
author: John Doe
88

9-
draft: false
9+
draft: true
1010
date: 2020-11-19T21:21:46-05:00
1111
lastmod:
1212
expiryDate:

content/posts/subsection2/markdown-syntax/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Sample article showcasing basic Markdown syntax and formatting for
66
slug: markdown-syntax
77
author: John Doe
88

9-
draft: false
9+
draft: true
1010
date: 2020-11-17T21:21:46-05:00
1111
lastmod: 2020-12-17T21:21:46-05:00
1212
expiryDate:

themes/hugo-liftoff/layouts/shortcodes/projects.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ <h2 class="home-section-title">
1414
{{ $num = 6 }}
1515
{{ end }}
1616
{{ $projects := where site.RegularPages "Section" "projects" | first $num }}
17-
{{ $projects = where $projects "Params.draft" false }}
1817
{{ with $projects }}
1918
<div class="project-list">
2019
{{- range . }}

0 commit comments

Comments
 (0)