diff --git a/content/post/markdown-syntax.md b/content/post/markdown-syntax.md index 06990d7..cd779b2 100644 --- a/content/post/markdown-syntax.md +++ b/content/post/markdown-syntax.md @@ -14,6 +14,13 @@ categories = [ ] series = ["Themes Guide"] aliases = ["migrate-from-jekyl"] + +showMetadata = true # Master switch +showPublishedDate = false # Hide published date for this post +showReadingTime = false # Hide reading time for this post +showTags = false # Show tags +showAuthors = true # Hide authors +showCategories = false # Show categories +++ This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index 6a96b05..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,42 +0,0 @@ -{{ define "title"}} -{{ .Title }} | {{ .Site.Params.author.name }} -{{ end }} - -{{ define "main" }} -
{{.Description}}
- {{ end }} - {{ if .Params.showMetadata | default true }} -