no-name-here commited on
Commit
01ac030
·
verified ·
1 Parent(s): d32de93

Upload 42 files

Browse files
Files changed (42) hide show
  1. content/en/_index.md +14 -0
  2. content/en/author/A.N. Other/_index.md +8 -0
  3. content/en/author/author-name/_index.md +19 -0
  4. content/en/footer link.md +13 -0
  5. content/en/footer link2.md +12 -0
  6. content/en/footer.md +17 -0
  7. content/en/pin.md +37 -0
  8. content/en/post/_index.md +17 -0
  9. content/en/post/authoring-cover-images-and-audio-article.md +84 -0
  10. content/en/post/authoring-custom-taxonomy.md +67 -0
  11. content/en/post/authoring-redaction-history.md +36 -0
  12. content/en/post/authoring-terms-entry.md +45 -0
  13. content/en/post/configure-discussion.md +82 -0
  14. content/en/post/configure-logo-and-accent-color.md +81 -0
  15. content/en/post/configure-main-footer.md +55 -0
  16. content/en/post/configure-menu.md +230 -0
  17. content/en/post/configure-pagefind.md +42 -0
  18. content/en/post/configure-slides.md +59 -0
  19. content/en/post/markdown-test.md +85 -0
  20. content/en/post/tufte-features.md +182 -0
  21. content/en/rss.md +14 -0
  22. content/en/slide.md +14 -0
  23. content/en/stage/_index.en.md +4 -0
  24. content/en/stage/_index.id.md +4 -0
  25. content/en/stage/budding/_index.en.md +4 -0
  26. content/en/stage/budding/_index.id.md +4 -0
  27. content/en/stage/evergreen/_index.en.md +4 -0
  28. content/en/stage/evergreen/_index.id.md +4 -0
  29. content/en/stage/seedling/_index.en.md +4 -0
  30. content/en/stage/seedling/_index.id.md +4 -0
  31. content/id/_index.md +18 -0
  32. content/id/pos/_index.md +4 -0
  33. content/id/pos/mengatur-diskusi.md +79 -0
  34. content/id/pos/mengatur-entri-terms.md +42 -0
  35. content/id/pos/mengatur-footer-situs.md +51 -0
  36. content/id/pos/mengatur-logo-dan-aksen-warna.md +78 -0
  37. content/id/pos/mengatur-menu.md +224 -0
  38. content/id/pos/mengatur-pagefind.md +31 -0
  39. content/id/pos/mengatur-riwayat-redaksi.md +32 -0
  40. content/id/pos/mengatur-sampul-dan-audio.md +80 -0
  41. content/id/pos/mengatur-slide.md +55 -0
  42. content/id/pos/tes-markdown.md +81 -0
