Skip to content

Commit 5c3b2a4

Browse files
committed
chore(posts): add weight attribute to code_syntax and rich_content files
1 parent c52f3c8 commit 5c3b2a4

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

content/posts/code_syntax.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ShowToc: true
1111
TocOpen: true
1212
social:
1313
fediverse_creator: "@adityatelange@mastodon.social"
14+
weight: 3
1415
---
1516

1617
### Inline Code

content/posts/markdown-syntax.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ cover:
1212
caption: "Generated using [OG Image Playground by Vercel](https://og-playground.vercel.app/)"
1313
ShowToc: true
1414
TocOpen: true
15+
weight: 1
1516
---
1617

1718
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.

content/posts/rich-content.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2019-03-10"
55
description: "A brief description of Hugo Shortcodes"
66
tags: ["markdown", "shortcodes", "privacy"]
77
ShowToc: true
8+
weight: 2
89
---
910

1011
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.

0 commit comments

Comments
 (0)