content/en/_index.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ cover: 'https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/22.svg'
3
+ keepAspectRatio: true
4
+ ---
5
+
6
+ ## Hero Section / Greeter
7
+
8
+ **This exampleSite is deployed on Github Pages within it's theme repository.**
9
+
10
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
11
+
12
+ Integer nec posuere quam. Mauris et rhoncus lacus. Pellentesque non sem cursus, interdum nunc ut, efficitur magna. Maecenas consectetur ornare enim, nec tempus tellus vestibulum in. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vestibulum venenatis ex non auctor malesuada. Curabitur semper elit sit amet orci facilisis fermentum. Nullam consectetur risus eget leo rhoncus egestas. Suspendisse at diam congue, venenatis augue et, ornare lectus. Curabitur ac lorem ullamcorper, consequat justo at, scelerisque lacus. Vivamus ac erat mauris. Nullam ut nibh tincidunt, placerat magna nec, fermentum tortor. Fusce ut orci sed neque sagittis rhoncus. Morbi eleifend, mauris sit amet dignissim dignissim, mauris nisi tempus orci, a congue elit ex quis ex.
13
+
14
+ --- Lorem Ipsum
content/en/author/A.N. Other/_index.md ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: 'A.N. Other'
3
+ ---
4
+
5
+ ## A.N. Other
6
+
7
+ This author information is written in `content/en/author/A.N. Other/_index.md`.
8
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
content/en/author/author-name/_index.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: 'Author Name'
3
+ cover: 'https://upload.wikimedia.org/wikipedia/commons/4/4d/Cat_and_styrofoam_%E2%80%93_electrostatic_charge_%28235112299%29.jpg'
4
+ alt: 'Cat named Cooper with styrofoam on his fur due to electrostatic charge'
5
+ flair: 'Available for hire (example flair)'
6
+ ---
7
+
8
+ ## Author Name
9
+
10
+ This author information is written in `content/en/author/author-name/_index.md`.
11
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
12
+
13
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
14
+
15
+ [Original image](https://commons.wikimedia.org/wiki/File:Cat_demonstrating_static_cling_with_styrofoam_peanuts.jpg#/media/File:Cat_and_styrofoam_%E2%80%93_electrostatic_charge_(235112299).jpg) by <a rel="nofollow" class="external text" href="https://www.flickr.com/people/52798669@N00">Sean McGrath</a> from Saint John, NB, Canada - <a rel="nofollow" class="external text" href="https://www.flickr.com/photos/mcgraths/235112299/">Cooper and Styrofoam</a>, <a href="https://creativecommons.org/licenses/by/2.0" title="Creative Commons Attribution 2.0">CC BY 2.0</a>, <a href="https://commons.wikimedia.org/w/index.php?curid=37622131">Link</a>
16
+
17
+ ---
18
+
19
+ The social icon below is configured in `menus.[lang].toml`.
content/en/footer link.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ type: 'footer'
3
+ coffee: 2
4
+ params:
5
+ headless: true
6
+ ---
7
+
8
+ **Example Links**
9
+
10
+ - [Example Link 1](#)
11
+ - [Example Link 2](#)
12
+ - [Example Link 3](#)
13
+ - [Example Link 4](#)
content/en/footer link2.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ type: 'footer'
3
+ coffee: 2
4
+ params:
5
+ headless: true
6
+ ---
7
+
8
+ **More Links**
9
+
10
+ - [More Link 1](#)
11
+ - [More Link 2](#)
12
+ - [More Link 3](#)
content/en/footer.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ type: 'footer'
3
+ weight: 1
4
+ coffee: 2
5
+ params:
6
+ headless: true
7
+ target: 'https://github.com/foxihd/hugo-brewm'
8
+ ---
9
+
10
+ **Impressum**
11
+
12
+
13
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
14
+
15
+ <br>
16
+
17
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
content/en/pin.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ type: 'slide'
3
+ title: 'Pin'
4
+ params:
5
+ headless: true
6
+ target: 'https://github.com/foxihd/hugo-brewm'
7
+ ---
8
+
9
+ This is a slide with `{{</* pin */>}}` shortcode.
10
+
11
+ ## Pin it as Showcase (Example)
12
+
13
+ Section with `{{</* pin */>}}` shortcode.
14
+ The item order is column-based.
15
+ If images are not square, the layout will displayed as masonry style.
16
+
17
+ {{< pin "begin" >}}
18
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/1.svg" label="Item 1">}}
19
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/2.svg" label="Item 2">}}
20
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/3.svg" label="Item 3">}}
21
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/4.svg" label="Item 4">}}
22
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/5.svg" label="Item 5">}}
23
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/6.svg" label="Item 6">}}
24
+ {{< pin "end" >}}
25
+
26
+ ## Pin it as Catalogue (Example)
27
+
28
+ `{{</* pin */>}}` shortcode with `quote` parameter.
29
+
30
+ {{< pin "begin" >}}
31
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/7.svg" label="Item 1" url="#my-ecommerce" quote="<s>$299</s> $199" >}}
32
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/8.svg" label="Item 2" url="#my-ecommerce" quote="<s>$399</s> $299" >}}
33
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/9.svg" label="Item 3" url="#my-ecommerce" quote="Get Quote" >}}
34
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/10.svg" label="Item 4" url="#my-ecommerce" quote="<s>$299</s> $199" >}}
35
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/11.svg" label="Item 5" url="#my-ecommerce" quote="<s>$399</s> $299" >}}
36
+ {{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/12.svg" label="Item 6" url="#my-ecommerce" quote="Out of stock" >}}
37
+ {{< pin "end" >}}
content/en/post/_index.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Post"
3
+ translationKey: post
4
+ sitemap:
5
+ changeFreq: "always"
6
+ ---
7
+
8
+ This section demonstrates a list view layout.
9
+ The post listing style can be modified by adjusting the sitemap changeFreq parameter to values like "always", "hourly", "daily", or "weekly".
10
+ This section has been set up with the following configuration:
11
+
12
+ ---
13
+ title: "Post"
14
+ translationKey: post
15
+ sitemap:
16
+ changeFreq: "always"
17
+ ---
content/en/post/authoring-cover-images-and-audio-article.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Authoring Cover Images and Audio Articles"
3
+ date: 2025-02-22
4
+ description: "A guide on adding cover images and audio articles"
5
+ draft: false
6
+ author: "Author Name"
7
+ type: "post"
8
+ tags: ["authoring", "content", "media", "audio", "cover", "images", "alt"]
9
+ categories: ["authoring"]
10
+ cover: 'https://upload.wikimedia.org/wikipedia/commons/4/4d/Cat_and_styrofoam_%E2%80%93_electrostatic_charge_%28235112299%29.jpg'
11
+ alt: 'Cat named Cooper with styrofoam on his fur due to electrostatic charge.'
12
+ translationKey: 'media'
13
+ stage: 'budding'
14
+ ---
15
+
16
+ ## Adding Cover Images
17
+
18
+ ### Assign The Cover Images
19
+
20
+ To add a cover image to your article, you have two options:
21
+
22
+ 1. Front Matter Method
23
+
24
+ You can use either `cover` or `images` parameter for the images source.
25
+ And `alt`, `coverAlt` or `imagesAlt` parameter for alt text.
26
+
27
+ ```yaml
28
+ ---
29
+ title: "My Article"
30
+ images: "images/my-cover.jpg"
31
+ alt: "Description of the images"
32
+ ---
33
+ ```
34
+
35
+ 2. Page Bundle Method
36
+
37
+ - Create a folder for your post
38
+ - Name your image `cover.*`
39
+ - Place it in the same folder as your content
40
+ - Set the alt text in your post frontmatter
41
+
42
+ ### Place The Cover
43
+
44
+ You can place your featured images in various layout, anywhere on article content with `{{</* figure */>}}` shortcode:
45
+
46
+ ```toml
47
+ {{</* figure src="cover" caption="alt" */>}}
48
+ ```
49
+
50
+ This is freedom of authoring!
51
+
52
+ {{< figure src="cover" caption="alt" >}}
53
+
54
+
55
+ ## Adding Audio Articles
56
+
57
+ 1. Front Matter Method
58
+
59
+ ```yaml
60
+ ---
61
+ title: "My Article"
62
+ audio: "audio/my-audio.ogg"
63
+ ---
64
+ ```
65
+
66
+ 2. Page Bundle Method
67
+
68
+ You can upload multiple audio format with this method:
69
+
70
+ - Create a folder for your post
71
+ - Name your audio `audio.*`
72
+ - Place it in the same folder as your content
73
+
74
+ ## Page Bundle Method Examples
75
+
76
+ Here's how your folder structure should look:
77
+
78
+ content/
79
+ └── posts/
80
+ └── my-article/
81
+ ├── index.md
82
+ ├── cover.jpg
83
+ ├── audio.mp3
84
+ └── audio.ogg
content/en/post/authoring-custom-taxonomy.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ +++
2
+ author = ["Author Name"]
3
+ title = "Authoring Stage Taxonomy for Digital Garden"
4
+ date = "2025-07-28"
5
+ type = "post"
6
+ draft = false
7
+ coffee = 1
8
+ tags = ["authoring", "taxonomy"]
9
+ categories = ["authoring"]
10
+ stage = "evergreen"
11
+ history = [
12
+ {date = "2025-07-26", stage="seedling"},
13
+ {date = "2025-07-27", stage="budding"},
14
+ {date = "2025-07-28", stage="evergreen"},
15
+ ]
16
+ +++
17
+
18
+ This theme supports custom taxonomy and growth stage indicators.
19
+ By default `seedling`, `budding` and `evergreen` will have predefined indicator.
20
+ <!--more-->
21
+ But fist, it must be manually set up as follows:
22
+
23
+ 1. Register the taxonomy in your `config.toml`:
24
+
25
+ ```toml
26
+ [taxonomies]
27
+ stage = "stage"
28
+ ```
29
+
30
+ 2. Create taxonomy folder and it's terms `_index.md`:
31
+
32
+ ```
33
+ mysite/
34
+ ├── ...
35
+ ├── content/
36
+ │ └── stage/
37
+ │ ├─ seedling/
38
+ │ │ └─ _index.md
39
+ │ ├─ budding/
40
+ │ │ └─ _index.md
41
+ │ └─ evergreen/
42
+ │ └─ _index.md
43
+ └── ...
44
+ ```
45
+
46
+ 3. Within `_index.md`, Set the stage `title` and `translationKey` if site is multilingual,
47
+ you can also override custom `indicator` or `emoji`:
48
+
49
+ ```yaml
50
+ ---
51
+ title: 'Stage of me being Godzilla'
52
+ translationKey: godzilla
53
+ emoji: '🦖'
54
+ # indicator: 'https://example.com/indicator.svg'
55
+ ---
56
+
57
+ You can write the introduction or blah blah blah here
58
+ ```
59
+
60
+ 4. Add the stage parameter into your post `index.md`:
61
+
62
+ ```yaml
63
+ ---
64
+ title: 'My Post'
65
+ stage: 'seedling'
66
+ ---
67
+ ```
content/en/post/authoring-redaction-history.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ +++
2
+ author = ["Author Name"]
3
+ title = "Authoring The Redaction History"
4
+ description = "How to set up the redaction history in Hugo Brewm theme"
5
+ date = "2025-02-03"
6
+ type = "post"
7
+ draft = false
8
+ translationKey = "history"
9
+ coffee = 1
10
+ tags = ["authoring", "redaction", "history"]
11
+ categories = ["authoring"]
12
+ stage = "evergreen"
13
+ history = [
14
+ {date = "2025-02-01", stage="seedling", author = "Author Name", reviewer = "Reviewer Name", note = "Example"},
15
+ {date = "2025-02-02", stage="budding", author = "Author Name", editor = "Editor Name", note = "Addendum (example)"},
16
+ {date = "2025-02-03", stage="evergreen", note = "Errata (example)"},
17
+ ]
18
+ toot = "https://infosec.exchange/@foxx/113979609651534969"
19
+ +++
20
+
21
+ The redaction history functionality enables you to track and communicate content modifications to readers.
22
+ Within the post's front matter, you can specify details such as `editor`, `reviewer`, and include explanatory notes (`note`) about the changes made.
23
+ This feature requires manual configuration in the post's front matter section.
24
+
25
+ ```toml
26
+ +++
27
+ title = "Authoring The Redaction History"
28
+ history = [
29
+ {date = "2025-02-01", author = "Author Name", reviewer = "Reviewer Name", note = "Example"},
30
+ {date = "2025-02-02", author = "Author Name", editor = "Editor Name", note = "Addendum (example)"},
31
+ {date = "2025-02-03", note = "Errata (example)"},
32
+ ]
33
+ +++
34
+ ```
35
+
36
+ A chronological timeline displaying these information will appear under the article's information section, as demonstrated in this example post.
content/en/post/authoring-terms-entry.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name', 'A.N. Other']
3
+ title: "Authoring Terms Entry"
4
+ description: "How to set the cover and linking of terms entry in Hugo Brewm theme"
5
+ date: 2025-02-03
6
+ type: post
7
+ draft: false
8
+ translationKey: terms
9
+ coffee: 1
10
+ tags: ['authoring', 'cover', 'taxonomy', 'terms']
11
+ categories: ['authoring']
12
+ stage: [seedling]
13
+ ---
14
+
15
+ You can change the cover of each terms entry by adding the `cover` parameter in `_index.md` under `[lang]\[taxonomies]\[terms]\`.
16
+ For example, to set the cover of the term `configuration` in categories, add the parameter in `content\en\categories\configuration\_index.md`.
17
+
18
+ ```yaml
19
+ ---
20
+ title: "Configuration"
21
+ description: "Configuration description, this might be useful for HTML metadata"
22
+ cover: "https://example.com/cover.png"
23
+ translationKey: configuration
24
+ ---
25
+
26
+ If something is written here, the text will be displayed as hero section.
27
+ ```
28
+
29
+ To link the terms entry in another language, you can add the `translationKey` parameter.
30
+ For example, if you want to link the terms entry in Indonesian, add the parameter in `content\id\categories\konfigurasi\_index.md`.
31
+
32
+ ```yaml
33
+ ---
34
+ title: "Konfigurasi"
35
+ description: "Deskripsi konfigurasi, ini bisa berguna untuk metadata HTML"
36
+ cover: "https://example.com/cover.png"
37
+ translationKey: configuration
38
+ ---
39
+
40
+ Jika ada teks yang ditulis di sini, teks akan ditampilkan sebagai bagian hero.
41
+ ```
42
+
43
+ The same way, you can set the cover of each terms entry for `series` and `author` taxonomies.
44
+ After making these changes, rebuild your site to see the updated cover and translations in breadcrumbs.
45
+ The cover will replace the flowlines images on taxonomies listing.
content/en/post/configure-discussion.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name']
3
+ title: "Configure Discussion"
4
+ description: "How to configure post discussion in Hugo Brewm theme"
5
+ date: 2025-01-26
6
+ lastmod: 2025-02-10
7
+ type: post
8
+ draft: false
9
+ translationKey: discussion
10
+ coffee: 1
11
+ tags: ['configuration', 'discussion']
12
+ categories: ['configuration']
13
+ toot: "https://infosec.exchange/@foxx/113979609651534969"
14
+ bsky: "https://bsky.app/profile/808.foxx.ink/post/3lknem6ci2s2h"
15
+ ---
16
+
17
+ ## Configure Giscus Comments
18
+
19
+ To enable Giscus comments on your Hugo site, follow these steps:
20
+
21
+ 1. First, install the [Giscus GitHub App](https://github.com/apps/giscus) on your repository
22
+ 2. Add the following parameters to your `config.toml`:
23
+
24
+ ```toml
25
+ [params.giscus]
26
+ repo = "username/repository"
27
+ repoID = "R_kgDxxxxxxxx"
28
+ category = "Announcements"
29
+ categoryID = "DIC_kwDxxxxxxxxxxxxxxxx"
30
+ ```
31
+ Replace the following values:
32
+ - `repo`: Your GitHub username and repository name
33
+ - `repoID`: Your repository ID (get from Giscus website)
34
+ - `category`: The discussion category name
35
+ - `categoryID`: The discussion category ID (get from Giscus website)
36
+
37
+ You can generate these values by visiting [Giscus.app](https://giscus.app) and configuring your preferences.
38
+ The following parameters can be optionally configured:
39
+
40
+ ```toml
41
+ mapping = "pathname"
42
+ strict = "0"
43
+ reactionsEnabled = "1"
44
+ emitMetadata = "0"
45
+ inputPosition = "bottom"
46
+ theme = "preferred_color_scheme"
47
+ loading = "lazy"
48
+ ```
49
+
50
+ 3. By default, Giscus comments will appear on all posts. To disable comments on specific posts, use the front matter parameter:
51
+
52
+ ```yaml
53
+ ---
54
+ comments: false # Disable comments for this post
55
+ ---
56
+ ```
57
+
58
+ ## Configure Social Media Integration
59
+ The theme supports embedding comments from Bluesky or Mastodon or both social platforms.
60
+ When you include links to your Bluesky or Mastodon posts in the front matter, the Giscus will be automatically replaced.
61
+
62
+ ### Linking discussions with Mastodon post
63
+
64
+ Link your Mastodon post URL to the front matter using either `toot`, `mstd`, or `mastodon` parameter.
65
+
66
+ ```yaml
67
+ ---
68
+ toot: https://example.com/@example/12345678901234567890
69
+ ---
70
+ ```
71
+
72
+ ### Linking discussions with Bluesky post
73
+
74
+ Link your Bluesky post URL to the front matter using either `skeet`, `bsky` or `bluesky` parameter.
75
+
76
+ ```yaml
77
+ ---
78
+ skeet: https://bsky.app/profile/example.com/post/12345678901234
79
+ ---
80
+ ```
81
+
82
+ Note: You may need to estimating the article's permalink on your local preview before sharing on Fediverse platforms to obtain the post link, or you might need to run CI/CD operations twice.
content/en/post/configure-logo-and-accent-color.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name']
3
+ title: "Configure Logo and Accent Color"
4
+ description: "How to configure the Logo and Accent Color in Hugo Brewm theme"
5
+ date: 2025-01-26
6
+ lastmod: 2025-02-21
7
+ type: post
8
+ draft: false
9
+ translationKey: logo
10
+ coffee: 1
11
+ tags: ['configuration', 'logo', 'color', 'accent']
12
+ categories: ['configuration']
13
+ ---
14
+
15
+ The Hugo Brewm theme allows you to easily configure your site's logo and accent color taylored to your brand. Follow these steps to set up your logo:
16
+
17
+ ## Change Color Accent
18
+
19
+ To make the color accent align with your brand identity, you can customize the accent color in `custom.css` under `assets/css`.
20
+ For example, in `exampleSite/assets/css/custom.css`:
21
+
22
+ ```css
23
+ :root {
24
+ /* default contrast */
25
+ --ac-light: #36c; /* accent color on default contrast */
26
+ --fg-light: #111; /* foreground color on default contrast */
27
+ --bg-light: #f9f9fb; /* background color on default contrast */
28
+ --midtone: gray; /* midtone on default contrast */
29
+ --fg-dark: #f9f9fb; /* foreground color on dark mode, default contrast */
30
+ --bg-dark: #111; /* background color on dark mode, default contrast */
31
+ --ac-dark: #fa0; /* accent color on dark mode, default contrast */
32
+
33
+ /* less contrast */
34
+ --ac-light-less: var(--ac-light);
35
+ --fg-light-less: #13253d;
36
+ --bg-light-less: #e7e2e2;
37
+ --midtone-less: #7d8490;
38
+ --fg-dark-less: #e7e2e2;
39
+ --bg-dark-less: #13253d;
40
+ --ac-dark-less: var(--ac-dark);
41
+
42
+ /* more contrast */
43
+ --ac-light-more: var(--ac-light);
44
+ --fg-light-more: #000;
45
+ --bg-light-more: #fff;
46
+ --midtone-more: gray;
47
+ --fg-dark-more: #fff;
48
+ --bg-dark-more: #000;
49
+ --ac-dark-more: var(--ac-dark);
50
+ }
51
+ ```
52
+
53
+ This file will take the place of custom.css in the theme. To avoid missing the color variable during the build, please copy every variable and do not remove any.
54
+
55
+ ## Adding Logo Image / Logomark Icon
56
+
57
+ > Prepare your logo image
58
+ >
59
+ > - Create or prepare your logo image file (recommended formats: PNG or SVG)
60
+ > - For best results, use an image with a transparent background
61
+ > - Recommended dimensions: height of 50px to 70px
62
+ > - You can also add dark mode version of your logo
63
+
64
+ Configure the logo in your site configuration:
65
+
66
+ ```toml
67
+ [params]
68
+ logoMark = 'https://example.com/logoMark.svg'
69
+ logoMarkDark = 'https://example.com/logoMarkDark.svg' #optional
70
+ ```
71
+
72
+ ## Using Logo Type Preset
73
+
74
+ If you prefer not to use an image logo, you can enable the built-in text-based logo by adding this setting:
75
+
76
+ ```toml
77
+ [params]
78
+ logoType = true
79
+ ```
80
+
81
+ After making these changes, rebuild your site to see the updated logo. The logo will automatically appear in the site's header and will be responsive across different device sizes.
content/en/post/configure-main-footer.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name']
3
+ title: "Configure Main Footer"
4
+ description: "How to configure the main footer in Hugo Brewm theme"
5
+ date: 2025-01-26
6
+ type: post
7
+ draft: false
8
+ translationKey: mainfooter
9
+ coffee: 1
10
+ tags: ['configuration', 'footer']
11
+ categories: ['configuration']
12
+ ---
13
+
14
+ The main footer in Hugo Brewm theme can be customized through several configuration options. Here's how to set up different components of the footer.
15
+
16
+ ## Configure Footer Title and Content
17
+
18
+ To set up the main footer content, create a markdown file in your content directory with the following front matter:
19
+
20
+ ```yaml
21
+ ---
22
+ type: footer
23
+ title: "Your Main Footer Title"
24
+ weight: 1
25
+ params:
26
+ headless: true # prevent page body to be render and redirect to 404.html
27
+ target: "https://example.com" # override the redirect target
28
+ ---
29
+ ```
30
+
31
+ You can then add your footer content below the front matter using markdown.
32
+ Multiple footer sections can be created using different markdown files.
33
+
34
+ ## Configure Footer Menu Items
35
+
36
+ Footer menu items can be configured in your site's config.toml file. Here's how to add menu items:
37
+
38
+ ```toml
39
+ [[menu.footer]]
40
+ identifier = "github" # Unique identifier for the menu item
41
+ name = "GitHub" # Display name/tooltip
42
+ url = "https://github.com/" # Link URL
43
+ pre = "github" # Icon
44
+ ```
45
+
46
+ ## Enable Coffee Stats
47
+
48
+ If you want to display coffee statistics in your footer, enable it in your config.toml:
49
+
50
+ ```toml
51
+ [params]
52
+ coffeeStat = true # Set to false to disable
53
+ ```
54
+
55
+ Every `coffee` parameter in your content frontmatter will be counted and displayed in the footer.
content/en/post/configure-menu.md ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name']
3
+ title: "Configure Menu"
4
+ description: "How to configure the menu in Hugo Brewm theme"
5
+ date: 2025-01-26
6
+ lastmod: 2025-02-04
7
+ type: post
8
+ draft: false
9
+ translationKey: menus
10
+ coffee: 1
11
+ tags: ['configuration', 'menu']
12
+ categories: ['configuration']
13
+ ---
14
+
15
+ Learn how to configure menus in the Hugo Brewm theme using either `config.toml` or `menus[.lang].toml` files.
16
+
17
+ ## Menu Parameters
18
+
19
+ - `identifier`: Unique identifier for each menu item
20
+ - `name`: Text shown in the menu
21
+ - `url`: External link destination
22
+ - `pageRef`: Link to internal pages
23
+ - `weight`: Menu item ordering (smaller numbers first)
24
+ - `pre`: Icon placement
25
+ - `post`: Description for the link
26
+ - `parent`: Parent menu item reference
27
+ - `params.target`: Set menu item link target
28
+
29
+ ## Adding Icons
30
+
31
+ Add icons to your menu items with the `pre` parameter.
32
+
33
+ ```toml {hl_lines=["5"]}
34
+ [[menu.main]]
35
+ identifier = "github"
36
+ name = "GitHub"
37
+ url = "https://github.com/"
38
+ pre = "github"
39
+ [[menu.main.params]]
40
+ target = "_blank"
41
+ ```
42
+
43
+ Here are all the supported list icons and their corresponding names that can be used when configuring your menu items:
44
+
45
+ <ul class="column pin" role="presentation">
46
+ <li><i class="icon email"></i> email </li>
47
+ <li><i class="icon rss"></i> rss </li>
48
+ <li><i class="icon behance"></i> behance </li>
49
+ <li><i class="icon bigcartel"></i> bigcartel </li>
50
+ <li><i class="icon bitbucket"></i> bitbucket </li>
51
+ <li><i class="icon blogger"></i> blogger </li>
52
+ <li><i class="icon bluesky"></i> bluesky </li>
53
+ <li><i class="icon bukalapak"></i> bukalapak </li>
54
+ <li><i class="icon buymeacoffee"></i> buymeacoffee </li>
55
+ <li><i class="icon clubhouse"></i> clubhouse </li>
56
+ <li><i class="icon codepen"></i> codepen </li>
57
+ <li><i class="icon creativefabrica"></i> creativefabrica </li>
58
+ <li><i class="icon dailymotion"></i> dailymotion </li>
59
+ <li><i class="icon dev"></i> dev </li>
60
+ <li><i class="icon deviantart"></i> deviantart </li>
61
+ <li><i class="icon digg"></i> digg </li>
62
+ <li><i class="icon dribbble"></i> dribbble </li>
63
+ <li><i class="icon ebay"></i> ebay </li>
64
+ <li><i class="icon etsy"></i> etsy </li>
65
+ <li><i class="icon facebook"></i> facebook </li>
66
+ <li><i class="icon figma"></i> figma </li>
67
+ <li><i class="icon flickr"></i> flickr </li>
68
+ <li><i class="icon flipkart"></i> flipkart </li>
69
+ <li><i class="icon github"></i> github </li>
70
+ <li><i class="icon githubsponsors"></i> githubsponsors </li>
71
+ <li><i class="icon gitlab"></i> gitlab </li>
72
+ <li><i class="icon gnusocial"></i> gnusocial </li>
73
+ <li><i class="icon goodreads"></i> goodreads </li>
74
+ <li><i class="icon googlescholar"></i> googlescholar </li>
75
+ <li><i class="icon gumroad"></i> gumroad </li>
76
+ <li><i class="icon hackernews"></i> hackernews </li>
77
+ <li><i class="icon hashnode"></i> hashnode </li>
78
+ <li><i class="icon icon--500px"></i> icon–500px </li>
79
+ <li><i class="icon instagram"></i> instagram </li>
80
+ <li><i class="icon jsfiddle"></i> jsfiddle </li>
81
+ <li><i class="icon karyakarsa"></i> karyakarsa </li>
82
+ <li><i class="icon keybase"></i> keybase </li>
83
+ <li><i class="icon keycdn"></i> keycdn </li>
84
+ <li><i class="icon kickstarter"></i> kickstarter </li>
85
+ <li><i class="icon kofi"></i> kofi </li>
86
+ <li><i class="icon lazada"></i> lazada </li>
87
+ <li><i class="icon liberapay"></i> liberapay </li>
88
+ <li><i class="icon linkedin"></i> linkedin </li>
89
+ <li><i class="icon mastodon"></i> mastodon </li>
90
+ <li><i class="icon medium"></i> medium </li>
91
+ <li><i class="icon olx"></i> olx </li>
92
+ <li><i class="icon opencollective"></i> opencollective </li>
93
+ <li><i class="icon openid"></i> openid </li>
94
+ <li><i class="icon orcid"></i> orcid </li>
95
+ <li><i class="icon patreon"></i> patreon </li>
96
+ <li><i class="icon paypal"></i> paypal </li>
97
+ <li><i class="icon peertube"></i> peertube </li>
98
+ <li><i class="icon pinterest"></i> pinterest </li>
99
+ <li><i class="icon pleroma"></i> pleroma </li>
100
+ <li><i class="icon publons"></i> publons </li>
101
+ <li><i class="icon quora"></i> quora </li>
102
+ <li><i class="icon reddit"></i> reddit </li>
103
+ <li><i class="icon researchgate"></i> researchgate </li>
104
+ <li><i class="icon saweria"></i> saweria </li>
105
+ <li><i class="icon sellfy"></i> sellfy </li>
106
+ <li><i class="icon shopee"></i> shopee </li>
107
+ <li><i class="icon shopify"></i> shopify </li>
108
+ <li><i class="icon signal"></i> signal </li>
109
+ <li><i class="icon snapchat"></i> snapchat </li>
110
+ <li><i class="icon soundcloud"></i> soundcloud </li>
111
+ <li><i class="icon stackexchange"></i> stackexchange </li>
112
+ <li><i class="icon stackoverflow"></i> stackoverflow </li>
113
+ <li><i class="icon stripe"></i> stripe </li>
114
+ <li><i class="icon substack"></i> substack </li>
115
+ <li><i class="icon telegram"></i> telegram </li>
116
+ <li><i class="icon threads"></i> threads </li>
117
+ <li><i class="icon tiktok"></i> tiktok </li>
118
+ <li><i class="icon tokopedia"></i> tokopedia </li>
119
+ <li><i class="icon tumblr"></i> tumblr </li>
120
+ <li><i class="icon twitch"></i> twitch </li>
121
+ <li><i class="icon twitter"></i> twitter </li>
122
+ <li><i class="icon vimeo"></i> vimeo </li>
123
+ <li><i class="icon vine"></i> vine </li>
124
+ <li><i class="icon vk"></i> vk </li>
125
+ <li><i class="icon wattpad"></i> wattpad </li>
126
+ <li><i class="icon weibo"></i> weibo </li>
127
+ <li><i class="icon whatsapp"></i> whatsapp </li>
128
+ <li><i class="icon wikipedia"></i> wikipedia </li>
129
+ <li><i class="icon wordpress"></i> wordpress </li>
130
+ <li><i class="icon write-dot-as"></i> write-dot-as </li>
131
+ <li><i class="icon x"></i> x </li>
132
+ <li><i class="icon xing"></i> xing </li>
133
+ <li><i class="icon xmpp"></i> xmpp </li>
134
+ <li><i class="icon youtube"></i> youtube </li>
135
+ </ul>
136
+
137
+ ## Creating Nested Menus
138
+
139
+ Create dropdown menus by using the `parent` parameter:
140
+
141
+ ```toml
142
+ [[menu.main]]
143
+ identifier = "about"
144
+ name = "About"
145
+ pageRef = "/about"
146
+
147
+ [[menu.main]]
148
+ identifier = "about-author"
149
+ name = "Author"
150
+ pageRef = "/about/author"
151
+ parent = "about"
152
+ ```
153
+
154
+ ## Language Support
155
+
156
+ There are three ways to add multi-language support to your menus:
157
+
158
+ ### 1. Using `menu.[lang].[menuID]`
159
+
160
+ In `config.toml`:
161
+
162
+ ```toml
163
+ [[menu.en.main]]
164
+ identifier = "about"
165
+ name = "About"
166
+ url = "/about/"
167
+
168
+ [[menu.en.main]]
169
+ identifier = "about-author"
170
+ name = "Author"
171
+ pageRef = "/about/author"
172
+ parent = "about"
173
+
174
+ [[menu.id.main]]
175
+ identifier = "about"
176
+ name = "Tentang"
177
+ url = "/tentang/"
178
+
179
+ [[menu.id.main]]
180
+ identifier = "about-author"
181
+ name = "Tentang Penyusun"
182
+ pageRef = "/tentang/penyusun"
183
+ parent = "about"
184
+ ```
185
+
186
+ ### 2. Using Separate Menu Files
187
+
188
+ In `menus.en.toml`:
189
+
190
+ ```toml
191
+ [[main]]
192
+ identifier = "about"
193
+ name = "About"
194
+ url = "/about/"
195
+
196
+ [[main]]
197
+ identifier = "about-author"
198
+ name = "Author"
199
+ pageRef = "/about/author"
200
+ parent = "about"
201
+ ```
202
+
203
+ In `menus.id.toml`:
204
+
205
+ ```toml
206
+ [[main]]
207
+ identifier = "about"
208
+ name = "Tentang"
209
+ url = "/tentang/"
210
+
211
+ [[menu.id.main]]
212
+ identifier = "about-author"
213
+ name = "Tentang Penyusun"
214
+ pageRef = "/tentang/penyusun"
215
+ parent = "about"
216
+ ```
217
+
218
+ ### 3. Using Front Matter in Markdown Files
219
+
220
+ in `index[.lang].md` `_index[.lang].md` or `filename[.lang].md`
221
+
222
+ ```toml
223
+ ---
224
+ title: "About Author"
225
+ menus:
226
+ main:
227
+ indetifier: about-author
228
+ parent: about
229
+ ---
230
+ ```
content/en/post/configure-pagefind.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name']
3
+ title: "Configure Pagefind"
4
+ description: "How to configure Pagefind in Hugo Brewm theme"
5
+ date: 2025-01-26
6
+ type: post
7
+ draft: false
8
+ translationKey: pagefind
9
+ coffee: 1
10
+ tags: ['configuration', 'pagefind']
11
+ categories: ['configuration']
12
+ ---
13
+
14
+ ## Setting up search in Hugo configuration
15
+
16
+ To enable search functionality, you'll need to modify your `config.toml` file. First, enable the search button using `.params.search`. Then activate `.params.pagefind`, if you skip this step, the theme will default to using DuckDuckGo instead.
17
+
18
+ ```toml
19
+ [params]
20
+ search = true
21
+ pagefind = true
22
+ ```
23
+
24
+ ## Setting up post frontmatter
25
+
26
+ To make post indexed, you'll need to set `type` to `post` to the frontmatter of each post.
27
+
28
+ ```yaml
29
+ ---
30
+ title: "Post"
31
+ type: post
32
+ ---
33
+ ```
34
+
35
+ ## Setting up your CI/CD pipeline
36
+
37
+ To create the search index, add this command to your CI/CD pipeline's build step:
38
+
39
+ ```yaml
40
+ - name: Index pagefind
41
+ run: npx pagefind --source "public"
42
+ ```
content/en/post/configure-slides.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name']
3
+ title: "Configure Homepage Slides"
4
+ description: "How to configure Homepage Slides section in Hugo Brewm theme"
5
+ date: 2025-01-26
6
+ type: post
7
+ draft: false
8
+ translationKey: slide
9
+ coffee: 1
10
+ tags: ['configuration', 'slide']
11
+ categories: ['homepage']
12
+ ---
13
+
14
+ ## Setting up slide content
15
+
16
+ The Hugo Brewm theme features a homepage slides section that showcases important content through an interactive carousel.
17
+ {{< marginpar >}}You can add a `cover` parameter to add a slide cover; this parameter also changes the slide layout.{{< /marginpar >}}
18
+ To create multiple slides, you'll need to make separate files containing this front matter structure:
19
+
20
+ ```yaml
21
+ ---
22
+ type: slide
23
+ title: "Slide Title"
24
+ textColor: black # change textcolor to `black` or `white` and set background transparent
25
+ params:
26
+ headless: true # prevent page body to be render and redirect to 404.html
27
+ target: "https://example.com" # override the redirect target
28
+ ---
29
+ ```
30
+
31
+ ## Dedicated Shortcode for Slide Content
32
+
33
+ ### External RSS feeds
34
+
35
+ The slides section can integrate content from external sources using the RSS shortcode.
36
+
37
+ ```yaml
38
+ ---
39
+ type: slide
40
+ title: "My post on example.com"
41
+ ---
42
+
43
+ {{</* rss "https://example.com/feed.xml" */>}}
44
+ ```
45
+
46
+ ### Gallery with Masonry layout
47
+
48
+ For a Pinterest-style layout, you can implement the pin shortcode as follows:
49
+
50
+ ```toml
51
+ {{</* pin "begin" */>}}
52
+ {{</* pin img="https://example.com/item1.jpg" url="https://example.com/item1" label="Item 1" */>}}
53
+ {{</* pin img="https://example.com/item2.jpg" url="https://example.com/item2" label="Item 2" */>}}
54
+ {{</* pin img="https://example.com/item3.jpg" url="https://example.com/item3" label="Item 3" */>}}
55
+ {{</* pin img="https://example.com/item4.jpg" url="https://example.com/item4" label="Item 4" */>}}
56
+ {{</* pin img="https://example.com/item5.jpg" url="https://example.com/item5" label="Item 5" */>}}
57
+ {{</* pin img="https://example.com/item6.jpg" url="https://example.com/item6" label="Item 6" */>}}
58
+ {{</* pin "end" */>}}
59
+ ```
content/en/post/markdown-test.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ author : ['Author Name']
3
+ title: "Markdown Test"
4
+ description: "Various sample Markdown test"
5
+ date: 2025-01-26
6
+ type: post
7
+ draft: false
8
+ translationKey: markdown
9
+ coffee: 1
10
+ tags: ['markdown']
11
+ categories: ['test']
12
+ comments: false
13
+ ---
14
+
15
+ <span class="letterine"><i>T</i>his is example of span with letterine class.</span>
16
+ You need set the `markup.goldmark.unsafe` and `markup.goldmark.renderer.unsafe` parameter in `config.toml` to write html directly, but this is not recommended.
17
+ {{< marginpar >}}
18
+ And this is marginpar.
19
+ **Bold text**,
20
+ *Italic text*,
21
+ ***Bold and italic text***,
22
+ ~~Strikethrough text~~,
23
+ [Link text](https://example.com)
24
+ ---also works.
25
+ {{< /marginpar >}}
26
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
27
+
28
+ ## Heading 2
29
+
30
+ First paragraph will not indent.
31
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
32
+
33
+ Second paragraph and after will indent.
34
+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
35
+
36
+ > This is a blockquote
37
+ >> Nested blockquote
38
+
39
+ ### Heading 3
40
+
41
+ 1. Ordered list item 1
42
+ 2. Ordered list item 2
43
+ - Nested unordered item
44
+ - Another nested item
45
+ 3. Ordered list item 3
46
+
47
+ - Unordered list item
48
+ - Another item
49
+ - Nested item
50
+ - Another nested item
51
+
52
+ #### Heading 4
53
+
54
+ ![Image alt text](https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Domestic_cat_sitting_by_door.jpg/640px-Domestic_cat_sitting_by_door.jpg)
55
+
56
+ | Header 1 | Header 2 |
57
+ |----------|----------|
58
+ | Cell 1 | Cell 2 |
59
+ | Cell 3 | Cell 4 |
60
+
61
+ Task list:
62
+ - [x] Completed task
63
+ - [ ] Incomplete task
64
+
65
+ ##### Heading 5
66
+
67
+ Here's some `inline code` and some ***combined*** formatting.
68
+
69
+ Here's some block code:
70
+
71
+ // code block with four space
72
+ def hello_world():
73
+ print("Hello, World!")
74
+
75
+ ```js
76
+ // Code block with syntax highlighting
77
+ function greeting(name) {
78
+ return `Hello, ${name}!`;
79
+ }
80
+ ```
81
+
82
+ ###### Heading 6
83
+
84
+ Heading level 6 will show as inline paragraph.
85
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
content/en/post/tufte-features.md ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ +++
2
+ author = "AUTHOR NAME"
3
+ date = "2016-02-20T13:56:01-08:00"
4
+ type = "post"
5
+ meta = true
6
+ math = true
7
+ title = "Hugo-Tufte Features compatibility"
8
+ subtitle = "Fancy Subtitle"
9
+ toc = true
10
+ categories = ["katex", "latex", "tufte-css"]
11
+ +++
12
+
13
+ This is a quick demonstration post. It serves as an example of the features
14
+ of this theme. One of them is $ \LaTeX $ via [Katex](https://katex.org/).
15
+ {{< section "begin" >}}
16
+ ## A Bit About Mathematics
17
+
18
+ {{< epigraph pre="Shawn O'Hare, " cite="Math is Fun" post=", p.8" >}}
19
+ This is an example of an epigraph with some math
20
+ $ \mathbb N \subseteq \mathbb R $
21
+ to start the beginning of a section.
22
+ {{< /epigraph >}}
23
+
24
+ <!--more-->
25
+
26
+ ### Inline
27
+ Some inline math:
28
+ {{< marginpar >}}This is Marginpar.{{< /marginpar >}}
29
+ $e^{i \pi} = -1$
30
+ and $\sqrt{-1} = i $
31
+ and $ a_2 = 3 $.
32
+
33
+ ### Display
34
+ And display math using this symbol `$$`:
35
+ {{< marginnote >}}This is Marginnote with counter like footnote.{{< /marginnote >}}
36
+ $$
37
+ -- \cdot_H -- \colon B(G,H) \times B(H, K) \to B(G, K), \quad ([X], [Y]) \mapsto [X \times_H Y].
38
+ $$
39
+
40
+ ### Environments
41
+
42
+ Currently, certain $\LaTeX$ environments need to be escaped so that
43
+ the markdown processor does not override Katex. Currently, display
44
+ environments should be enclosed in `<p>` tags and blank lines.
45
+ For instance:
46
+
47
+ <p>
48
+ $$
49
+ \begin{aligned}
50
+ \mu(A) &= \iint_{I^2} \chi_A (x,y) \ d(x,y)
51
+ = \int_I \left( \int_I \chi_A (x,y) \ dx\right) dy
52
+ = \int_I 0 \ dy= 0 \quad \text{and} \\
53
+ \mu(A) &=\iint_{I^2} \chi_A (x,y) \ d(x,y)
54
+ = \int_I \left( \int_I \chi_A (x,y) \ dy \right) dx
55
+ =\int_I dx = 1,
56
+ \end{aligned}
57
+ $$
58
+ </p>
59
+ <!-- See https://github.com/jgm/pandoc/issues/3953#issuecomment-334670625 -->
60
+
61
+ is produced from
62
+
63
+ ```txt
64
+ <p>
65
+ $$
66
+ \begin{aligned}
67
+ \mu(A) &= \iint_{I^2} \chi_A (x,y) \ d(x,y)
68
+ = \int_I \left( \int_I \chi_A (x,y) \ dx\right) dy
69
+ = \int_I 0 \ dy= 0 \quad \text{and} \\
70
+ \mu(A) &=\iint_{I^2} \chi_A (x,y) \ d(x,y)
71
+ = \int_I \left( \int_I \chi_A (x,y) \ dy \right) dx
72
+ =\int_I dx = 1,
73
+ \end{aligned}
74
+ $$
75
+ </p>
76
+ ```
77
+
78
+ ### Blockquotes shortcode also eliminated
79
+
80
+ This is suppose to be `{{</* blockquotes */>}}`, instead we use `{{</* epigraph */>}}` shortcode. But first, we try to manually cite via
81
+ <cite>This is between cite tags and has math: $e^x $</cite>
82
+
83
+ {{< epigraph pre="Shawn O'Hare, " cite="www.shawnohare.com" link="https://www.shawnohare.com" >}}
84
+ This is a blockquote with two paragraphs, that employs the
85
+ theme's `blockquote` shortcode. Lorem ipsum dolor sit amet,
86
+ consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
87
+ Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
88
+
89
+ Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
90
+ id sem consectetuer libero luctus adipiscing.
91
+ Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
92
+ {{< /epigraph >}}
93
+
94
+ ### Code
95
+ As an example of some inline code: `go test -v -short`.
96
+ And this is some block-code:
97
+ ```go {linenos=table,hl_lines=["2-5"],linenostart=199}
98
+ package main
99
+
100
+ import "log"
101
+
102
+ func add(x int, y int) int {
103
+ log.Println("We are going to take the sum of two numbers, and leave a long comment.")
104
+ return x + y
105
+ }
106
+
107
+ func main() {
108
+ y := add(1, 2)
109
+ log.Println(y)
110
+ }
111
+ ```
112
+
113
+ Here's an example without line numbers.
114
+ ```go {hl_lines=["2-5"],linenostart=199}
115
+ package main
116
+
117
+ import "log"
118
+
119
+ func add(x int, y int) int {
120
+ log.Println("We are going to take the sum of two numbers, and leave a very very very long comment.")
121
+ return x + y
122
+ }
123
+
124
+ func main() {
125
+ y := add(1, 2)
126
+ log.Println(y)
127
+ }
128
+ ```
129
+
130
+ ### Figure
131
+ Below we have an example of a regular width figure.
132
+ {{< figure
133
+ src="https://github.com/edwardtufte/tufte-css/raw/gh-pages/img/exports-imports.png"
134
+ class="class param"
135
+ title="The image title."
136
+ caption="This is the image caption."
137
+ label="mn-export-import"
138
+ attr="Image attribution"
139
+ attrlink="attribute link"
140
+ alt="alt"
141
+ link="link"
142
+ >}}
143
+ {{< section "end" >}}
144
+
145
+
146
+
147
+ {{< figure
148
+ src="https://edwardtufte.github.io/tufte-css/img/rhino.png"
149
+ class="class param"
150
+ type="margin"
151
+ label="mn-rhino"
152
+ title="The image title."
153
+ label="mn-export-import"
154
+ caption="This is the image caption."
155
+ attr="Image attribution"
156
+ attrlink="https://edwardtufte.github.io/tufte-css"
157
+ alt="alt"
158
+ link="link"
159
+ >}}
160
+ But tight integration of graphics with text is central to Tufte’s work even when those graphics are ancillary to the main body of a text. In many of those cases, a margin figure may be most appropriate.
161
+ {{< section "end" >}}
162
+
163
+ Below is a full-width figure.
164
+ {{< figure
165
+ src="https://edwardtufte.github.io/tufte-css/img/napoleons-march.png"
166
+ type="full"
167
+ label="mn-napoleonic-wars"
168
+ title="Napoleonic wars"
169
+ caption="This the image caption."
170
+ attr="Image attribution"
171
+ attrlink="attribute link"
172
+ alt="Napoleonic wars"
173
+ link="link"
174
+ >}}
175
+ {{< section "end" >}}
176
+
177
+ ## A Story About Cats
178
+ Climb a tree, wait for a fireman jump to fireman then scratch his face sleep on dog bed, force dog to sleep on floor cat snacks, and eat prawns daintily with a claw then lick paws clean wash down prawns with a lap of carnation milk then retire to the warmest spot on the couch to claw at the fabric before taking a catnap climb a tree, wait for a fireman jump to fireman then scratch his face put toy mouse in food bowl run out of litter box at full speed . See owner, run in terror chase mice, so thinking longingly about tuna brine for eat a plant, kill a hand for wake up human for food at 4am. Human is washing you why halp oh the horror flee scratch hiss bite scratch the furniture and rub face on owner. Loves cheeseburgers see owner, run in terror chew on cable. Thug cat ignore the squirrels, you'll never catch them anyway. Eat a plant, kill a hand find empty spot in cupboard and sleep all day so hide head under blanket so no one can see yet love to play with owner's hair tie rub face on everything i like big cats and i can not lie. Wake up human for food at 4am stare at the wall, play with food and get confused by dust yet then cats take over the world scamper. Inspect anything brought into the house get video posted to internet for chasing red dot. Brown cats with pink ears chew foot spit up on light gray carpet instead of adjacent linoleum. I am the best wake up human for food at 4am, meow spread kitty litter all over house, for meow. Knock dish off table head butt cant eat out of my own dish jump off balcony, onto stranger's head, chase ball of string scream at teh bath but climb leg, so unwrap toilet paper but destroy couch. Climb a tree, wait for a fireman jump to fireman then scratch his face. Leave hair everywhere swat turds around the house eat grass, throw it back up, and eat grass, throw it back up. Chase after silly colored fish toys around the house.
179
+
180
+ ### We really like cats.
181
+
182
+ Yes, they are fluffy and happy.
content/en/rss.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ type: 'slide'
3
+ title: 'Hugo Release News'
4
+ params:
5
+ headless: true
6
+ alias: 'https://github.com/foxihd/hugo-brewm'
7
+ ---
8
+
9
+ This is a slide with RSS feed.
10
+ RSS shortcodes allow you to integrate and display feeds from various sources like YouTube channels or external blogs.
11
+
12
+ Note that The Hugo Release News RSS feed listed below displays only titles since content descriptions are not included in the RSS feed xml.
13
+
14
+ {{< rss url="https://gohugo.io/news/index.xml" >}}
content/en/slide.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ type: 'slide'
3
+ title: 'This is slide'
4
+ cover: 'https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/28.svg'
5
+ weight: 1
6
+ params:
7
+ headless: true
8
+ target: 'https://github.com/foxihd/hugo-brewm'
9
+ ---
10
+
11
+ This demonstrates an example of three slide item. The navigation will change when there are three or more slides.
12
+
13
+ This is slide layout with cover image in frontmatter.
14
+ For a minimalist home page without a slide and flowlines, see the [Indonesian homepage](https://foxihd.github.io/hugo-brewm/id/).
content/en/stage/_index.en.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'Stage'
3
+ translationKey: stage
4
+ ---
content/en/stage/_index.id.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'Fase'
3
+ translationKey: stage
4
+ ---
content/en/stage/budding/_index.en.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'budding'
3
+ translationKey: budding
4
+ ---
content/en/stage/budding/_index.id.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'kembang'
3
+ translationKey: budding
4
+ ---
content/en/stage/evergreen/_index.en.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'evergreen'
3
+ translationKey: evergreen
4
+ ---
content/en/stage/evergreen/_index.id.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'evergreen'
3
+ translationKey: evergreen
4
+ ---
content/en/stage/seedling/_index.en.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'seedling'
3
+ translationKey: seedling
4
+ ---
content/en/stage/seedling/_index.id.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: 'semai'
3
+ translationKey: seedling
4
+ ---
content/id/_index.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ ---
3
+
4
+ # Jadi, Ini _Hero Section_?
5
+
6
+ Ya, sama seperti _slide_, silakan sesuaikan setiap `_index.md`, seperti menambahkan _shortcode_ atau kode lainnya:
7
+
8
+ {{< network-graph title="Grafik jaringan pada situs Bahasa Inggris" data="https://foxihd.github.io/hugo-brewm/en/index.json" height="400px" >}}
9
+
10
+ <noscript>Javascript nonaktif</noscript>
11
+ <center>
12
+ <br>
13
+ <a class="cta" href="#">CTA PRIMER</a>
14
+ <a class="cta s" href="#">— SEKUNDER</a>
15
+ <br>
16
+ </center>
17
+
18
+
content/id/pos/_index.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ---
2
+ title: "Pos"
3
+ translationKey: post
4
+ ---
content/id/pos/mengatur-diskusi.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Menambahkan Diskusi"
3
+ description: "Cara menambahkan diskusi postingan di tema Hugo Brewm"
4
+ date: 2025-01-26
5
+ lastmod: 2025-02-03
6
+ type: 'post'
7
+ draft: false
8
+ translationKey: discussion
9
+ coffee: 1
10
+ ---
11
+
12
+ ## Mengatur Komentar Giscus
13
+
14
+ Untuk mengaktifkan komentar Giscus di situs Hugo Anda, ikuti langkah-langkah berikut:
15
+
16
+ 1. Pertama, pasang [Aplikasi GitHub Giscus](https://github.com/apps/giscus) di repositori Anda
17
+ 2. Tambahkan parameter berikut ke `config.toml` Anda:
18
+
19
+ ```toml
20
+ [params.giscus]
21
+ repo = "username/repository"
22
+ repoID = "R_kgDxxxxxxxx"
23
+ category = "Announcements"
24
+ categoryID = "DIC_kwDxxxxxxxxxxxxxxxx"
25
+ ```
26
+
27
+ Ganti kata-kunci berikut:
28
+ - `repo`: Nama pengguna dan repositori GitHub Anda
29
+ - `repoID`: ID repositori Anda (dapatkan dari situs Giscus)
30
+ - `category`: Nama kategori diskusi
31
+ - `categoryID`: ID kategori diskusi (dapatkan dari situs Giscus)
32
+
33
+ Anda bisa mendapatkan kata-kunci tersebut dengan mengunjungi [Giscus.app](https://giscus.app) dan mengatur preferensi Anda.
34
+
35
+ Parameter berikut juga dapat dikonfigurasi secara opsional:
36
+
37
+ ```toml
38
+ mapping = "pathname"
39
+ strict = "0"
40
+ reactionsEnabled = "1"
41
+ emitMetadata = "0"
42
+ inputPosition = "bottom"
43
+ theme = "preferred_color_scheme"
44
+ loading = "lazy"
45
+ ```
46
+
47
+ 3. Secara default, komentar Giscus akan muncul di semua postingan. Untuk menonaktifkan komentar pada postingan tertentu, gunakan parameter front matter:
48
+
49
+ ```yaml
50
+ ---
51
+ comments: false # Nonaktifkan komentar untuk postingan ini
52
+ ---
53
+ ```
54
+
55
+ ## Mengatur Integrasi Media Sosial
56
+ Tema ini mendukung penyematan komentar dari Bluesky atau Mastodon atau kedua platform sosial tersebut.
57
+ Ketika Anda menyertakan tautan ke postingan Bluesky atau Mastodon di front matter, Giscus akan diganti secara otomatis.
58
+
59
+ ### Menautkan diskusi dengan postingan Mastodon
60
+
61
+ Tautkan URL postingan Bluesky ke front matter menggunakan parameter `toot`, `mstd`, atau `mastodon`.
62
+
63
+ ```yaml
64
+ ---
65
+ toot: https://example.com/@example/12345678901234567890
66
+ ---
67
+ ```
68
+
69
+ ### Menautkan diskusi dengan postingan Bluesky
70
+
71
+ Tautkan URL postingan Mastodon ke front matter menggunakan parameter `skeet`, `bsky` atau `bluesky`.
72
+
73
+ ```yaml
74
+ ---
75
+ skeet: https://bsky.app/profile/example.com/post/12345678901234
76
+ ---
77
+ ```
78
+
79
+ Catatan: Anda mungkin perlu memperkirakan permalink artikel pada pratinjau lokal sebelum membagikan ke platform Fediverse untuk mendapatkan tautan postingan, atau Anda mungkin perlu menjalankan operasi CI/CD dua kali.
content/id/pos/mengatur-entri-terms.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Mengatur Entri `Terms`"
3
+ description: "Cara mengatur cover dan menghubungkan entri `terms` di tema Hugo Brewm"
4
+ date: 2025-02-03
5
+ type: post
6
+ draft: false
7
+ translationKey: terms
8
+ coffee: 1
9
+ tags: ['authoring', 'cover', 'taxonomy', 'terms']
10
+ ---
11
+
12
+ Anda dapat mengubah cover untuk setiap _entry terms_ dengan menambahkan parameter `cover` di `_index.md` di bawah `[bahasa]\[taksonomi]\[terms]\`.
13
+ Sebagai contoh, untuk mengatur cover dari term `kongigurasi` di categories, tambahkan parameter di `content\id\categories\konfigurasi\_index.md`.
14
+
15
+ ```yaml
16
+ ---
17
+ title: "Konfigurasi"
18
+ description: "Deskripsi konfigurasi, ini bisa berguna untuk metadata HTML"
19
+ cover: "https://example.com/cover.png"
20
+ translationKey: konfigurasi
21
+ ---
22
+
23
+ Jika ada teks yang ditulis di sini, teks akan ditampilkan sebagai bagian hero.
24
+ ```
25
+
26
+ Untuk menghubungkan _entry terms_ dalam bahasa lain, Anda dapat menambahkan parameter `translationKey`.
27
+ Sebagai contoh, jika Anda ingin menghubungkan _entry terms_ dalam bahasa Indonesia, tambahkan parameter di `content\id\categories\konfigurasi\_index.md`.
28
+
29
+ ```yaml
30
+ ---
31
+ title: "Configuration"
32
+ description: "Configuration description, this might be useful for HTML metadata"
33
+ cover: "https://example.com/cover.png"
34
+ translationKey: konfigurasi
35
+ ---
36
+
37
+ Jika ada teks yang ditulis di sini, teks akan ditampilkan sebagai bagian hero.
38
+ ```
39
+
40
+ Dengan cara yang sama, Anda dapat mengatur cover untuk setiap _entry terms_ untuk taksonomi `series` dan `author`.
41
+ Setelah membuat perubahan ini, bangun ulang situs Anda untuk melihat pembaruan cover dan terjemahan di breadcrumbs.
42
+ Cover akan menggantikan gambar _flowlines_ pada daftar taksonomi.
content/id/pos/mengatur-footer-situs.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Mengatur Footer Utama"
3
+ description: "Cara mengatur footer utama di tema Hugo Brewm"
4
+ date: 2025-01-26
5
+ draft: false
6
+ translationKey: mainfooter
7
+ coffee: 1
8
+ ---
9
+
10
+ Footer utama di tema Hugo Brewm dapat disesuaikan melalui beberapa opsi konfigurasi. Berikut cara mengatur berbagai komponen footer.
11
+
12
+ ## Mengatur Judul dan Konten Footer
13
+
14
+ Untuk mengatur konten footer utama, buat file markdown di direktori konten Anda dengan front matter berikut:
15
+
16
+ ```yaml
17
+ ---
18
+ type: footer
19
+ title: "Judul Footer Utama Anda"
20
+ weight: 1
21
+ params:
22
+ headless: true # cegah pembuatan halaman dan alihkan ke 404.html
23
+ target: "https://example.com" # atau alihan ke target
24
+ ---
25
+ ```
26
+
27
+ Anda kemudian dapat menambahkan konten footer di bawah front matter menggunakan markdown.
28
+ Beberapa bagian footer dapat dibuat menggunakan file markdown yang berbeda.
29
+
30
+ ## Mengatur Item Menu Footer
31
+
32
+ Item menu footer dapat dikonfigurasi di file config.toml situs Anda. Berikut cara menambahkan item menu:
33
+
34
+ ```toml
35
+ [[menu.footer]]
36
+ identifier = "github" # Pengenal unik untuk item menu
37
+ name = "GitHub" # Nama tampilan/tooltip
38
+ url = "https://github.com/" # URL tautan
39
+ pre = "github" # Ikon
40
+ ```
41
+
42
+ ## Mengaktifkan Statistik Kopi
43
+
44
+ Jika Anda ingin menampilkan statistik kopi di footer Anda, aktifkan di config.toml:
45
+
46
+ ```toml
47
+ [params]
48
+ coffeeStat = true # Atur ke false untuk menonaktifkan
49
+ ```
50
+
51
+ Setiap parameter `coffee` di frontmatter konten Anda akan dihitung dan ditampilkan di footer.
content/id/pos/mengatur-logo-dan-aksen-warna.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Mengatur Logo dan Aksen Warna"
3
+ description: "Cara mengatur Logo di tema Hugo Brewm"
4
+ date: 2025-01-26
5
+ lastmod: 2025-02-21
6
+ type: 'post'
7
+ draft: false
8
+ translationKey: logo
9
+ coffee: 1
10
+ ---
11
+
12
+ Tema Hugo Brewm memungkinkan Anda untuk dengan mudah mengatur logo dan aksen warna situs Anda. Ikuti langkah-langkah berikut untuk mengatur logo Anda:
13
+
14
+ ## Mengubah Aksen Warna
15
+
16
+ Untuk membuat aksen warna sesuai dengan identitas merek Anda, Anda dapat menyesuaikan warna aksen di `custom.css` yang berada di dalam `assets/css`.
17
+ Sebagai contoh, di `exampleSite/assets/css/custom.css`:
18
+
19
+ ```css
20
+ :root {
21
+ /* default contrast */
22
+ --ac-light: #36c; /* warna aksen pada kontras default */
23
+ --fg-light: #111; /* warna latar depan pada kontras default */
24
+ --bg-light: #f9f9fb; /* warna latar belakang pada kontras default */
25
+ --midtone: gray; /* warna midtone pada kontras default */
26
+ --fg-dark: #f9f9fb; /* warna latar depan pada mode gelap, kontras default */
27
+ --bg-dark: #111; /* warna latar belakang pada mode gelap, kontras default */
28
+ --ac-dark: #fa0; /* warna aksen pada mode gelap, kontras default */
29
+
30
+ /* less contrast */
31
+ --ac-light-less: var(--ac-light);
32
+ --fg-light-less: #13253d;
33
+ --bg-light-less: #e7e2e2;
34
+ --midtone-less: #7d8490;
35
+ --fg-dark-less: #e7e2e2;
36
+ --bg-dark-less: #13253d;
37
+ --ac-dark-less: var(--ac-dark);
38
+
39
+ /* more contrast */
40
+ --ac-light-more: var(--ac-light);
41
+ --fg-light-more: #000;
42
+ --bg-light-more: #fff;
43
+ --midtone-more: gray;
44
+ --fg-dark-more: #fff;
45
+ --bg-dark-more: #000;
46
+ --ac-dark-more: var(--ac-dark);
47
+ }
48
+ ```
49
+
50
+ File ini akan menggantikan custom.css dalam tema. Untuk menghindari hilangnya variabel warna selama pembuatan, harap salin setiap variabel dan jangan hapus apa pun selain komentar.
51
+
52
+ ## Menambahkan Gambar Logo / Ikon LogoMark
53
+
54
+ > Siapkan gambar logo Anda
55
+ >
56
+ > - Buat atau siapkan file gambar logo Anda (format yang disarankan: PNG atau SVG)
57
+ > - Untuk hasil terbaik, gunakan gambar dengan latar belakang transparan
58
+ > - Dimensi yang disarankan: tinggi 50px hingga 70px
59
+ > - Anda juga dapat menambahkan versi mode gelap dari logo Anda
60
+
61
+ Atur logo(mark) di konfigurasi situs Anda:
62
+
63
+ ```toml
64
+ [params]
65
+ logoMark = 'https://example.com/logoMark.svg'
66
+ logoMarkDark = 'https://example.com/logoMarkDark.svg' #opsional
67
+ ```
68
+
69
+ ## Menggunakan Preset Logo Type
70
+
71
+ Jika Anda lebih suka tidak menggunakan logo gambar, Anda dapat mengaktifkan logo berbasis teks bawaan dengan menambahkan pengaturan ini:
72
+
73
+ ```toml
74
+ [params]
75
+ logoType = true
76
+ ```
77
+
78
+ Setelah membuat perubahan ini, bangun ulang situs Anda untuk melihat logo yang diperbarui. Logo akan secara otomatis muncul di header situs dan akan responsif di berbagai ukuran perangkat.
content/id/pos/mengatur-menu.md ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Mengatur Menu"
3
+ description: "Cara mengatur menu di tema Hugo Brewm"
4
+ date: 2025-01-26
5
+ lastmod: 2025-02-04
6
+ type: 'post'
7
+ draft: false
8
+ translationKey: menus
9
+ coffee: 1
10
+ ---
11
+
12
+ Pelajari cara mengatur menu di tema Hugo Brewm menggunakan file `config.toml` atau `menus[.lang].toml`.
13
+
14
+ ## Parameter Menu
15
+
16
+ - `identifier`: Pengenal unik untuk setiap item menu
17
+ - `name`: Teks yang ditampilkan di menu
18
+ - `url`: Tujuan tautan eksternal
19
+ - `pageRef`: Tautan ke halaman internal
20
+ - `weight`: Pengurutan item menu (angka lebih kecil lebih dulu)
21
+ - `pre`: Setel ikon
22
+ - `post`: Deskripsi untuk tautan
23
+ - `parent`: Referensi item menu induk
24
+
25
+ ## Menambahkan Ikon
26
+
27
+ Tambahkan ikon ke item menu Anda dengan parameter `pre`.
28
+
29
+ ```toml
30
+ [[menu.main]]
31
+ identifier = "github"
32
+ name = "GitHub"
33
+ url = "https://github.com/"
34
+ pre = "github"
35
+ ```
36
+
37
+ Berikut adalah daftar ikon yang didukung beserta nama-namanya yang dapat digunakan saat mengkonfigurasi item menu Anda:
38
+
39
+ <ul class="column pin" role="presentation">
40
+ <li><i class="icon email"></i> email </li>
41
+ <li><i class="icon rss"></i> rss </li>
42
+ <li><i class="icon behance"></i> behance </li>
43
+ <li><i class="icon bigcartel"></i> bigcartel </li>
44
+ <li><i class="icon bitbucket"></i> bitbucket </li>
45
+ <li><i class="icon blogger"></i> blogger </li>
46
+ <li><i class="icon bluesky"></i> bluesky </li>
47
+ <li><i class="icon bukalapak"></i> bukalapak </li>
48
+ <li><i class="icon buymeacoffee"></i> buymeacoffee </li>
49
+ <li><i class="icon clubhouse"></i> clubhouse </li>
50
+ <li><i class="icon codepen"></i> codepen </li>
51
+ <li><i class="icon creativefabrica"></i> creativefabrica </li>
52
+ <li><i class="icon dailymotion"></i> dailymotion </li>
53
+ <li><i class="icon dev"></i> dev </li>
54
+ <li><i class="icon deviantart"></i> deviantart </li>
55
+ <li><i class="icon digg"></i> digg </li>
56
+ <li><i class="icon dribbble"></i> dribbble </li>
57
+ <li><i class="icon ebay"></i> ebay </li>
58
+ <li><i class="icon etsy"></i> etsy </li>
59
+ <li><i class="icon facebook"></i> facebook </li>
60
+ <li><i class="icon figma"></i> figma </li>
61
+ <li><i class="icon flickr"></i> flickr </li>
62
+ <li><i class="icon flipkart"></i> flipkart </li>
63
+ <li><i class="icon github"></i> github </li>
64
+ <li><i class="icon githubsponsors"></i> githubsponsors </li>
65
+ <li><i class="icon gitlab"></i> gitlab </li>
66
+ <li><i class="icon gnusocial"></i> gnusocial </li>
67
+ <li><i class="icon goodreads"></i> goodreads </li>
68
+ <li><i class="icon googlescholar"></i> googlescholar </li>
69
+ <li><i class="icon gumroad"></i> gumroad </li>
70
+ <li><i class="icon hackernews"></i> hackernews </li>
71
+ <li><i class="icon hashnode"></i> hashnode </li>
72
+ <li><i class="icon icon--500px"></i> icon–500px </li>
73
+ <li><i class="icon instagram"></i> instagram </li>
74
+ <li><i class="icon jsfiddle"></i> jsfiddle </li>
75
+ <li><i class="icon karyakarsa"></i> karyakarsa </li>
76
+ <li><i class="icon keybase"></i> keybase </li>
77
+ <li><i class="icon keycdn"></i> keycdn </li>
78
+ <li><i class="icon kickstarter"></i> kickstarter </li>
79
+ <li><i class="icon kofi"></i> kofi </li>
80
+ <li><i class="icon lazada"></i> lazada </li>
81
+ <li><i class="icon liberapay"></i> liberapay </li>
82
+ <li><i class="icon linkedin"></i> linkedin </li>
83
+ <li><i class="icon mastodon"></i> mastodon </li>
84
+ <li><i class="icon medium"></i> medium </li>
85
+ <li><i class="icon olx"></i> olx </li>
86
+ <li><i class="icon opencollective"></i> opencollective </li>
87
+ <li><i class="icon openid"></i> openid </li>
88
+ <li><i class="icon orcid"></i> orcid </li>
89
+ <li><i class="icon patreon"></i> patreon </li>
90
+ <li><i class="icon paypal"></i> paypal </li>
91
+ <li><i class="icon peertube"></i> peertube </li>
92
+ <li><i class="icon pinterest"></i> pinterest </li>
93
+ <li><i class="icon pleroma"></i> pleroma </li>
94
+ <li><i class="icon publons"></i> publons </li>
95
+ <li><i class="icon quora"></i> quora </li>
96
+ <li><i class="icon reddit"></i> reddit </li>
97
+ <li><i class="icon researchgate"></i> researchgate </li>
98
+ <li><i class="icon saweria"></i> saweria </li>
99
+ <li><i class="icon sellfy"></i> sellfy </li>
100
+ <li><i class="icon shopee"></i> shopee </li>
101
+ <li><i class="icon shopify"></i> shopify </li>
102
+ <li><i class="icon signal"></i> signal </li>
103
+ <li><i class="icon snapchat"></i> snapchat </li>
104
+ <li><i class="icon soundcloud"></i> soundcloud </li>
105
+ <li><i class="icon stackexchange"></i> stackexchange </li>
106
+ <li><i class="icon stackoverflow"></i> stackoverflow </li>
107
+ <li><i class="icon stripe"></i> stripe </li>
108
+ <li><i class="icon substack"></i> substack </li>
109
+ <li><i class="icon telegram"></i> telegram </li>
110
+ <li><i class="icon threads"></i> threads </li>
111
+ <li><i class="icon tiktok"></i> tiktok </li>
112
+ <li><i class="icon tokopedia"></i> tokopedia </li>
113
+ <li><i class="icon tumblr"></i> tumblr </li>
114
+ <li><i class="icon twitch"></i> twitch </li>
115
+ <li><i class="icon twitter"></i> twitter </li>
116
+ <li><i class="icon vimeo"></i> vimeo </li>
117
+ <li><i class="icon vine"></i> vine </li>
118
+ <li><i class="icon vk"></i> vk </li>
119
+ <li><i class="icon wattpad"></i> wattpad </li>
120
+ <li><i class="icon weibo"></i> weibo </li>
121
+ <li><i class="icon whatsapp"></i> whatsapp </li>
122
+ <li><i class="icon wikipedia"></i> wikipedia </li>
123
+ <li><i class="icon wordpress"></i> wordpress </li>
124
+ <li><i class="icon write-dot-as"></i> write-dot-as </li>
125
+ <li><i class="icon x"></i> x </li>
126
+ <li><i class="icon xing"></i> xing </li>
127
+ <li><i class="icon xmpp"></i> xmpp </li>
128
+ <li><i class="icon youtube"></i> youtube </li>
129
+ </ul>
130
+
131
+ ## Membuat Menu Bertingkat
132
+
133
+ Buat menu dropdown dengan menggunakan parameter `parent`:
134
+
135
+ ```toml
136
+ [[menu.main]]
137
+ identifier = "about"
138
+ name = "Tentang"
139
+ pageRef = "/about"
140
+
141
+ [[menu.main]]
142
+ identifier = "about-author"
143
+ name = "Penulis"
144
+ pageRef = "/about/author"
145
+ parent = "about"
146
+ ```
147
+
148
+ ## Dukungan Bahasa
149
+
150
+ Ada tiga cara untuk menambahkan dukungan multi-bahasa ke menu Anda:
151
+
152
+ ### 1. Menggunakan `menu.[lang].[menuID]`
153
+
154
+ Di `config.toml`:
155
+
156
+ ```toml
157
+ [[menu.en.main]]
158
+ identifier = "about"
159
+ name = "About"
160
+ url = "/about/"
161
+
162
+ [[menu.en.main]]
163
+ identifier = "about-author"
164
+ name = "Author"
165
+ pageRef = "/about/author"
166
+ parent = "about"
167
+
168
+ [[menu.id.main]]
169
+ identifier = "about"
170
+ name = "Tentang"
171
+ url = "/tentang/"
172
+
173
+ [[menu.id.main]]
174
+ identifier = "about-author"
175
+ name = "Tentang Penyusun"
176
+ pageRef = "/tentang/penyusun"
177
+ parent = "about"
178
+ ```
179
+
180
+ ### 2. Menggunakan File Menu Terpisah
181
+
182
+ Di `menus.en.toml`:
183
+
184
+ ```toml
185
+ [[main]]
186
+ identifier = "about"
187
+ name = "About"
188
+ url = "/about/"
189
+
190
+ [[main]]
191
+ identifier = "about-author"
192
+ name = "Author"
193
+ pageRef = "/about/author"
194
+ parent = "about"
195
+ ```
196
+
197
+ Di `menus.id.toml`:
198
+
199
+ ```toml
200
+ [[main]]
201
+ identifier = "about"
202
+ name = "Tentang"
203
+ url = "/tentang/"
204
+
205
+ [[menu.id.main]]
206
+ identifier = "about-author"
207
+ name = "Tentang Penyusun"
208
+ pageRef = "/tentang/penyusun"
209
+ parent = "about"
210
+ ```
211
+
212
+ ### 3. Menggunakan Front Matter di File Markdown
213
+
214
+ di `index[.lang].md` `_index[.lang].md` atau `filename[.lang].md`
215
+
216
+ ```toml
217
+ ---
218
+ title: "Tentang Penulis"
219
+ menus:
220
+ main:
221
+ indetifier: about-author
222
+ parent: about
223
+ ---
224
+ ```
content/id/pos/mengatur-pagefind.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Mengatur Pagefind"
3
+ description: "Panduan untuk mengatur pencarian Pagefind di tema Hugo Brewm"
4
+ date: 2025-01-26
5
+ type: 'post'
6
+ draft: false
7
+ translationKey: pagefind
8
+ coffee: 1
9
+ ---
10
+
11
+ ## Menautkan diskusi dengan postingan Mastodon
12
+
13
+ Tautkan URL postingan Mastodon ke front matter menggunakan parameter `toot`, `mstd`, atau `mastodon`.
14
+
15
+ ```yaml
16
+ ---
17
+ toot: https://example.com/@example/12345678901234567890
18
+ ---
19
+ ```
20
+
21
+ ## Menautkan diskusi dengan postingan Bluesky
22
+
23
+ Tautkan URL postingan Bluesky ke front matter menggunakan parameter `bsky` atau `bluesky`.
24
+
25
+ ```yaml
26
+ ---
27
+ bsky: https://bsky.app/profile/example.com/post/12345678901234
28
+ ---
29
+ ```
30
+
31
+ Catatan: Anda mungkin perlu memperkirakan permalink artikel pada pratinjau lokal sebelum membagikan ke platform Fediverse untuk mendapatkan tautan postingan, atau Anda mungkin perlu menjalankan operasi CI/CD dua kali.
content/id/pos/mengatur-riwayat-redaksi.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ +++
2
+ title = "Mengatur Riwayat Redaksi"
3
+ description = "Cara mengatur riwayat redaksi di tema Hugo Brewm"
4
+ date = "2025-02-03"
5
+ type = "post"
6
+ draft = false
7
+ translationKey = "history"
8
+ coffee = 1
9
+ tags = ["authoring", "redaksi", "riwayat"]
10
+ history = [
11
+ {date = "2025-02-01", author = "Nama Penulis", reviewer = "Nama Pengulas", note = "Contoh"},
12
+ {date = "2025-02-02", author = "Nama Penulis", editor = "Nama Editor", note = "Addendum (contoh)"},
13
+ {date = "2025-02-03", note = "Errata (contoh)"},
14
+ ]
15
+ +++
16
+
17
+ Fungsi riwayat redaksi memungkinkan Anda untuk melacak dan mengkomunikasikan modifikasi konten kepada pembaca.
18
+ Di dalam front matter artikel, Anda dapat menentukan detail seperti `editor`, `reviewer`, dan menyertakan catatan penjelasan (`note`) tentang perubahan yang dilakukan.
19
+ Fitur ini memerlukan konfigurasi manual di bagian front matter artikel.
20
+
21
+ ```toml
22
+ +++
23
+ title = "Mengatur Riwayat Redaksi"
24
+ history = [
25
+ {date = "2025-02-01", author = "Nama Penulis", reviewer = "Nama Pengulas", note = "Contoh"},
26
+ {date = "2025-02-02", author = "Nama Penulis", editor = "Nama Editor", note = "Addendum (contoh)"},
27
+ {date = "2025-02-03", note = "Errata (contoh)"},
28
+ ]
29
+ +++
30
+ ```
31
+
32
+ Garis waktu kronologis yang menampilkan informasi ini akan muncul di bawah bagian informasi artikel, seperti yang ditunjukkan dalam contoh artikel ini.
content/id/pos/mengatur-sampul-dan-audio.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Menambahkan Gambar Sampul dan Artikel Audio"
3
+ date: 2025-02-22
4
+ description: "Panduan menambahkan gambar sampul dan artikel audio"
5
+ draft: false
6
+ type: "post"
7
+ tags: ["authoring", "konten", "media", "audio", "sampul", "gambar", "alt"]
8
+ cover: 'https://upload.wikimedia.org/wikipedia/commons/4/4d/Cat_and_styrofoam_%E2%80%93_electrostatic_charge_%28235112299%29.jpg'
9
+ alt: 'Kucing bernama cooper dengan gabus yang menempel pada bulu karena elektrostatis.'
10
+ translationKey: 'media'
11
+ ---
12
+ ## Menambahkan Gambar Sampul
13
+
14
+ ### Menambahkan Gambar ke Parameter
15
+
16
+ Untuk menambahkan gambar sampul ke artikel Anda, ada dua pilihan:
17
+
18
+ 1. Metode _Front Matter_
19
+
20
+ Anda dapat menggunakan parameter `cover` atau `images` untuk sumber gambar.
21
+ Dan parameter `alt`, `coverAlt` atau `imagesAlt` untuk teks _alt_.
22
+
23
+ ```yaml
24
+ ---
25
+ title: "Artikel Saya"
26
+ images: "images/my-cover.jpg"
27
+ alt: "Deskripsi gambar"
28
+ ---
29
+ ```
30
+
31
+ 2. Metode _Page Bundle_
32
+
33
+ - Buat folder untuk artikel Anda
34
+ - Beri nama gambar Anda `cover.*`
35
+ - Letakkan di folder yang sama dengan konten Anda
36
+ - Atur teks _alt_ di _frontmatter_ artikel
37
+
38
+ ### Menambahkan Gambar ke Badan Artikel
39
+
40
+ Anda dapat menambahkan gambar dalam berbagai layout, dimana saja di badan artikel dengan _shortcode_ `{{</* figure */>}}`:
41
+
42
+ ```toml
43
+ {{</* figure src="cover" caption="alt" */>}}
44
+ ```
45
+
46
+ Ini adalah kebebasan untuk menata artikel!
47
+
48
+ {{< figure src="cover" caption="alt" >}}
49
+
50
+ ## Menambahkan Artikel Audio
51
+
52
+ 1. Metode _Front Matter_
53
+
54
+ ```yaml
55
+ ---
56
+ title: "Artikel Saya"
57
+ audio: "audio/my-audio.ogg"
58
+ ---
59
+ ```
60
+
61
+
62
+ 2. Metode _Page Bundle_
63
+
64
+ Anda dapat mengunggah beberapa format audio dengan metode ini:
65
+
66
+ - Buat folder untuk artikel Anda
67
+ - Beri nama audio Anda `audio.*`
68
+ - Letakkan di folder yang sama dengan konten Anda
69
+
70
+ ## Contoh Metode _Page Bundle_
71
+
72
+ Berikut bagaimana struktur folder pada metode _page bundle_:
73
+
74
+ content/
75
+ └── posts/
76
+ └── my-article/
77
+ ├── index.md
78
+ ├── cover.jpg
79
+ ├── audio.mp3
80
+ └── audio.ogg
content/id/pos/mengatur-slide.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Mengatur Slide Beranda"
3
+ description: "Cara mengatur Bagian Slide Beranda di tema Hugo Brewm"
4
+ date: 2025-01-26
5
+ type: 'post'
6
+ draft: false
7
+ translationKey: slide
8
+ coffee: 1
9
+ ---
10
+
11
+ ## Menyiapkan konten slide
12
+
13
+ Tema Hugo Brewm memiliki bagian slide beranda yang menampilkan konten penting melalui carousel interaktif.
14
+ {{< marginpar >}}Anda dapat menambahkan parameter `cover` untuk menambahkan sampul slide; parameter ini juga mengubah tata letak slide.{{< /marginpar >}}
15
+ Untuk membuat beberapa slide, Anda perlu membuat file terpisah yang berisi struktur front matter seperti ini:
16
+
17
+ ```yaml
18
+ ---
19
+ type: slide
20
+ title: "Judul Slide"
21
+ params:
22
+ headless: true # cegah pembuatan halaman dan alihkan ke 404.html
23
+ target: "https://example.com" # atau alihan ke target
24
+ ---
25
+ ```
26
+
27
+ ## Shortcode Khusus untuk Konten Slide
28
+
29
+ ### Feed RSS eksternal
30
+
31
+ Bagian slide dapat mengintegrasikan konten dari sumber eksternal menggunakan shortcode RSS.
32
+
33
+ ```yaml
34
+ ---
35
+ type: slide
36
+ title: "Postingan saya di example.com"
37
+ ---
38
+
39
+ {{</* rss "https://example.com/feed.xml" */>}}
40
+ ```
41
+
42
+ ### Galeri dengan tata letak Masonry
43
+
44
+ Untuk gallery dengan tata letak gaya Pinterest, Anda dapat mengimplementasikan shortcode pin seperti berikut:
45
+
46
+ ```toml
47
+ {{</* pin "begin" */>}}
48
+ {{</* pin img="https://example.com/item1.jpg" url="https://example.com/item1" label="Item 1" */>}}
49
+ {{</* pin img="https://example.com/item2.jpg" url="https://example.com/item2" label="Item 2" */>}}
50
+ {{</* pin img="https://example.com/item3.jpg" url="https://example.com/item3" label="Item 3" */>}}
51
+ {{</* pin img="https://example.com/item4.jpg" url="https://example.com/item4" label="Item 4" */>}}
52
+ {{</* pin img="https://example.com/item5.jpg" url="https://example.com/item5" label="Item 5" */>}}
53
+ {{</* pin img="https://example.com/item6.jpg" url="https://example.com/item6" label="Item 6" */>}}
54
+ {{</* pin "end" */>}}
55
+ ```
content/id/pos/tes-markdown.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Tes Markdown"
3
+ description: "Berbagai contoh tes Markdown"
4
+ date: 2025-01-26
5
+ type: 'post'
6
+ draft: false
7
+ translationKey: markdown
8
+ coffee: 1
9
+ ---
10
+
11
+ <span class="letterine"><i>I</i>ni adalah contoh span dengan kelas letterine.</span>
12
+ Anda perlu mengatur parameter `markup.goldmark.unsafe` dan `markup.goldmark.renderer.unsafe` di `config.toml` untuk menulis html secara langsung, tetapi ini tidak direkomendasikan.
13
+ {{< marginpar >}}
14
+ Dan ini adalah marginpar.
15
+ **Teks tebal**,
16
+ *Teks miring*,
17
+ ***Teks tebal dan miring***,
18
+ ~~Teks dicoret~~,
19
+ [Teks tautan](https://example.com)
20
+ ---juga berfungsi.
21
+ {{< /marginpar >}}
22
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
23
+
24
+ ## Judul 2
25
+
26
+ Paragraf pertama tidak akan menjorok.
27
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
28
+
29
+ Paragraf kedua dan setelahnya akan menjorok.
30
+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
31
+
32
+ > Ini adalah kutipan
33
+ >> Kutipan bertumpuk
34
+
35
+ ### Judul 3
36
+
37
+ 1. Item daftar terurut 1
38
+ 2. Item daftar terurut 2
39
+ - Item tidak terurut bersarang
40
+ - Item bersarang lainnya
41
+ 3. Item daftar terurut 3
42
+
43
+ - Item daftar tidak terurut
44
+ - Item lainnya
45
+ - Item bersarang
46
+ - Item bersarang lainnya
47
+
48
+ #### Judul 4
49
+
50
+ ![Teks alternatif gambar](https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Domestic_cat_sitting_by_door.jpg/640px-Domestic_cat_sitting_by_door.jpg)
51
+
52
+ | Header 1 | Header 2 |
53
+ |----------|----------|
54
+ | Sel 1 | Sel 2 |
55
+ | Sel 3 | Sel 4 |
56
+
57
+ Daftar tugas:
58
+ - [x] Tugas selesai
59
+ - [ ] Tugas belum selesai
60
+
61
+ ##### Judul 5
62
+
63
+ Ini adalah `kode dalam baris` dan beberapa pemformatan ***gabungan***.
64
+
65
+ Ini adalah blok kode:
66
+
67
+ // blok kode dengan empat spasi
68
+ def hello_world():
69
+ print("Halo, Dunia!")
70
+
71
+ ```js
72
+ // Blok kode dengan penyorotan sintaks
73
+ function salam(nama) {
74
+ return `Halo, ${nama}!`;
75
+ }
76
+ ```
77
+
78
+ ###### Judul 6
79
+
80
+ Tingkat judul 6 akan ditampilkan sebagai paragraf dalam baris.
81
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.