Spaces:
Sleeping
Sleeping
Upload 127 files
Browse files- .gitattributes +1 -0
- .github/workflows/hugo.yml +78 -0
- .github/workflows/hugo_exampleSite.yml +80 -0
- .gitignore +1 -2
- .gitlab-ci.yml +45 -0
- LICENSE +1 -1
- config.toml +4 -0
- exampleSite/config/_default/hugo.toml +213 -0
- exampleSite/config/_default/languages.toml +35 -0
- exampleSite/config/_default/menus.en.toml +275 -0
- exampleSite/config/_default/menus.id.toml +0 -0
- exampleSite/content/en/_index.md +11 -0
- exampleSite/content/en/author/A.N. Other/_index.md +8 -0
- exampleSite/content/en/author/author-name/_index.md +18 -0
- exampleSite/content/en/footer.md +15 -0
- exampleSite/content/en/pin.md +34 -0
- exampleSite/content/en/post/_index.md +4 -0
- exampleSite/content/en/post/authoring-redaction-history.md +35 -0
- exampleSite/content/en/post/authoring-terms-entry.md +44 -0
- exampleSite/content/en/post/configure-discussion.md +51 -0
- exampleSite/content/en/post/configure-logo-and-accent-color.md +55 -0
- exampleSite/content/en/post/configure-main-footer.md +52 -0
- exampleSite/content/en/post/configure-menu.md +247 -0
- exampleSite/content/en/post/configure-pagefind.md +42 -0
- exampleSite/content/en/post/configure-slides.md +55 -0
- exampleSite/content/en/post/markdown-test.md +85 -0
- exampleSite/content/en/rss.md +8 -0
- exampleSite/content/en/slide.md +10 -0
- exampleSite/content/id/pos/_index.md +4 -0
- exampleSite/content/id/pos/mengatur-diskusi.md +34 -0
- exampleSite/content/id/pos/mengatur-entri-terms.md +43 -0
- exampleSite/content/id/pos/mengatur-footer-situs.md +48 -0
- exampleSite/content/id/pos/mengatur-logo-dan-aksen-warna.md +52 -0
- exampleSite/content/id/pos/mengatur-menu.md +244 -0
- exampleSite/content/id/pos/mengatur-pagefind.md +39 -0
- exampleSite/content/id/pos/mengatur-riwayat-redaksi.md +33 -0
- exampleSite/content/id/pos/mengatur-slide.md +52 -0
- exampleSite/content/id/pos/tes-markdown.md +81 -0
- i18n/en.toml +223 -0
- i18n/id.toml +215 -0
- images/screenshot.png +3 -0
- images/tn.png +0 -0
- theme.toml +28 -0
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
themes/hugo-brewm/images/screenshot.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
themes/hugo-brewm/images/screenshot.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/screenshot.png filter=lfs diff=lfs merge=lfs -text
|
.github/workflows/hugo.yml
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Workflow for building and deploying a Hugo site to GitHub Pages
|
2 |
+
name: Deploy Hugo Site to Pages
|
3 |
+
|
4 |
+
on:
|
5 |
+
# Runs on pushes targeting the default branch
|
6 |
+
push:
|
7 |
+
branches:
|
8 |
+
- main
|
9 |
+
|
10 |
+
# Allows you to run this workflow manually from the Actions tab
|
11 |
+
workflow_dispatch:
|
12 |
+
|
13 |
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
14 |
+
permissions:
|
15 |
+
contents: read
|
16 |
+
pages: write
|
17 |
+
id-token: write
|
18 |
+
|
19 |
+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
20 |
+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
21 |
+
concurrency:
|
22 |
+
group: "pages"
|
23 |
+
cancel-in-progress: false
|
24 |
+
|
25 |
+
# Default to bash
|
26 |
+
defaults:
|
27 |
+
run:
|
28 |
+
shell: bash
|
29 |
+
|
30 |
+
jobs:
|
31 |
+
# Build job
|
32 |
+
build:
|
33 |
+
runs-on: ubuntu-24.04-arm
|
34 |
+
env:
|
35 |
+
HUGO_VERSION: 0.143.1
|
36 |
+
steps:
|
37 |
+
- name: Install Hugo CLI
|
38 |
+
run: |
|
39 |
+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-arm64.deb \
|
40 |
+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
41 |
+
- name: Checkout
|
42 |
+
uses: actions/[email protected]
|
43 |
+
with:
|
44 |
+
submodules: recursive
|
45 |
+
fetch-depth: 0
|
46 |
+
- name: Setup Pages
|
47 |
+
id: pages
|
48 |
+
uses: actions/configure-pages@v5
|
49 |
+
- name: Install Node.js dependencies
|
50 |
+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
51 |
+
- name: Build with Hugo
|
52 |
+
env:
|
53 |
+
# For maximum backward compatibility with Hugo modules
|
54 |
+
HUGO_ENVIRONMENT: production
|
55 |
+
HUGO_ENV: production
|
56 |
+
run: |
|
57 |
+
hugo \
|
58 |
+
--gc \
|
59 |
+
--minify \
|
60 |
+
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
61 |
+
- name: Index pagefind
|
62 |
+
run: npx pagefind --source "./public"
|
63 |
+
- name: Upload artifact
|
64 |
+
uses: actions/[email protected]
|
65 |
+
with:
|
66 |
+
path: ./public
|
67 |
+
|
68 |
+
# Deployment job
|
69 |
+
deploy:
|
70 |
+
environment:
|
71 |
+
name: github-pages
|
72 |
+
url: ${{ steps.deployment.outputs.page_url }}
|
73 |
+
runs-on: ubuntu-24.04-arm
|
74 |
+
needs: build
|
75 |
+
steps:
|
76 |
+
- name: Deploy to GitHub Pages
|
77 |
+
id: deployment
|
78 |
+
uses: actions/[email protected]
|
.github/workflows/hugo_exampleSite.yml
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
|
2 |
+
name: Deploy Hugo exampleSite to Pages
|
3 |
+
|
4 |
+
on:
|
5 |
+
# Runs on pushes targeting the default branch
|
6 |
+
push:
|
7 |
+
branches:
|
8 |
+
- main
|
9 |
+
|
10 |
+
# Allows you to run this workflow manually from the Actions tab
|
11 |
+
workflow_dispatch:
|
12 |
+
|
13 |
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
14 |
+
permissions:
|
15 |
+
contents: read
|
16 |
+
pages: write
|
17 |
+
id-token: write
|
18 |
+
|
19 |
+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
20 |
+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
21 |
+
concurrency:
|
22 |
+
group: "pages"
|
23 |
+
cancel-in-progress: false
|
24 |
+
|
25 |
+
# Default to bash
|
26 |
+
defaults:
|
27 |
+
run:
|
28 |
+
shell: bash
|
29 |
+
|
30 |
+
jobs:
|
31 |
+
# Build job
|
32 |
+
build:
|
33 |
+
runs-on: ubuntu-24.04-arm
|
34 |
+
env:
|
35 |
+
HUGO_VERSION: 0.143.1
|
36 |
+
steps:
|
37 |
+
- name: Install Hugo CLI
|
38 |
+
run: |
|
39 |
+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-arm64.deb \
|
40 |
+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
41 |
+
- name: Checkout
|
42 |
+
uses: actions/[email protected]
|
43 |
+
with:
|
44 |
+
submodules: recursive
|
45 |
+
fetch-depth: 0
|
46 |
+
- name: Setup Pages
|
47 |
+
id: pages
|
48 |
+
uses: actions/configure-pages@v5
|
49 |
+
- name: Install Node.js dependencies
|
50 |
+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
51 |
+
- name: Build with Hugo
|
52 |
+
env:
|
53 |
+
# For maximum backward compatibility with Hugo modules
|
54 |
+
HUGO_ENVIRONMENT: production
|
55 |
+
HUGO_ENV: production
|
56 |
+
run: |
|
57 |
+
hugo \
|
58 |
+
--gc \
|
59 |
+
--minify \
|
60 |
+
--themesDir ../.. \
|
61 |
+
--source exampleSite \
|
62 |
+
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
63 |
+
- name: Index pagefind
|
64 |
+
run: npx pagefind --source "./exampleSite/public"
|
65 |
+
- name: Upload artifact
|
66 |
+
uses: actions/[email protected]
|
67 |
+
with:
|
68 |
+
path: ./exampleSite/public
|
69 |
+
|
70 |
+
# Deployment job
|
71 |
+
deploy:
|
72 |
+
environment:
|
73 |
+
name: github-pages
|
74 |
+
url: ${{ steps.deployment.outputs.page_url }}
|
75 |
+
runs-on: ubuntu-24.04-arm
|
76 |
+
needs: build
|
77 |
+
steps:
|
78 |
+
- name: Deploy to GitHub Pages
|
79 |
+
id: deployment
|
80 |
+
uses: actions/[email protected]
|
.gitignore
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
-
public
|
2 |
-
resources
|
3 |
.hugo_build.lock
|
|
|
|
|
|
|
|
1 |
.hugo_build.lock
|
2 |
+
public
|
.gitlab-ci.yml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use this template if you want to build your site with Gitlab pages.
|
2 |
+
|
3 |
+
image:
|
4 |
+
name: golang:1.23.4-bookworm
|
5 |
+
|
6 |
+
variables:
|
7 |
+
GIT_DEPTH: 0
|
8 |
+
GIT_STRATEGY: clone
|
9 |
+
GIT_SUBMODULE_STRATEGY: recursive
|
10 |
+
HUGO_VERSION: 0.143.1
|
11 |
+
NODE_VERSION: 23.x
|
12 |
+
|
13 |
+
pages:
|
14 |
+
script:
|
15 |
+
# Install brotli
|
16 |
+
- apt-get update
|
17 |
+
- apt-get install -y brotli
|
18 |
+
# Install Dart Sass
|
19 |
+
# hugo-brewm don't use Dart Sass at the moment.
|
20 |
+
# - curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz
|
21 |
+
# - tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz
|
22 |
+
# - cp -r dart-sass/ /usr/local/bin
|
23 |
+
# - rm -rf dart-sass*
|
24 |
+
# - export PATH=/usr/local/bin/dart-sass:$PATH
|
25 |
+
# Install Hugo
|
26 |
+
- curl -LJO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
|
27 |
+
- apt-get install -y ./hugo_extended_${HUGO_VERSION}_linux-amd64.deb
|
28 |
+
- rm hugo_extended_${HUGO_VERSION}_linux-amd64.deb
|
29 |
+
# Install Node.js
|
30 |
+
- curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
|
31 |
+
- apt-get install -y nodejs
|
32 |
+
# Install Node.js dependencies
|
33 |
+
- "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
34 |
+
# Build
|
35 |
+
- hugo --gc --minify --baseURL ${CI_PAGES_URL}
|
36 |
+
# Index with PageFind
|
37 |
+
- npx pagefind --site "public"
|
38 |
+
# Compress
|
39 |
+
- find public -type f -regex '.*\.\(css\|html\|js\|txt\|xml\)$' -exec gzip -f -k {} \;
|
40 |
+
- find public -type f -regex '.*\.\(css\|html\|js\|txt\|xml\)$' -exec brotli -f -k {} \;
|
41 |
+
artifacts:
|
42 |
+
paths:
|
43 |
+
- public
|
44 |
+
rules:
|
45 |
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
MIT License
|
2 |
|
3 |
-
Copyright (c)
|
4 |
|
5 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
of this software and associated documentation files (the "Software"), to deal
|
|
|
1 |
MIT License
|
2 |
|
3 |
+
Copyright (c) 2024 foxihd @ github.com
|
4 |
|
5 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
of this software and associated documentation files (the "Software"), to deal
|
config.toml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[module]
|
2 |
+
[module.hugoVersion]
|
3 |
+
extended = false
|
4 |
+
min = "0.135.0"
|
exampleSite/config/_default/hugo.toml
ADDED
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## Base URL for the site
|
2 |
+
baseURL = 'https://foxihd.github.io/hugo-brewm/'
|
3 |
+
## Site title
|
4 |
+
title = 'Example'
|
5 |
+
## Use hugo-brewm theme
|
6 |
+
theme = 'hugo-brewm'
|
7 |
+
## Enable Git information for pages, (e.g. lastMod date information)
|
8 |
+
enableGitInfo = true
|
9 |
+
## Convert all URLs to absolute URLs
|
10 |
+
canonifyURLs = true
|
11 |
+
## Default language for content
|
12 |
+
defaultContentLanguage = 'en'
|
13 |
+
## Put default language in subdirectory
|
14 |
+
defaultContentLanguageInSubdir = true
|
15 |
+
## Show placeholder for missing translations
|
16 |
+
enableMissingTranslationPlaceholders = true
|
17 |
+
## Use sections for main menu
|
18 |
+
# sectionPagesMenu = 'main'
|
19 |
+
## Files to ignore when building site
|
20 |
+
ignoreFiles = [ '\.redacted', '\.old','\.bak', '\.tmp', '\.swp', '\.DS_Store']
|
21 |
+
## Errors to ignore in logs
|
22 |
+
# ignoreLogs = ['err-youtube-remote']
|
23 |
+
## Copyright notice
|
24 |
+
copyright = 'Copyright 2025 (c) Foxxi'
|
25 |
+
|
26 |
+
## Front matter field configurations
|
27 |
+
[frontmatter]
|
28 |
+
## Publication date fields
|
29 |
+
date = [':default']
|
30 |
+
## Expiry date fields
|
31 |
+
expiryDate = ['expiryDate', 'unpublishdate', ':default']
|
32 |
+
## Last modified date fields
|
33 |
+
lastmod = ['lastmod', ':default'] ## ":fileModTime"
|
34 |
+
|
35 |
+
## Markup configuration
|
36 |
+
[markup]
|
37 |
+
|
38 |
+
## Table of contents settings
|
39 |
+
[markup.tableOfContents]
|
40 |
+
## Minimum heading level to include
|
41 |
+
startLevel = 2
|
42 |
+
## Maximum heading level to include
|
43 |
+
endLevel = 3
|
44 |
+
## Use ordered list for TOC
|
45 |
+
ordered = false
|
46 |
+
|
47 |
+
## Code highlighting settings
|
48 |
+
[markup.highlight]
|
49 |
+
## Enable code fence highlighting
|
50 |
+
codeFences = true
|
51 |
+
## Lines to highlight
|
52 |
+
hl_Lines = ""
|
53 |
+
## Starting line number
|
54 |
+
lineNoStart = 1
|
55 |
+
## Show line numbers
|
56 |
+
lineNos = false
|
57 |
+
## Put line numbers in table
|
58 |
+
lineNumbersInTable = true
|
59 |
+
## Use classes for styling
|
60 |
+
noClasses = false
|
61 |
+
## Width of tab character
|
62 |
+
tabWidth = 4
|
63 |
+
|
64 |
+
## Goldmark markdown processor settings
|
65 |
+
[markup.goldmark]
|
66 |
+
[markup.goldmark.renderer]
|
67 |
+
## Allow HTML in markdown
|
68 |
+
unsafe = true
|
69 |
+
|
70 |
+
## Sitemap configuration
|
71 |
+
[sitemap]
|
72 |
+
## Change frequency setting (will affect posts listings layout): 'always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', 'never'
|
73 |
+
# changeFreq = 'monthly'
|
74 |
+
## Disable sitemap generation
|
75 |
+
# disable = false
|
76 |
+
## Output filename
|
77 |
+
# filename = 'sitemap.xml'
|
78 |
+
## Priority setting
|
79 |
+
# priority = -1
|
80 |
+
|
81 |
+
## RSS configuration
|
82 |
+
[services.rss]
|
83 |
+
## Limit RSS item
|
84 |
+
limit = -1
|
85 |
+
|
86 |
+
## Taxonomy configuration
|
87 |
+
[taxonomies]
|
88 |
+
## Category taxonomy
|
89 |
+
category = "categories"
|
90 |
+
## Tag taxonomy
|
91 |
+
tag = "tags"
|
92 |
+
## Series taxonomy
|
93 |
+
series = "series"
|
94 |
+
|
95 |
+
## Site parameters
|
96 |
+
[params]
|
97 |
+
## Site title
|
98 |
+
title = "Example"
|
99 |
+
## Site description
|
100 |
+
description = "An ExampleSite built with Hugo and Hugo-Brewm theme"
|
101 |
+
## Copyright notice
|
102 |
+
copyright = "Copyright 2025 (c) Foxxi"
|
103 |
+
## Enable extended metadata (social cards)
|
104 |
+
extMeta = true
|
105 |
+
## Enable coffee metric
|
106 |
+
coffeeStat = true
|
107 |
+
|
108 |
+
## Author information
|
109 |
+
[params.author]
|
110 |
+
## site author's name
|
111 |
+
name = 'Author Name'
|
112 |
+
## Author's email (will be used for RSS feed)
|
113 |
+
email = '[email protected]'
|
114 |
+
## Co-authors information (optional)
|
115 |
+
coauthor = [
|
116 |
+
{name = "A.N. Other", bio = "This quick paragraph is written in site configuration (hugo.toml). Therefore, no markdown support. 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."}
|
117 |
+
]
|
118 |
+
|
119 |
+
## Comments configuration
|
120 |
+
[params.comments]
|
121 |
+
## Disable comments (disable fediverse comments)
|
122 |
+
disabled = false
|
123 |
+
## Comment platform selection, currently only 'fediverse' is supported, further options to be determined
|
124 |
+
# platform = 'fediverse'
|
125 |
+
|
126 |
+
## Fediverse integration settings
|
127 |
+
[params.fediverse]
|
128 |
+
## Fediverse instance URL
|
129 |
+
# instance = 'example.com'
|
130 |
+
## Fediverse username
|
131 |
+
# username = 'username'
|
132 |
+
|
133 |
+
## Logo configuration
|
134 |
+
[params.logo]
|
135 |
+
## Light mode logo mark
|
136 |
+
# logoMark = 'https://example.com/logoMark.svg'
|
137 |
+
## Dark mode logo mark
|
138 |
+
# logoMarkDark = 'https://example.com/logoMarkDark.svg'
|
139 |
+
## Enable logo type
|
140 |
+
logoType = true
|
141 |
+
|
142 |
+
## Feed display settings
|
143 |
+
[params.feed]
|
144 |
+
## Enable flowlines
|
145 |
+
flowlines = true
|
146 |
+
## Limit number of flowlines
|
147 |
+
flowlinesLimit = 21
|
148 |
+
|
149 |
+
## Home page display settings
|
150 |
+
[params.home]
|
151 |
+
## Enable slide carousel
|
152 |
+
disableSlide = false
|
153 |
+
## Enable taxonomy listing carousel
|
154 |
+
disableListing = false
|
155 |
+
|
156 |
+
## Post display settings
|
157 |
+
[params.posts]
|
158 |
+
## Enable text justification
|
159 |
+
justifying = false
|
160 |
+
## Disable paragraph indentation
|
161 |
+
noIndent = false
|
162 |
+
## Show colophon section (including QR code)
|
163 |
+
colophon = true
|
164 |
+
## disable redaction history
|
165 |
+
disableHistory = false
|
166 |
+
## SHow related content
|
167 |
+
related = true
|
168 |
+
## Show share buttons
|
169 |
+
share = true
|
170 |
+
|
171 |
+
## Search configuration
|
172 |
+
[params.search]
|
173 |
+
## Enable search functionality, use duckduckgo (no javascript)
|
174 |
+
enable = true
|
175 |
+
## Use pagefind search when javascript enabled, currently only 'pagefind' is supported, further options to be determined
|
176 |
+
pagefind = true
|
177 |
+
|
178 |
+
## Typography settings
|
179 |
+
[params.typeface]
|
180 |
+
## Use web safe fonts (will overide font selection below)
|
181 |
+
webSafe = false
|
182 |
+
## Serif font selection
|
183 |
+
roman = 'crimson'
|
184 |
+
## Sans-serif font selection
|
185 |
+
sans = 'inter'
|
186 |
+
## use typeface stored in local server (pleaase download font's uri first)
|
187 |
+
localHost = false
|
188 |
+
|
189 |
+
## Extended Metadata and Social card configuration
|
190 |
+
[params.socialCard]
|
191 |
+
## Enable twitter and opengraph social cards (same .params.extMeta setting)
|
192 |
+
enable = true
|
193 |
+
## Default social card image
|
194 |
+
# image = "img/social-share.jpg" ## recommended resolution: 1200 x 630px
|
195 |
+
|
196 |
+
## Enable Twitter cards
|
197 |
+
# twitter = true
|
198 |
+
## Twitter creator handle
|
199 |
+
# twitterCreator = "@username"
|
200 |
+
## Twitter site handle
|
201 |
+
# twitterSite = "@username"
|
202 |
+
|
203 |
+
## Enable OpenGraph
|
204 |
+
# opengraph = true
|
205 |
+
## Facebook App ID
|
206 |
+
# facebookAppID = "123456789"
|
207 |
+
## Facebook Admin ID
|
208 |
+
# facebookAdmin = "USER_ID"
|
209 |
+
|
210 |
+
## Schema.org (only meta, not fully supported)
|
211 |
+
# schema = true
|
212 |
+
## JsonLD (cannot validate permalink)
|
213 |
+
# jsonLD = true
|
exampleSite/config/_default/languages.toml
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[en]
|
2 |
+
contentDir = 'content/en'
|
3 |
+
disabled = false
|
4 |
+
languageCode = 'en-GB'
|
5 |
+
languageDirection = 'ltr'
|
6 |
+
languageName = 'English'
|
7 |
+
[en.pagination]
|
8 |
+
disableAliases = false
|
9 |
+
pagerSize = 12
|
10 |
+
path = 'page'
|
11 |
+
[en.taxonomies]
|
12 |
+
author = 'author'
|
13 |
+
category = 'categories'
|
14 |
+
series = 'series'
|
15 |
+
tag = 'tags'
|
16 |
+
|
17 |
+
[id]
|
18 |
+
contentDir = 'content/id'
|
19 |
+
disabled = false
|
20 |
+
languageCode = 'id-ID'
|
21 |
+
languageDirection = 'ltr'
|
22 |
+
languageName = 'Bahasa Indonesia'
|
23 |
+
[id.pagination]
|
24 |
+
disableAliases = false
|
25 |
+
pagerSize = 12
|
26 |
+
path = 'laman'
|
27 |
+
[id.params.feed]
|
28 |
+
flowlines = false
|
29 |
+
|
30 |
+
[it]
|
31 |
+
contentDir = 'content/it'
|
32 |
+
disabled = false
|
33 |
+
languageCode = 'it-IT'
|
34 |
+
languageDirection = 'ltr'
|
35 |
+
languageName = 'Italian'
|
exampleSite/config/_default/menus.en.toml
ADDED
@@ -0,0 +1,275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[[main]]
|
2 |
+
name = 'Fork!'
|
3 |
+
identifier = 'fork'
|
4 |
+
weight = 3
|
5 |
+
url = 'https://github.com/foxihd/hugo-brewm'
|
6 |
+
pre = 'github'
|
7 |
+
|
8 |
+
[[main]]
|
9 |
+
name = 'Series'
|
10 |
+
identifier = 'series'
|
11 |
+
pageRef = '/series'
|
12 |
+
weight = 1
|
13 |
+
|
14 |
+
[[main]]
|
15 |
+
name = 'A Series'
|
16 |
+
identifier = 'series1'
|
17 |
+
pageRef = '/'
|
18 |
+
parent = 'series'
|
19 |
+
Post = 'Example with post/description'
|
20 |
+
|
21 |
+
[[main]]
|
22 |
+
name = 'Another series'
|
23 |
+
identifier = 'series2'
|
24 |
+
pageRef = '/'
|
25 |
+
parent = 'series'
|
26 |
+
|
27 |
+
[[main]]
|
28 |
+
name = 'Sustainable Development'
|
29 |
+
identifier = 'series.sdg'
|
30 |
+
pageRef = '/'
|
31 |
+
parent = 'series'
|
32 |
+
Post = 'Nested Menu example'
|
33 |
+
|
34 |
+
[[main]]
|
35 |
+
name = 'No Poverty'
|
36 |
+
identifier = 'series.sdg.1'
|
37 |
+
pageRef = '/'
|
38 |
+
parent = 'series.sdg'
|
39 |
+
|
40 |
+
[[main]]
|
41 |
+
name = 'Zero Hunger'
|
42 |
+
identifier = 'series.sdg.2'
|
43 |
+
pageRef = '/'
|
44 |
+
parent = 'series.sdg'
|
45 |
+
|
46 |
+
[[main]]
|
47 |
+
name = 'Good Health and Well-being'
|
48 |
+
identifier = 'series.sdg.3'
|
49 |
+
pageRef = '/'
|
50 |
+
parent = 'series.sdg'
|
51 |
+
|
52 |
+
[[main]]
|
53 |
+
name = 'Quality Education'
|
54 |
+
identifier = 'series.sdg.4'
|
55 |
+
pageRef = '/'
|
56 |
+
parent = 'series.sdg'
|
57 |
+
|
58 |
+
[[main]]
|
59 |
+
name = 'Gender Equality'
|
60 |
+
identifier = 'series.sdg.5'
|
61 |
+
pageRef = '/'
|
62 |
+
parent = 'series.sdg'
|
63 |
+
|
64 |
+
[[main]]
|
65 |
+
name = 'Clean Water and Sanitation'
|
66 |
+
identifier = 'series.sdg.6'
|
67 |
+
pageRef = '/'
|
68 |
+
parent = 'series.sdg'
|
69 |
+
|
70 |
+
[[main]]
|
71 |
+
name = 'Affordable and Clean Energy'
|
72 |
+
identifier = 'series.sdg.7'
|
73 |
+
pageRef = '/'
|
74 |
+
parent = 'series.sdg'
|
75 |
+
|
76 |
+
[[main]]
|
77 |
+
name = 'Decent Work and Economic Growth'
|
78 |
+
identifier = 'series.sdg.8'
|
79 |
+
pageRef = '/'
|
80 |
+
parent = 'series.sdg'
|
81 |
+
|
82 |
+
[[main]]
|
83 |
+
name = 'Industry, Innovation and Infrastructure'
|
84 |
+
identifier = 'series.sdg.9'
|
85 |
+
pageRef = '/'
|
86 |
+
parent = 'series.sdg'
|
87 |
+
|
88 |
+
[[main]]
|
89 |
+
name = 'Reduced Inequalities'
|
90 |
+
identifier = 'series.sdg.10'
|
91 |
+
pageRef = '/'
|
92 |
+
parent = 'series.sdg'
|
93 |
+
|
94 |
+
[[main]]
|
95 |
+
name = 'Sustainable Cities and Communities'
|
96 |
+
identifier = 'series.sdg.11'
|
97 |
+
pageRef = '/'
|
98 |
+
parent = 'series.sdg'
|
99 |
+
|
100 |
+
[[main]]
|
101 |
+
name = 'Responsible Consumption and Production'
|
102 |
+
identifier = 'series.sdg.12'
|
103 |
+
pageRef = '/'
|
104 |
+
parent = 'series.sdg'
|
105 |
+
|
106 |
+
[[main]]
|
107 |
+
name = 'Climate Action'
|
108 |
+
identifier = 'series.sdg.13'
|
109 |
+
pageRef = '/'
|
110 |
+
parent = 'series.sdg'
|
111 |
+
|
112 |
+
[[main]]
|
113 |
+
name = 'Life Below Water'
|
114 |
+
identifier = 'series.sdg.14'
|
115 |
+
pageRef = '/'
|
116 |
+
parent = 'series.sdg'
|
117 |
+
|
118 |
+
[[main]]
|
119 |
+
name = 'Life on Land'
|
120 |
+
identifier = 'series.sdg.15'
|
121 |
+
pageRef = '/'
|
122 |
+
parent = 'series.sdg'
|
123 |
+
|
124 |
+
[[main]]
|
125 |
+
name = 'Peace, Justice and Strong Institutions'
|
126 |
+
identifier = 'series.sdg.16'
|
127 |
+
pageRef = '/'
|
128 |
+
parent = 'series.sdg'
|
129 |
+
|
130 |
+
[[main]]
|
131 |
+
name = 'Partnerships for the Goals'
|
132 |
+
identifier = 'series.sdg.17'
|
133 |
+
pageRef = '/'
|
134 |
+
parent = 'series.sdg'
|
135 |
+
|
136 |
+
[[main]]
|
137 |
+
name = 'Works'
|
138 |
+
identifier = 'works'
|
139 |
+
pageRef = '/'
|
140 |
+
weight = 2
|
141 |
+
|
142 |
+
[[main]]
|
143 |
+
name = 'Commission'
|
144 |
+
identifier = 'commission'
|
145 |
+
pageRef = '/'
|
146 |
+
parent = 'works'
|
147 |
+
Post = 'Example Menu'
|
148 |
+
weight = 1
|
149 |
+
|
150 |
+
[[main]]
|
151 |
+
name = 'Project'
|
152 |
+
identifier = 'project'
|
153 |
+
pageRef = '/'
|
154 |
+
parent = 'works'
|
155 |
+
Post = 'My current projects'
|
156 |
+
weight = 2
|
157 |
+
|
158 |
+
[[main]]
|
159 |
+
name = 'Gallery'
|
160 |
+
identifier = 'gallery'
|
161 |
+
pageRef = '/'
|
162 |
+
parent = 'works'
|
163 |
+
Post = 'Well, actually, silly stuff'
|
164 |
+
weight = 3
|
165 |
+
|
166 |
+
[[more]]
|
167 |
+
name = 'Resources'
|
168 |
+
identifier = 'resources'
|
169 |
+
pageRef = '/'
|
170 |
+
weight = 3
|
171 |
+
|
172 |
+
[[more]]
|
173 |
+
name = 'About'
|
174 |
+
identifier = 'about'
|
175 |
+
pageRef = '/'
|
176 |
+
weight = 5
|
177 |
+
|
178 |
+
[[more]]
|
179 |
+
name = 'Sustainability'
|
180 |
+
identifier = 'sustainability'
|
181 |
+
pageRef = '/'
|
182 |
+
parent = 'about'
|
183 |
+
weight = 1
|
184 |
+
|
185 |
+
[[more]]
|
186 |
+
name = 'Author'
|
187 |
+
identifier = 'author'
|
188 |
+
pageRef = '/author'
|
189 |
+
parent = 'about'
|
190 |
+
weight = 2
|
191 |
+
|
192 |
+
[[author-name]]
|
193 |
+
name = ''
|
194 |
+
identifier = '@user-name'
|
195 |
+
pageRef = '/'
|
196 |
+
weight = 1
|
197 |
+
pre = 'bluesky'
|
198 |
+
|
199 |
+
[[author-name]]
|
200 |
+
identifier = 'discord'
|
201 |
+
pageRef = '/'
|
202 |
+
weight = 2
|
203 |
+
pre = 'discord'
|
204 |
+
|
205 |
+
[[author-name]]
|
206 |
+
name = ''
|
207 |
+
identifier = 'mastodon'
|
208 |
+
pageRef = '/'
|
209 |
+
weight = 3
|
210 |
+
pre = 'mastodon'
|
211 |
+
|
212 |
+
[[more]]
|
213 |
+
name = 'More Menu'
|
214 |
+
identifier = 'more.menu'
|
215 |
+
pageRef = '/'
|
216 |
+
weight = 99
|
217 |
+
|
218 |
+
[[more]]
|
219 |
+
name = 'That'
|
220 |
+
identifier = 'more.menu.that'
|
221 |
+
parent = 'more.menu'
|
222 |
+
pageRef = '/'
|
223 |
+
|
224 |
+
[[more]]
|
225 |
+
name = 'Never'
|
226 |
+
identifier = 'more.menu.that.never'
|
227 |
+
parent = 'more.menu.that'
|
228 |
+
pageRef = '/'
|
229 |
+
|
230 |
+
[[more]]
|
231 |
+
name = 'Too'
|
232 |
+
identifier = 'more.menu.that.never.too'
|
233 |
+
parent = 'more.menu.that.never'
|
234 |
+
pageRef = '/'
|
235 |
+
|
236 |
+
[[more]]
|
237 |
+
name = 'Deep'
|
238 |
+
identifier = 'more.menu.that.never.too.deep'
|
239 |
+
parent = 'more.menu.that.never.too'
|
240 |
+
pageRef = '/'
|
241 |
+
|
242 |
+
[[footer]]
|
243 |
+
identifier = 'figma'
|
244 |
+
pageRef = '/'
|
245 |
+
weight = 1
|
246 |
+
name = 'figma'
|
247 |
+
pre = 'figma'
|
248 |
+
|
249 |
+
[[footer]]
|
250 |
+
identifier = 'hashnode'
|
251 |
+
pageRef = '/'
|
252 |
+
weight = 2
|
253 |
+
name = 'hashnode'
|
254 |
+
pre = 'hashnode'
|
255 |
+
|
256 |
+
[[footer]]
|
257 |
+
identifier = 'email'
|
258 |
+
pageRef = '/'
|
259 |
+
weight = 3
|
260 |
+
name = 'email'
|
261 |
+
pre = 'email'
|
262 |
+
|
263 |
+
[[footer]]
|
264 |
+
identifier = 'linkedin'
|
265 |
+
pageRef = '/'
|
266 |
+
weight = 4
|
267 |
+
name = 'linkedin'
|
268 |
+
pre = 'linkedin'
|
269 |
+
|
270 |
+
[[footer]]
|
271 |
+
identifier = 'karyakarsa'
|
272 |
+
pageRef = '/'
|
273 |
+
weight = 5
|
274 |
+
name = 'karya karsa'
|
275 |
+
pre = 'karyakarsa'
|
exampleSite/config/_default/menus.id.toml
ADDED
File without changes
|
exampleSite/content/en/_index.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
cover: 'https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/22.svg'
|
3 |
+
---
|
4 |
+
|
5 |
+
## Hero Section / Greeter
|
6 |
+
|
7 |
+
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.
|
8 |
+
|
9 |
+
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.
|
10 |
+
|
11 |
+
--- Lorem Ipsum
|
exampleSite/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.
|
exampleSite/content/en/author/author-name/_index.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
flair: 'Available for hire (example flair)'
|
5 |
+
---
|
6 |
+
|
7 |
+
## Author Name
|
8 |
+
|
9 |
+
This author information is written in `content/en/author/author-name/_index.md`.
|
10 |
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
11 |
+
|
12 |
+
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.
|
13 |
+
|
14 |
+
[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>
|
15 |
+
|
16 |
+
---
|
17 |
+
|
18 |
+
The social icon below is configured in `menus.[lang].toml`.
|
exampleSite/content/en/footer.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
type: 'footer'
|
3 |
+
weight: 1
|
4 |
+
target: 'https://example.com'
|
5 |
+
coffee: 2
|
6 |
+
---
|
7 |
+
|
8 |
+
<strong class="section-title">Foxx Edelweiss <i class="icon copyleft"></i> 2025</strong>
|
9 |
+
|
10 |
+
Some rights reserved.
|
11 |
+
|
12 |
+
<br>
|
13 |
+
<strong class="section-title">Impressum</strong>
|
14 |
+
|
15 |
+
Lorem ipsum dolor sit amet.
|
exampleSite/content/en/pin.md
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
type: 'slide'
|
3 |
+
title: 'Pin'
|
4 |
+
---
|
5 |
+
|
6 |
+
This is a slide with `{{</* pin */>}}` shortcode.
|
7 |
+
|
8 |
+
## Pin it as Showcase (Example)
|
9 |
+
|
10 |
+
Section with `Pin` shortcode.
|
11 |
+
The item order is column-based.
|
12 |
+
If images are not square, the layout will displayed as masonry style.
|
13 |
+
|
14 |
+
{{< pin "begin" >}}
|
15 |
+
{{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/1.svg" label="Item 1">}}
|
16 |
+
{{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/2.svg" label="Item 2">}}
|
17 |
+
{{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/3.svg" label="Item 3">}}
|
18 |
+
{{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/4.svg" label="Item 4">}}
|
19 |
+
{{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/5.svg" label="Item 5">}}
|
20 |
+
{{< pin img="https://raw.githubusercontent.com/foxihd/hugo-et-hd/master/static/svg/flowlines/6.svg" label="Item 6">}}
|
21 |
+
{{< pin "end" >}}
|
22 |
+
|
23 |
+
## Pin it as Catalogue (Example)
|
24 |
+
|
25 |
+
`{{</* pin */>}}` shortcode with `quote` parameter.
|
26 |
+
|
27 |
+
{{< pin "begin" >}}
|
28 |
+
{{< 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" >}}
|
29 |
+
{{< 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" >}}
|
30 |
+
{{< 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" >}}
|
31 |
+
{{< 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" >}}
|
32 |
+
{{< 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" >}}
|
33 |
+
{{< 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" >}}
|
34 |
+
{{< pin "end" >}}
|
exampleSite/content/en/post/_index.md
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: "Post"
|
3 |
+
translationKey: post
|
4 |
+
---
|
exampleSite/content/en/post/authoring-redaction-history.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
history = [
|
13 |
+
{date = "2025-02-01", author = "Author Name", reviewer = "Reviewer Name", note = "Example"},
|
14 |
+
{date = "2025-02-02", author = "Author Name", editor = "Editor Name", note = "Addendum (example)"},
|
15 |
+
{date = "2025-02-03", note = "Errata (example)"},
|
16 |
+
]
|
17 |
+
toot = "https://infosec.exchange/@foxx/113979609651534969"
|
18 |
+
+++
|
19 |
+
|
20 |
+
The redaction history functionality enables you to track and communicate content modifications to readers.
|
21 |
+
Within the post's front matter, you can specify details such as `editor`, `reviewer`, and include explanatory notes (`note`) about the changes made.
|
22 |
+
This feature requires manual configuration in the post's front matter section.
|
23 |
+
|
24 |
+
```toml
|
25 |
+
+++
|
26 |
+
title = "Authoring The Redaction History"
|
27 |
+
history = [
|
28 |
+
{date = "2025-02-01", author = "Author Name", reviewer = "Reviewer Name", note = "Example"},
|
29 |
+
{date = "2025-02-02", author = "Author Name", editor = "Editor Name", note = "Addendum (example)"},
|
30 |
+
{date = "2025-02-03", note = "Errata (example)"},
|
31 |
+
]
|
32 |
+
+++
|
33 |
+
```
|
34 |
+
|
35 |
+
A chronological timeline displaying these information will appear under the article's information section, as demonstrated in this example post.
|
exampleSite/content/en/post/authoring-terms-entry.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
---
|
13 |
+
|
14 |
+
You can change the cover of each terms entry by adding the `cover` parameter in `_index.md` under `[lang]\[taxonomies]\[terms]\`.
|
15 |
+
For example, to set the cover of the term `configuration` in categories, add the parameter in `content\en\categories\configuration\_index.md`.
|
16 |
+
|
17 |
+
```yaml
|
18 |
+
---
|
19 |
+
title: "Configuration"
|
20 |
+
description: "Configuration description, this might be useful for HTML metadata"
|
21 |
+
cover: "https://example.com/cover.png"
|
22 |
+
translationKey: configuration
|
23 |
+
---
|
24 |
+
|
25 |
+
If something is written here, the text will be displayed as hero section.
|
26 |
+
```
|
27 |
+
|
28 |
+
To link the terms entry in another language, you can add the `translationKey` parameter.
|
29 |
+
For example, if you want to link the terms entry in Indonesian, add the parameter in `content\id\categories\konfigurasi\_index.md`.
|
30 |
+
|
31 |
+
```yaml
|
32 |
+
---
|
33 |
+
title: "Konfigurasi"
|
34 |
+
description: "Deskripsi konfigurasi, ini bisa berguna untuk metadata HTML"
|
35 |
+
cover: "https://example.com/cover.png"
|
36 |
+
translationKey: configuration
|
37 |
+
---
|
38 |
+
|
39 |
+
Jika ada teks yang ditulis di sini, teks akan ditampilkan sebagai bagian hero.
|
40 |
+
```
|
41 |
+
|
42 |
+
The same way, you can set the cover of each terms entry for `series` and `author` taxonomies.
|
43 |
+
After making these changes, rebuild your site to see the updated cover and translations in breadcrumbs.
|
44 |
+
The cover will replace the flowlines images on taxonomies listing.
|
exampleSite/content/en/post/configure-discussion.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
---
|
15 |
+
|
16 |
+
## The New Method
|
17 |
+
|
18 |
+
Simply paste your toot link in `toot` or `comments` parameter in the front matter.
|
19 |
+
|
20 |
+
```yaml
|
21 |
+
---
|
22 |
+
toot: https://example.com/@example/12345678901234567890
|
23 |
+
---
|
24 |
+
```
|
25 |
+
|
26 |
+
|
27 |
+
## 'The-Long' Method
|
28 |
+
|
29 |
+
You can integrate discussions from you Fediverse instance to you article. To enable this feature, add the `fediverse` section to your front matter with the required `host`, `user`, and `post` parameters:
|
30 |
+
|
31 |
+
```yaml
|
32 |
+
---
|
33 |
+
title: "Example"
|
34 |
+
type: "post"
|
35 |
+
fediverse:
|
36 |
+
host: fediverse.instance
|
37 |
+
user: user-name
|
38 |
+
post: 123456789012345678
|
39 |
+
---
|
40 |
+
```
|
41 |
+
|
42 |
+
If you are single author, you can set the `host` and `user` parameter globally in the `config.toml` file:
|
43 |
+
|
44 |
+
```toml
|
45 |
+
[params]
|
46 |
+
[params.fediverse]
|
47 |
+
host = "example.com"
|
48 |
+
user = "username"
|
49 |
+
```
|
50 |
+
|
51 |
+
You might need to preview the article's permalink before sharing it on the Fediverse network to get post ID, or perform CI/CD twice.
|
exampleSite/content/en/post/configure-logo-and-accent-color.md
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-03
|
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 |
+
--ac-light: #36b;
|
25 |
+
--ac-dark: #fa1;
|
26 |
+
}
|
27 |
+
```
|
28 |
+
|
29 |
+
## Adding Logo Image / Logomark Icon
|
30 |
+
|
31 |
+
> Prepare your logo image
|
32 |
+
>
|
33 |
+
> - Create or prepare your logo image file (recommended formats: PNG or SVG)
|
34 |
+
> - For best results, use an image with a transparent background
|
35 |
+
> - Recommended dimensions: height of 50px to 70px
|
36 |
+
> - You can also add dark mode version of your logo
|
37 |
+
|
38 |
+
Configure the logo in your site configuration:
|
39 |
+
|
40 |
+
```toml
|
41 |
+
[params]
|
42 |
+
logoMark = 'https://example.com/logoMark.svg'
|
43 |
+
logoMarkDark = 'https://example.com/logoMarkDark.svg' #optional
|
44 |
+
```
|
45 |
+
|
46 |
+
## Using Logo Type Preset
|
47 |
+
|
48 |
+
If you prefer not to use an image logo, you can enable the built-in text-based logo by adding this setting:
|
49 |
+
|
50 |
+
```toml
|
51 |
+
[params]
|
52 |
+
logoType = true
|
53 |
+
```
|
54 |
+
|
55 |
+
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.
|
exampleSite/content/en/post/configure-main-footer.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
---
|
26 |
+
```
|
27 |
+
|
28 |
+
You can then add your footer content below the front matter using markdown.
|
29 |
+
Multiple footer sections can be created using different markdown files.
|
30 |
+
|
31 |
+
## Configure Footer Menu Items
|
32 |
+
|
33 |
+
Footer menu items can be configured in your site's config.toml file. Here's how to add menu items:
|
34 |
+
|
35 |
+
```toml
|
36 |
+
[[menu.footer]]
|
37 |
+
identifier = "github" # Unique identifier for the menu item
|
38 |
+
name = "GitHub" # Display name/tooltip
|
39 |
+
url = "https://github.com/" # Link URL
|
40 |
+
pre = "github" # Icon
|
41 |
+
```
|
42 |
+
|
43 |
+
## Enable Coffee Stats
|
44 |
+
|
45 |
+
If you want to display coffee statistics in your footer, enable it in your config.toml:
|
46 |
+
|
47 |
+
```toml
|
48 |
+
[params]
|
49 |
+
coffeeStat = true # Set to false to disable
|
50 |
+
```
|
51 |
+
|
52 |
+
Every `coffee` parameter in your content frontmatter will be counted and displayed in the footer.
|
exampleSite/content/en/post/configure-menu.md
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
|
28 |
+
## Adding Icons
|
29 |
+
|
30 |
+
Add icons to your menu items with the `pre` parameter.
|
31 |
+
|
32 |
+
```toml
|
33 |
+
[[menu.main]]
|
34 |
+
identifier = "github"
|
35 |
+
name = "GitHub"
|
36 |
+
url = "https://github.com/"
|
37 |
+
pre = "github"
|
38 |
+
```
|
39 |
+
|
40 |
+
Here are all the supported list icons and their corresponding names that can be used when configuring your menu items:
|
41 |
+
|
42 |
+
<ul class="column pin" role="presentation">
|
43 |
+
<li><i class="icon email"></i> email </li>
|
44 |
+
<li><i class="icon rss"></i> rss </li>
|
45 |
+
<li><i class="icon behance"></i> behance </li>
|
46 |
+
<li><i class="icon bigcartel"></i> bigcartel </li>
|
47 |
+
<li><i class="icon bitbucket"></i> bitbucket </li>
|
48 |
+
<li><i class="icon blogger"></i> blogger </li>
|
49 |
+
<li><i class="icon bluesky"></i> bluesky </li>
|
50 |
+
<li><i class="icon bukalapak"></i> bukalapak </li>
|
51 |
+
<li><i class="icon buymeacoffee"></i> buymeacoffee </li>
|
52 |
+
<li><i class="icon clubhouse"></i> clubhouse </li>
|
53 |
+
<li><i class="icon codepen"></i> codepen </li>
|
54 |
+
<li><i class="icon creativefabrica"></i> creativefabrica </li>
|
55 |
+
<li><i class="icon dailymotion"></i> dailymotion </li>
|
56 |
+
<li><i class="icon dev"></i> dev </li>
|
57 |
+
<li><i class="icon deviantart"></i> deviantart </li>
|
58 |
+
<li><i class="icon digg"></i> digg </li>
|
59 |
+
<li><i class="icon dribbble"></i> dribbble </li>
|
60 |
+
<li><i class="icon ebay"></i> ebay </li>
|
61 |
+
<li><i class="icon etsy"></i> etsy </li>
|
62 |
+
<li><i class="icon facebook"></i> facebook </li>
|
63 |
+
<li><i class="icon figma"></i> figma </li>
|
64 |
+
<li><i class="icon flickr"></i> flickr </li>
|
65 |
+
<li><i class="icon flipkart"></i> flipkart </li>
|
66 |
+
<li><i class="icon github"></i> github </li>
|
67 |
+
<li><i class="icon githubsponsors"></i> githubsponsors </li>
|
68 |
+
<li><i class="icon gitlab"></i> gitlab </li>
|
69 |
+
<li><i class="icon gnusocial"></i> gnusocial </li>
|
70 |
+
<li><i class="icon goodreads"></i> goodreads </li>
|
71 |
+
<li><i class="icon googlescholar"></i> googlescholar </li>
|
72 |
+
<li><i class="icon gumroad"></i> gumroad </li>
|
73 |
+
<li><i class="icon hackernews"></i> hackernews </li>
|
74 |
+
<li><i class="icon hashnode"></i> hashnode </li>
|
75 |
+
<li><i class="icon icon--500px"></i> icon–500px </li>
|
76 |
+
<li><i class="icon instagram"></i> instagram </li>
|
77 |
+
<li><i class="icon jsfiddle"></i> jsfiddle </li>
|
78 |
+
<li><i class="icon karyakarsa"></i> karyakarsa </li>
|
79 |
+
<li><i class="icon keybase"></i> keybase </li>
|
80 |
+
<li><i class="icon keycdn"></i> keycdn </li>
|
81 |
+
<li><i class="icon kickstarter"></i> kickstarter </li>
|
82 |
+
<li><i class="icon kofi"></i> kofi </li>
|
83 |
+
<li><i class="icon lazada"></i> lazada </li>
|
84 |
+
<li><i class="icon liberapay"></i> liberapay </li>
|
85 |
+
<li><i class="icon linkedin"></i> linkedin </li>
|
86 |
+
<li><i class="icon mastodon"></i> mastodon </li>
|
87 |
+
<li><i class="icon medium"></i> medium </li>
|
88 |
+
<li><i class="icon olx"></i> olx </li>
|
89 |
+
<li><i class="icon opencollective"></i> opencollective </li>
|
90 |
+
<li><i class="icon openid"></i> openid </li>
|
91 |
+
<li><i class="icon orcid"></i> orcid </li>
|
92 |
+
<li><i class="icon patreon"></i> patreon </li>
|
93 |
+
<li><i class="icon paypal"></i> paypal </li>
|
94 |
+
<li><i class="icon peertube"></i> peertube </li>
|
95 |
+
<li><i class="icon pinterest"></i> pinterest </li>
|
96 |
+
<li><i class="icon pleroma"></i> pleroma </li>
|
97 |
+
<li><i class="icon publons"></i> publons </li>
|
98 |
+
<li><i class="icon quora"></i> quora </li>
|
99 |
+
<li><i class="icon reddit"></i> reddit </li>
|
100 |
+
<li><i class="icon researchgate"></i> researchgate </li>
|
101 |
+
<li><i class="icon saweria"></i> saweria </li>
|
102 |
+
<li><i class="icon sellfy"></i> sellfy </li>
|
103 |
+
<li><i class="icon shopee"></i> shopee </li>
|
104 |
+
<li><i class="icon shopify"></i> shopify </li>
|
105 |
+
<li><i class="icon signal"></i> signal </li>
|
106 |
+
<li><i class="icon snapchat"></i> snapchat </li>
|
107 |
+
<li><i class="icon soundcloud"></i> soundcloud </li>
|
108 |
+
<li><i class="icon stackexchange"></i> stackexchange </li>
|
109 |
+
<li><i class="icon stackoverflow"></i> stackoverflow </li>
|
110 |
+
<li><i class="icon stripe"></i> stripe </li>
|
111 |
+
<li><i class="icon substack"></i> substack </li>
|
112 |
+
<li><i class="icon telegram"></i> telegram </li>
|
113 |
+
<li><i class="icon threads"></i> threads </li>
|
114 |
+
<li><i class="icon tiktok"></i> tiktok </li>
|
115 |
+
<li><i class="icon tokopedia"></i> tokopedia </li>
|
116 |
+
<li><i class="icon tumblr"></i> tumblr </li>
|
117 |
+
<li><i class="icon twitch"></i> twitch </li>
|
118 |
+
<li><i class="icon twitter"></i> twitter </li>
|
119 |
+
<li><i class="icon vimeo"></i> vimeo </li>
|
120 |
+
<li><i class="icon vine"></i> vine </li>
|
121 |
+
<li><i class="icon vk"></i> vk </li>
|
122 |
+
<li><i class="icon wattpad"></i> wattpad </li>
|
123 |
+
<li><i class="icon weibo"></i> weibo </li>
|
124 |
+
<li><i class="icon whatsapp"></i> whatsapp </li>
|
125 |
+
<li><i class="icon wikipedia"></i> wikipedia </li>
|
126 |
+
<li><i class="icon wordpress"></i> wordpress </li>
|
127 |
+
<li><i class="icon write-dot-as"></i> write-dot-as </li>
|
128 |
+
<li><i class="icon x"></i> x </li>
|
129 |
+
<li><i class="icon xing"></i> xing </li>
|
130 |
+
<li><i class="icon xmpp"></i> xmpp </li>
|
131 |
+
<li><i class="icon youtube"></i> youtube </li>
|
132 |
+
</ul>
|
133 |
+
|
134 |
+
## Creating Nested Menus
|
135 |
+
|
136 |
+
Create dropdown menus by using the `parent` parameter:
|
137 |
+
|
138 |
+
```toml
|
139 |
+
[[menu.main]]
|
140 |
+
identifier = "about"
|
141 |
+
name = "About"
|
142 |
+
pageRef = "/about"
|
143 |
+
|
144 |
+
[[menu.main]]
|
145 |
+
identifier = "about-author"
|
146 |
+
name = "Author"
|
147 |
+
pageRef = "/about/author"
|
148 |
+
parent = "about"
|
149 |
+
```
|
150 |
+
|
151 |
+
## Language Support
|
152 |
+
|
153 |
+
There are four ways to add multi-language support to your menus:
|
154 |
+
|
155 |
+
### 1. Using `menu.[menuID].params.lang`
|
156 |
+
|
157 |
+
In `config.toml`:
|
158 |
+
|
159 |
+
```toml
|
160 |
+
[[menu.main]]
|
161 |
+
identifier = "about"
|
162 |
+
name = "About"
|
163 |
+
url = "/about/"
|
164 |
+
[menu.main.params]
|
165 |
+
lang = "en"
|
166 |
+
|
167 |
+
[[menu.id.main]]
|
168 |
+
identifier = "about"
|
169 |
+
name = "Tentang"
|
170 |
+
url = "/tentang/"
|
171 |
+
[menu.main.params]
|
172 |
+
lang = "id"
|
173 |
+
```
|
174 |
+
|
175 |
+
### 2. Using `menu.[lang].[menuID]`
|
176 |
+
|
177 |
+
In `config.toml`:
|
178 |
+
|
179 |
+
```toml
|
180 |
+
[[menu.en.main]]
|
181 |
+
identifier = "about"
|
182 |
+
name = "About"
|
183 |
+
url = "/about/"
|
184 |
+
|
185 |
+
[[menu.en.main]]
|
186 |
+
identifier = "about-author"
|
187 |
+
name = "Author"
|
188 |
+
pageRef = "/about/author"
|
189 |
+
parent = "about"
|
190 |
+
|
191 |
+
[[menu.id.main]]
|
192 |
+
identifier = "about"
|
193 |
+
name = "Tentang"
|
194 |
+
url = "/tentang/"
|
195 |
+
|
196 |
+
[[menu.id.main]]
|
197 |
+
identifier = "about-author"
|
198 |
+
name = "Tentang Penyusun"
|
199 |
+
pageRef = "/tentang/penyusun"
|
200 |
+
parent = "about"
|
201 |
+
```
|
202 |
+
|
203 |
+
### 3. Using Separate Menu Files
|
204 |
+
|
205 |
+
In `menus.en.toml`:
|
206 |
+
|
207 |
+
```toml
|
208 |
+
[[main]]
|
209 |
+
identifier = "about"
|
210 |
+
name = "About"
|
211 |
+
url = "/about/"
|
212 |
+
|
213 |
+
[[main]]
|
214 |
+
identifier = "about-author"
|
215 |
+
name = "Author"
|
216 |
+
pageRef = "/about/author"
|
217 |
+
parent = "about"
|
218 |
+
```
|
219 |
+
|
220 |
+
In `menus.id.toml`:
|
221 |
+
|
222 |
+
```toml
|
223 |
+
[[main]]
|
224 |
+
identifier = "about"
|
225 |
+
name = "Tentang"
|
226 |
+
url = "/tentang/"
|
227 |
+
|
228 |
+
[[menu.id.main]]
|
229 |
+
identifier = "about-author"
|
230 |
+
name = "Tentang Penyusun"
|
231 |
+
pageRef = "/tentang/penyusun"
|
232 |
+
parent = "about"
|
233 |
+
```
|
234 |
+
|
235 |
+
### 4. Using Front Matter in Markdown Files
|
236 |
+
|
237 |
+
in `index[.lang].md` `_index[.lang].md` or `filename[.lang].md`
|
238 |
+
|
239 |
+
```toml
|
240 |
+
---
|
241 |
+
title: "About Author"
|
242 |
+
menus:
|
243 |
+
main:
|
244 |
+
indetifier: about-author
|
245 |
+
parent: about
|
246 |
+
---
|
247 |
+
```
|
exampleSite/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 |
+
```
|
exampleSite/content/en/post/configure-slides.md
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
---
|
25 |
+
```
|
26 |
+
|
27 |
+
## Dedicated Shortcode for Slide Content
|
28 |
+
|
29 |
+
### External RSS feeds
|
30 |
+
|
31 |
+
The slides section can integrate content from external sources using the RSS shortcode.
|
32 |
+
|
33 |
+
```yaml
|
34 |
+
---
|
35 |
+
type: slide
|
36 |
+
title: "My post on example.com"
|
37 |
+
---
|
38 |
+
|
39 |
+
{{</* rss "https://example.com/feed.xml" */>}}
|
40 |
+
```
|
41 |
+
|
42 |
+
### Gallery with Masonry layout
|
43 |
+
|
44 |
+
For a Pinterest-style layout, you can implement the pin shortcode as follows:
|
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 |
+
```
|
exampleSite/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 |
+
toot: "https://infosec.exchange/@foxx/113979609651534969"
|
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 |
+

|
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.
|
exampleSite/content/en/rss.md
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
type: 'slide'
|
3 |
+
title: 'Hugo Release News'
|
4 |
+
---
|
5 |
+
|
6 |
+
This is a slide with RSS feed.
|
7 |
+
|
8 |
+
{{< rss url="https://gohugo.io/news/index.xml" >}}
|
exampleSite/content/en/slide.md
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
---
|
7 |
+
|
8 |
+
This demonstrates an example of three slide item. The navigation will change when there are three or more slides.
|
9 |
+
|
10 |
+
This is slide layout with cover image in frontmatter.
|
exampleSite/content/id/pos/_index.md
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: "Pos"
|
3 |
+
translationKey: post
|
4 |
+
---
|
exampleSite/content/id/pos/mengatur-diskusi.md
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
Anda dapat mengintergasikan diskusi dari postingan Fediverse anda dengan artikel. Untuk mengaktifkan fitur ini, tambahkan bagian `fediverse` ke front matter Anda dengan parameter `host`, `user`, dan `post` yang diperlukan:
|
13 |
+
|
14 |
+
```yaml
|
15 |
+
---
|
16 |
+
title: "Contoh"
|
17 |
+
type: "post"
|
18 |
+
fediverse:
|
19 |
+
host: fediverse.instance
|
20 |
+
user: user-name
|
21 |
+
post: 123456789012345678
|
22 |
+
---
|
23 |
+
```
|
24 |
+
|
25 |
+
Jika Anda adalah penulis tunggal, Anda dapat mengatur parameter `host` dan `user` secara global di file `config.toml`:
|
26 |
+
|
27 |
+
```toml
|
28 |
+
[params]
|
29 |
+
[params.fediverse]
|
30 |
+
host = "example.com"
|
31 |
+
user = "username"
|
32 |
+
```
|
33 |
+
|
34 |
+
Anda mungkin perlu melihat pratinjau permalink artikel sebelum membagikannya di jaringan Fediverse, atau melakukan CI/CD dua kali.
|
exampleSite/content/id/pos/mengatur-entri-terms.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
categories: ['authoring']
|
11 |
+
---
|
12 |
+
|
13 |
+
Anda dapat mengubah cover untuk setiap entry terms dengan menambahkan parameter `cover` di `_index.md` di bawah `[bahasa]\[taksonomi]\[terms]\`.
|
14 |
+
Sebagai contoh, untuk mengatur cover dari term `kongigurasi` di categories, tambahkan parameter di `content\id\categories\konfigurasi\_index.md`.
|
15 |
+
|
16 |
+
```yaml
|
17 |
+
---
|
18 |
+
title: "Konfigurasi"
|
19 |
+
description: "Deskripsi konfigurasi, ini bisa berguna untuk metadata HTML"
|
20 |
+
cover: "https://example.com/cover.png"
|
21 |
+
translationKey: konfigurasi
|
22 |
+
---
|
23 |
+
|
24 |
+
Jika ada teks yang ditulis di sini, teks akan ditampilkan sebagai bagian hero.
|
25 |
+
```
|
26 |
+
|
27 |
+
Untuk menghubungkan entry terms dalam bahasa lain, Anda dapat menambahkan parameter `translationKey`.
|
28 |
+
Sebagai contoh, jika Anda ingin menghubungkan entry terms dalam bahasa Indonesia, tambahkan parameter di `content\id\categories\konfigurasi\_index.md`.
|
29 |
+
|
30 |
+
```yaml
|
31 |
+
---
|
32 |
+
title: "Configuration"
|
33 |
+
description: "Configuration description, this might be useful for HTML metadata"
|
34 |
+
cover: "https://example.com/cover.png"
|
35 |
+
translationKey: konfigurasi
|
36 |
+
---
|
37 |
+
|
38 |
+
Jika ada teks yang ditulis di sini, teks akan ditampilkan sebagai bagian hero.
|
39 |
+
```
|
40 |
+
|
41 |
+
Dengan cara yang sama, Anda dapat mengatur cover untuk setiap entry terms untuk taksonomi `series` dan `author`.
|
42 |
+
Setelah membuat perubahan ini, bangun ulang situs Anda untuk melihat pembaruan cover dan terjemahan di breadcrumbs.
|
43 |
+
Cover akan menggantikan gambar flowlines pada daftar taksonomi.
|
exampleSite/content/id/pos/mengatur-footer-situs.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
|
17 |
+
---
|
18 |
+
type: footer
|
19 |
+
title: "Judul Footer Utama Anda"
|
20 |
+
weight: 1
|
21 |
+
---
|
22 |
+
|
23 |
+
|
24 |
+
Anda kemudian dapat menambahkan konten footer di bawah front matter menggunakan markdown.
|
25 |
+
Beberapa bagian footer dapat dibuat menggunakan file markdown yang berbeda.
|
26 |
+
|
27 |
+
## Mengatur Item Menu Footer
|
28 |
+
|
29 |
+
Item menu footer dapat dikonfigurasi di file config.toml situs Anda. Berikut cara menambahkan item menu:
|
30 |
+
|
31 |
+
```toml
|
32 |
+
[[menu.footer]]
|
33 |
+
identifier = "github" # Pengenal unik untuk item menu
|
34 |
+
name = "GitHub" # Nama tampilan/tooltip
|
35 |
+
url = "https://github.com/" # URL tautan
|
36 |
+
pre = "github" # Ikon
|
37 |
+
```
|
38 |
+
|
39 |
+
## Mengaktifkan Statistik Kopi
|
40 |
+
|
41 |
+
Jika Anda ingin menampilkan statistik kopi di footer Anda, aktifkan di config.toml:
|
42 |
+
|
43 |
+
```toml
|
44 |
+
[params]
|
45 |
+
coffeeStat = true # Atur ke false untuk menonaktifkan
|
46 |
+
```
|
47 |
+
|
48 |
+
Setiap parameter `coffee` di frontmatter konten Anda akan dihitung dan ditampilkan di footer.
|
exampleSite/content/id/pos/mengatur-logo-dan-aksen-warna.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-03
|
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 |
+
--ac-light: #36b;
|
22 |
+
--ac-dark: #fa1;
|
23 |
+
}
|
24 |
+
```
|
25 |
+
|
26 |
+
## Menambahkan Gambar Logo / Ikon LogoMark
|
27 |
+
|
28 |
+
> Siapkan gambar logo Anda
|
29 |
+
>
|
30 |
+
> - Buat atau siapkan file gambar logo Anda (format yang disarankan: PNG atau SVG)
|
31 |
+
> - Untuk hasil terbaik, gunakan gambar dengan latar belakang transparan
|
32 |
+
> - Dimensi yang disarankan: tinggi 50px hingga 70px
|
33 |
+
> - Anda juga dapat menambahkan versi mode gelap dari logo Anda
|
34 |
+
|
35 |
+
Atur logo(mark) di konfigurasi situs Anda:
|
36 |
+
|
37 |
+
```toml
|
38 |
+
[params]
|
39 |
+
logoMark = 'https://example.com/logoMark.svg'
|
40 |
+
logoMarkDark = 'https://example.com/logoMarkDark.svg' #opsional
|
41 |
+
```
|
42 |
+
|
43 |
+
## Menggunakan Preset Logo Type
|
44 |
+
|
45 |
+
Jika Anda lebih suka tidak menggunakan logo gambar, Anda dapat mengaktifkan logo berbasis teks bawaan dengan menambahkan pengaturan ini:
|
46 |
+
|
47 |
+
```toml
|
48 |
+
[params]
|
49 |
+
logoType = true
|
50 |
+
```
|
51 |
+
|
52 |
+
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.
|
exampleSite/content/id/pos/mengatur-menu.md
ADDED
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 empat cara untuk menambahkan dukungan multi-bahasa ke menu Anda:
|
151 |
+
|
152 |
+
### 1. Menggunakan `menu.[menuID].params.lang`
|
153 |
+
|
154 |
+
Di `config.toml`:
|
155 |
+
|
156 |
+
```toml
|
157 |
+
[[menu.main]]
|
158 |
+
identifier = "about"
|
159 |
+
name = "About"
|
160 |
+
url = "/about/"
|
161 |
+
[menu.main.params]
|
162 |
+
lang = "en"
|
163 |
+
|
164 |
+
[[menu.id.main]]
|
165 |
+
identifier = "about"
|
166 |
+
name = "Tentang"
|
167 |
+
url = "/tentang/"
|
168 |
+
[menu.main.params]
|
169 |
+
lang = "id"
|
170 |
+
```
|
171 |
+
|
172 |
+
### 2. Menggunakan `menu.[lang].[menuID]`
|
173 |
+
|
174 |
+
Di `config.toml`:
|
175 |
+
|
176 |
+
```toml
|
177 |
+
[[menu.en.main]]
|
178 |
+
identifier = "about"
|
179 |
+
name = "About"
|
180 |
+
url = "/about/"
|
181 |
+
|
182 |
+
[[menu.en.main]]
|
183 |
+
identifier = "about-author"
|
184 |
+
name = "Author"
|
185 |
+
pageRef = "/about/author"
|
186 |
+
parent = "about"
|
187 |
+
|
188 |
+
[[menu.id.main]]
|
189 |
+
identifier = "about"
|
190 |
+
name = "Tentang"
|
191 |
+
url = "/tentang/"
|
192 |
+
|
193 |
+
[[menu.id.main]]
|
194 |
+
identifier = "about-author"
|
195 |
+
name = "Tentang Penyusun"
|
196 |
+
pageRef = "/tentang/penyusun"
|
197 |
+
parent = "about"
|
198 |
+
```
|
199 |
+
|
200 |
+
### 3. Menggunakan File Menu Terpisah
|
201 |
+
|
202 |
+
Di `menus.en.toml`:
|
203 |
+
|
204 |
+
```toml
|
205 |
+
[[main]]
|
206 |
+
identifier = "about"
|
207 |
+
name = "About"
|
208 |
+
url = "/about/"
|
209 |
+
|
210 |
+
[[main]]
|
211 |
+
identifier = "about-author"
|
212 |
+
name = "Author"
|
213 |
+
pageRef = "/about/author"
|
214 |
+
parent = "about"
|
215 |
+
```
|
216 |
+
|
217 |
+
Di `menus.id.toml`:
|
218 |
+
|
219 |
+
```toml
|
220 |
+
[[main]]
|
221 |
+
identifier = "about"
|
222 |
+
name = "Tentang"
|
223 |
+
url = "/tentang/"
|
224 |
+
|
225 |
+
[[menu.id.main]]
|
226 |
+
identifier = "about-author"
|
227 |
+
name = "Tentang Penyusun"
|
228 |
+
pageRef = "/tentang/penyusun"
|
229 |
+
parent = "about"
|
230 |
+
```
|
231 |
+
|
232 |
+
### 4. Menggunakan Front Matter di File Markdown
|
233 |
+
|
234 |
+
di `index[.lang].md` `_index[.lang].md` atau `filename[.lang].md`
|
235 |
+
|
236 |
+
```toml
|
237 |
+
---
|
238 |
+
title: "Tentang Penulis"
|
239 |
+
menus:
|
240 |
+
main:
|
241 |
+
indetifier: about-author
|
242 |
+
parent: about
|
243 |
+
---
|
244 |
+
```
|
exampleSite/content/id/pos/mengatur-pagefind.md
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
## Mengatur pencarian di konfigurasi Hugo
|
12 |
+
|
13 |
+
Untuk mengaktifkan fungsi pencarian, Anda perlu memodifikasi file `config.toml`. Pertama, aktifkan tombol pencarian menggunakan `.params.search`. Kemudian aktifkan `.params.pagefind`, jika Anda melewatkan langkah ini, tema akan menggunakan DuckDuckGo sebagai default.
|
14 |
+
|
15 |
+
```toml
|
16 |
+
[params]
|
17 |
+
search = true
|
18 |
+
pagefind = true
|
19 |
+
```
|
20 |
+
|
21 |
+
## Mengatur frontmatter pos
|
22 |
+
|
23 |
+
Untuk membuat pos terindeks, Anda perlu mengatur `type` menjadi `post` pada frontmatter setiap pos.
|
24 |
+
|
25 |
+
```yaml
|
26 |
+
---
|
27 |
+
title: "Pos"
|
28 |
+
type: post
|
29 |
+
---
|
30 |
+
```
|
31 |
+
|
32 |
+
## Mengatur pipeline CI/CD
|
33 |
+
|
34 |
+
Untuk membuat indeks pencarian, tambahkan perintah ini ke langkah build pipeline CI/CD Anda:
|
35 |
+
|
36 |
+
```yaml
|
37 |
+
- name: Index pagefind
|
38 |
+
run: npx pagefind --source "public"
|
39 |
+
```
|
exampleSite/content/id/pos/mengatur-riwayat-redaksi.md
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
categories = ["authoring"]
|
11 |
+
history = [
|
12 |
+
{date = "2025-02-01", author = "Nama Penulis", reviewer = "Nama Pengulas", note = "Contoh"},
|
13 |
+
{date = "2025-02-02", author = "Nama Penulis", editor = "Nama Editor", note = "Addendum (contoh)"},
|
14 |
+
{date = "2025-02-03", note = "Errata (contoh)"},
|
15 |
+
]
|
16 |
+
+++
|
17 |
+
|
18 |
+
Fungsi riwayat redaksi memungkinkan Anda untuk melacak dan mengkomunikasikan modifikasi konten kepada pembaca.
|
19 |
+
Di dalam front matter artikel, Anda dapat menentukan detail seperti `editor`, `reviewer`, dan menyertakan catatan penjelasan (`note`) tentang perubahan yang dilakukan.
|
20 |
+
Fitur ini memerlukan konfigurasi manual di bagian front matter artikel.
|
21 |
+
|
22 |
+
```toml
|
23 |
+
+++
|
24 |
+
title = "Mengatur Riwayat Redaksi"
|
25 |
+
history = [
|
26 |
+
{date = "2025-02-01", author = "Nama Penulis", reviewer = "Nama Pengulas", note = "Contoh"},
|
27 |
+
{date = "2025-02-02", author = "Nama Penulis", editor = "Nama Editor", note = "Addendum (contoh)"},
|
28 |
+
{date = "2025-02-03", note = "Errata (contoh)"},
|
29 |
+
]
|
30 |
+
+++
|
31 |
+
```
|
32 |
+
|
33 |
+
Garis waktu kronologis yang menampilkan informasi ini akan muncul di bawah bagian informasi artikel, seperti yang ditunjukkan dalam contoh artikel ini.
|
exampleSite/content/id/pos/mengatur-slide.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
---
|
22 |
+
```
|
23 |
+
|
24 |
+
## Shortcode Khusus untuk Konten Slide
|
25 |
+
|
26 |
+
### Feed RSS eksternal
|
27 |
+
|
28 |
+
Bagian slide dapat mengintegrasikan konten dari sumber eksternal menggunakan shortcode RSS.
|
29 |
+
|
30 |
+
```yaml
|
31 |
+
---
|
32 |
+
type: slide
|
33 |
+
title: "Postingan saya di example.com"
|
34 |
+
---
|
35 |
+
|
36 |
+
{{</* rss "https://example.com/feed.xml" */>}}
|
37 |
+
```
|
38 |
+
|
39 |
+
### Galeri dengan tata letak Masonry
|
40 |
+
|
41 |
+
Untuk gallery dengan tata letak gaya Pinterest, Anda dapat mengimplementasikan shortcode pin seperti berikut:
|
42 |
+
|
43 |
+
```toml
|
44 |
+
{{</* pin "begin" */>}}
|
45 |
+
{{</* pin img="https://example.com/item1.jpg" url="https://example.com/item1" label="Item 1" */>}}
|
46 |
+
{{</* pin img="https://example.com/item2.jpg" url="https://example.com/item2" label="Item 2" */>}}
|
47 |
+
{{</* pin img="https://example.com/item3.jpg" url="https://example.com/item3" label="Item 3" */>}}
|
48 |
+
{{</* pin img="https://example.com/item4.jpg" url="https://example.com/item4" label="Item 4" */>}}
|
49 |
+
{{</* pin img="https://example.com/item5.jpg" url="https://example.com/item5" label="Item 5" */>}}
|
50 |
+
{{</* pin img="https://example.com/item6.jpg" url="https://example.com/item6" label="Item 6" */>}}
|
51 |
+
{{</* pin "end" */>}}
|
52 |
+
```
|
exampleSite/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 |
+

|
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.
|
i18n/en.toml
ADDED
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Please feel free to contribute to additional translation.
|
2 |
+
# Copy this file and rename it to your language code.
|
3 |
+
# Then translate the values.
|
4 |
+
[404PageNotFound]
|
5 |
+
other = "Page Not Found"
|
6 |
+
[404Alert]
|
7 |
+
other = "This page intentionally redirect"
|
8 |
+
[404ReturnHome]
|
9 |
+
other = "back to homepage"
|
10 |
+
[accessibility]
|
11 |
+
other = "Accessibility"
|
12 |
+
[accessTime]
|
13 |
+
other = "This page is accessed on"
|
14 |
+
[allPosts]
|
15 |
+
other = "All posts"
|
16 |
+
[appearance]
|
17 |
+
other = "Appearance"
|
18 |
+
[articles]
|
19 |
+
one = "Article"
|
20 |
+
other = "Articles"
|
21 |
+
[author]
|
22 |
+
one = "Author"
|
23 |
+
other = "Authors"
|
24 |
+
[back]
|
25 |
+
other = "Go Back"
|
26 |
+
[baselineStretch]
|
27 |
+
other = "Baseline Stretch"
|
28 |
+
[bionRead]
|
29 |
+
other = "BionRead Mode"
|
30 |
+
[breadcrumb]
|
31 |
+
other = "Breadcrumb"
|
32 |
+
[buildTime]
|
33 |
+
other = "This page is built on"
|
34 |
+
[bypass]
|
35 |
+
other = "Bypass Navigation"
|
36 |
+
[categories]
|
37 |
+
one = "Category"
|
38 |
+
other = "Categories"
|
39 |
+
[close]
|
40 |
+
other = "Close"
|
41 |
+
[coffeeStat]
|
42 |
+
other = "Coffee Stat"
|
43 |
+
[coffeeCount]
|
44 |
+
other = "Making this website has taken at least "
|
45 |
+
[coffeeCountPost]
|
46 |
+
other = ", if not more."
|
47 |
+
[colophon]
|
48 |
+
other = "Colophon"
|
49 |
+
[colorPalette]
|
50 |
+
other = "Color Palette"
|
51 |
+
[colorSettings]
|
52 |
+
other = "Color Settings"
|
53 |
+
[comments]
|
54 |
+
other = "Discussion"
|
55 |
+
[contrast]
|
56 |
+
other = "Contrast"
|
57 |
+
[contrib]
|
58 |
+
other = "Contribute"
|
59 |
+
[contribAskReader]
|
60 |
+
other = "Enjoy this article?"
|
61 |
+
[contribAskReaderResponse]
|
62 |
+
other = "Awesome!"
|
63 |
+
[contribAskReaderToContribute]
|
64 |
+
other = "You can also support me by making the following contributions:"
|
65 |
+
[contribCoffeeStat]
|
66 |
+
other = "Did you know that"
|
67 |
+
[contribCoffeeStatPost]
|
68 |
+
other = "helped me write this article?"
|
69 |
+
[copy]
|
70 |
+
other = "Copy Url"
|
71 |
+
[ctaComments]
|
72 |
+
other = "Join Discussion"
|
73 |
+
[cup]
|
74 |
+
one = "Cup of coffee"
|
75 |
+
other = "Cups of coffee"
|
76 |
+
[dark]
|
77 |
+
other = "Dark"
|
78 |
+
[darkMode]
|
79 |
+
other = "Dark Mode"
|
80 |
+
[date_long]
|
81 |
+
other = "January 2, 2006"
|
82 |
+
[defaultColor]
|
83 |
+
other = "Default"
|
84 |
+
[defaultContrast]
|
85 |
+
other = "Default"
|
86 |
+
[deuteranopia]
|
87 |
+
other = "Deuteranopia"
|
88 |
+
[discover]
|
89 |
+
other = "Discover Topics"
|
90 |
+
[editedBy]
|
91 |
+
other = "Edited By"
|
92 |
+
[email]
|
93 |
+
other = "Email"
|
94 |
+
[featuredImg]
|
95 |
+
other = "Featured image"
|
96 |
+
[fediverseIsLoading]
|
97 |
+
other = "Loading comments on Fediverse"
|
98 |
+
[FediverseReplies]
|
99 |
+
one = "Reply"
|
100 |
+
other = "Replies"
|
101 |
+
[FediverseReblogs]
|
102 |
+
one = "Reblog"
|
103 |
+
other = "Reblogs"
|
104 |
+
[FediverseFavourites]
|
105 |
+
one = "Favourites"
|
106 |
+
other = "Favourites"
|
107 |
+
[followRSS]
|
108 |
+
other = "Follow with RSS"
|
109 |
+
[fontSize]
|
110 |
+
other = "Font Size"
|
111 |
+
[home]
|
112 |
+
other = "home"
|
113 |
+
[in]
|
114 |
+
other = "in"
|
115 |
+
[inNewTab]
|
116 |
+
other = "in new tab"
|
117 |
+
[keepInTouch]
|
118 |
+
other = "Let's keep in touch!"
|
119 |
+
[lessContrast]
|
120 |
+
other = "Low"
|
121 |
+
[light]
|
122 |
+
other = "Light"
|
123 |
+
[main]
|
124 |
+
other = "Main Menu"
|
125 |
+
[marginpar]
|
126 |
+
other = "Additional Notes"
|
127 |
+
[menuControls]
|
128 |
+
other = "Accessibility Menu Controls"
|
129 |
+
[modified]
|
130 |
+
other = "Modified"
|
131 |
+
[monochrome]
|
132 |
+
other = "Monochrome"
|
133 |
+
[more]
|
134 |
+
other = "More Menu"
|
135 |
+
[moreContrast]
|
136 |
+
other = "High"
|
137 |
+
[next]
|
138 |
+
other = "Next"
|
139 |
+
[nav]
|
140 |
+
other = "Navigation"
|
141 |
+
[noArticle]
|
142 |
+
other = "No articles to show."
|
143 |
+
[noArticlePost]
|
144 |
+
other = "It appears that our author ran out of coffee... Keep calm, we'll brew one shortly!"
|
145 |
+
[noComment]
|
146 |
+
other = "No comments to display."
|
147 |
+
[noScript]
|
148 |
+
other = "Uh-oh... Javascript is disabled!"
|
149 |
+
[noLocalStorage]
|
150 |
+
other = "LocalStorage is not available in your browser. Settings won't be saved."
|
151 |
+
[note]
|
152 |
+
other = "Note"
|
153 |
+
[on]
|
154 |
+
other = "On"
|
155 |
+
[OpenDyslexic]
|
156 |
+
other = "Use OpenDyslexic Font"
|
157 |
+
[pages]
|
158 |
+
one = "Page"
|
159 |
+
other = "Pages"
|
160 |
+
[pagination]
|
161 |
+
other = "Pagination"
|
162 |
+
[posts]
|
163 |
+
one = "Post"
|
164 |
+
other = "Posts"
|
165 |
+
[postsBy]
|
166 |
+
other = "Post by"
|
167 |
+
[postsOn]
|
168 |
+
other = "Posts on"
|
169 |
+
[prev]
|
170 |
+
other = "Previous"
|
171 |
+
[print]
|
172 |
+
other = "Print"
|
173 |
+
[protanopia]
|
174 |
+
other = "Protanopia"
|
175 |
+
[published]
|
176 |
+
other = "Published"
|
177 |
+
[readingTime]
|
178 |
+
other = "Min read"
|
179 |
+
[recent]
|
180 |
+
other = "Recent Posts"
|
181 |
+
[redactionHistory]
|
182 |
+
other = "Redaction History"
|
183 |
+
[redactionNotes]
|
184 |
+
other = "Some information might changes over time, we keep redaction up to date."
|
185 |
+
[related]
|
186 |
+
other = "You might also like"
|
187 |
+
[reset]
|
188 |
+
other = "Reset"
|
189 |
+
[reviewedBy]
|
190 |
+
other = "Reviewed By"
|
191 |
+
[save]
|
192 |
+
other = "Save"
|
193 |
+
[search]
|
194 |
+
other = "Search"
|
195 |
+
[seeAll]
|
196 |
+
other = "See all"
|
197 |
+
[seeMore]
|
198 |
+
other = "Explore more topics"
|
199 |
+
[section]
|
200 |
+
other = "Section"
|
201 |
+
[selectLang]
|
202 |
+
other = "Language Selections"
|
203 |
+
[series]
|
204 |
+
other = "Series"
|
205 |
+
[share]
|
206 |
+
other = "Share"
|
207 |
+
[shareOn]
|
208 |
+
other = "Share on"
|
209 |
+
[switchLangTo]
|
210 |
+
other = "Switch Language to"
|
211 |
+
[TableOfContents]
|
212 |
+
other = "Table of Contents"
|
213 |
+
[tags]
|
214 |
+
one = "Tag"
|
215 |
+
other = "Tags"
|
216 |
+
[toContent]
|
217 |
+
other = "Skip to Main Content"
|
218 |
+
[toTop]
|
219 |
+
other = "To Content Top"
|
220 |
+
[top-nav]
|
221 |
+
other = "Top Nav"
|
222 |
+
[tritanopia]
|
223 |
+
other = "Tritanopia"
|
i18n/id.toml
ADDED
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[404PageNotFound]
|
2 |
+
other = "Halaman Tidak Ditemukan"
|
3 |
+
[404Alert]
|
4 |
+
other = "Halaman ini sengaja dialihkan"
|
5 |
+
[404ReturnHome]
|
6 |
+
other = "kembali ke beranda"
|
7 |
+
[accessibility]
|
8 |
+
other = "Aksesibilitas"
|
9 |
+
[accessTime]
|
10 |
+
other = "Halaman ini diakses pada"
|
11 |
+
[allPosts]
|
12 |
+
other = "Semua artikel"
|
13 |
+
[appearance]
|
14 |
+
other = "Tampilan"
|
15 |
+
[articles]
|
16 |
+
one = "Artikel"
|
17 |
+
other = "Artikel"
|
18 |
+
[author]
|
19 |
+
one = "Penulis"
|
20 |
+
other = "Penulis"
|
21 |
+
[back]
|
22 |
+
other = "Kembali"
|
23 |
+
[baselineStretch]
|
24 |
+
other = "Jarak Baris"
|
25 |
+
[bionRead]
|
26 |
+
other = "Mode BionRead"
|
27 |
+
[breadcrumb]
|
28 |
+
other = "Jejak Navigasi"
|
29 |
+
[buildTime]
|
30 |
+
other = "Halaman ini dibuat pada"
|
31 |
+
[bypass]
|
32 |
+
other = "Lewati Navigasi"
|
33 |
+
[categories]
|
34 |
+
one = "Kategori"
|
35 |
+
other = "Kategori"
|
36 |
+
[close]
|
37 |
+
other = "Tutup"
|
38 |
+
[coffeeStat]
|
39 |
+
other = "Statistik Kopi"
|
40 |
+
[coffeeCount]
|
41 |
+
other = "Membuat situs web ini telah menghabiskan setidaknya "
|
42 |
+
[coffeeCountPost]
|
43 |
+
other = ", jika tidak lebih."
|
44 |
+
[colophon]
|
45 |
+
other = "Kolofon"
|
46 |
+
[colorPalette]
|
47 |
+
other = "Palet Warna"
|
48 |
+
[colorSettings]
|
49 |
+
other = "Pengaturan Warna"
|
50 |
+
[comments]
|
51 |
+
other = "Diskusi"
|
52 |
+
[contrib]
|
53 |
+
other = "Kontribusi"
|
54 |
+
[contrast]
|
55 |
+
other = "Kontras"
|
56 |
+
[contribAskReader]
|
57 |
+
other = "Suka dengan artikel ini?"
|
58 |
+
[contribAskReaderResponse]
|
59 |
+
other = "Terima kasih!"
|
60 |
+
[contribAskReaderToContribute]
|
61 |
+
other = "Anda juga dapat mendukung saya dengan memberikan kontribusi berikut:"
|
62 |
+
[contribCoffeeStat]
|
63 |
+
other = "Tahukah Anda bahwa"
|
64 |
+
[contribCoffeeStatPost]
|
65 |
+
other = "telah membantu saya menulis artikel ini?"
|
66 |
+
[copy]
|
67 |
+
other = "Salin Tautan"
|
68 |
+
[ctaComments]
|
69 |
+
other = "Bergabung dalam Diskusi"
|
70 |
+
[cup]
|
71 |
+
other = "Cangkir kopi"
|
72 |
+
[dark]
|
73 |
+
other = "Gelap"
|
74 |
+
[darkMode]
|
75 |
+
other = "Mode Gelap"
|
76 |
+
[date_long]
|
77 |
+
other = "2 January 2006"
|
78 |
+
[defaultColor]
|
79 |
+
other = "Bawaan"
|
80 |
+
[defaultContrast]
|
81 |
+
other = "Bawaan"
|
82 |
+
[deuteranopia]
|
83 |
+
other = "Deuteranopia"
|
84 |
+
[discover]
|
85 |
+
other = "Jelajahi Topik"
|
86 |
+
[editedBy]
|
87 |
+
other = "Disunting Oleh"
|
88 |
+
[email]
|
89 |
+
other = "Surel"
|
90 |
+
[featuredImg]
|
91 |
+
other = "Gambar Unggulan"
|
92 |
+
[fediverseIsLoading]
|
93 |
+
other = "Memuat komentar di Fediverse"
|
94 |
+
[FediverseReplies]
|
95 |
+
other = "Balasan"
|
96 |
+
[FediverseReblogs]
|
97 |
+
other = "Reblog"
|
98 |
+
[FediverseFavourites]
|
99 |
+
other = "Favorit"
|
100 |
+
[followRSS]
|
101 |
+
other = "Ikuti dengan RSS"
|
102 |
+
[fontSize]
|
103 |
+
other = "Ukuran Font"
|
104 |
+
[home]
|
105 |
+
other = "Beranda"
|
106 |
+
[in]
|
107 |
+
other = "Dalam"
|
108 |
+
[inNewTab]
|
109 |
+
other = "Di tab baru"
|
110 |
+
[keepInTouch]
|
111 |
+
other = "Mari tetap terhubung!"
|
112 |
+
[lessContrast]
|
113 |
+
other = "Rendah"
|
114 |
+
[light]
|
115 |
+
other = "Terang"
|
116 |
+
[main]
|
117 |
+
other = "Menu Utama"
|
118 |
+
[marginpar]
|
119 |
+
other = "Catatan Tambahan"
|
120 |
+
[menuControls]
|
121 |
+
other = "Kontrol Menu Aksesibilitas"
|
122 |
+
[modified]
|
123 |
+
other = "Diubah"
|
124 |
+
[monochrome]
|
125 |
+
other = "Monokrom"
|
126 |
+
[more]
|
127 |
+
other = "Menu Lainnya"
|
128 |
+
[moreContrast]
|
129 |
+
other = "Tinggi"
|
130 |
+
[nav]
|
131 |
+
other = "Navigasi"
|
132 |
+
[next]
|
133 |
+
other = "Selanjutnya"
|
134 |
+
[noArticle]
|
135 |
+
other = "Tidak ada artikel untuk ditampilkan."
|
136 |
+
[noArticlePost]
|
137 |
+
other = "Sepertinya penulis kami kehabisan kopi... Tetap santai, kami akan membuatnya segera!"
|
138 |
+
[noComment]
|
139 |
+
other = "Tidak ada komentar untuk ditampilkan."
|
140 |
+
[noScript]
|
141 |
+
other = "Ups... Javascript dinonaktifkan!"
|
142 |
+
[noLocalStorage]
|
143 |
+
other = "LocalStorage tidak tersedia di browser Anda. Pengaturan tidak akan disimpan."
|
144 |
+
[note]
|
145 |
+
other = "Catatan"
|
146 |
+
[on]
|
147 |
+
other = "Pada"
|
148 |
+
[OpenDyslexic]
|
149 |
+
other = "Gunakan Font OpenDyslexic"
|
150 |
+
[pages]
|
151 |
+
one = "Halaman"
|
152 |
+
other = "Halaman"
|
153 |
+
[pagination]
|
154 |
+
other = "Paginasi"
|
155 |
+
[posts]
|
156 |
+
one = "Artikel"
|
157 |
+
other = "Artikel"
|
158 |
+
[postsBy]
|
159 |
+
other = "Artikel oleh"
|
160 |
+
[postsOn]
|
161 |
+
other = "Artikel pada"
|
162 |
+
[prev]
|
163 |
+
other = "Sebelumnya"
|
164 |
+
[print]
|
165 |
+
other = "Cetak"
|
166 |
+
[protanopia]
|
167 |
+
other = "Protanopia"
|
168 |
+
[published]
|
169 |
+
other = "Diterbitkan"
|
170 |
+
[readingTime]
|
171 |
+
other = "Menit untuk baca"
|
172 |
+
[recent]
|
173 |
+
other = "Artikel Terbaru"
|
174 |
+
[redactionHistory]
|
175 |
+
other = "Riwayat Redaksi"
|
176 |
+
[redactionNotes]
|
177 |
+
other = "Beberapa informasi mungkin berubah, kami menjaga redaksi tetap sejalan dengan perkembangan."
|
178 |
+
[related]
|
179 |
+
other = "Artikel Terkait"
|
180 |
+
[reset]
|
181 |
+
other = "Atur Ulang"
|
182 |
+
[reviewedBy]
|
183 |
+
other = "Ditinjau Oleh"
|
184 |
+
[save]
|
185 |
+
other = "Simpan"
|
186 |
+
[search]
|
187 |
+
other = "Cari"
|
188 |
+
[seeAll]
|
189 |
+
other = "Lihat semua"
|
190 |
+
[seeMore]
|
191 |
+
other = "Jelajahi"
|
192 |
+
[section]
|
193 |
+
other = "Bagian"
|
194 |
+
[selectLang]
|
195 |
+
other = "Pilihan Bahasa"
|
196 |
+
[series]
|
197 |
+
other = "Seri"
|
198 |
+
[share]
|
199 |
+
other = "Bagikan"
|
200 |
+
[shareOn]
|
201 |
+
other = "Bagikan di"
|
202 |
+
[switchLangTo]
|
203 |
+
other = "Ganti Bahasa ke"
|
204 |
+
[TableOfContents]
|
205 |
+
other = "Daftar Isi"
|
206 |
+
[tags]
|
207 |
+
other = "Tag"
|
208 |
+
[toContent]
|
209 |
+
other = "Langsung ke Konten Utama"
|
210 |
+
[toTop]
|
211 |
+
other = "Ke Atas Konten"
|
212 |
+
[top-nav]
|
213 |
+
other = "Navigasi Atas"
|
214 |
+
[tritanopia]
|
215 |
+
other = "Tritanopia"
|
images/screenshot.png
ADDED
![]() |
Git LFS Details
|
images/tn.png
ADDED
![]() |
theme.toml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name = "hugo-brewm"
|
2 |
+
license = "MIT"
|
3 |
+
licenselink = "https://github.com/foxihd/hugo-brewm/LICENSE"
|
4 |
+
description = "A fine-brewed Hugo theme made open"
|
5 |
+
homepage = "https://github.com/foxihd/hugo-brewm"
|
6 |
+
demosite = "https://foxihd.github.io/hugo-brewm"
|
7 |
+
tags = [
|
8 |
+
"archive",
|
9 |
+
"blog",
|
10 |
+
"dark",
|
11 |
+
"landing",
|
12 |
+
"light",
|
13 |
+
"minimal",
|
14 |
+
"multilingual",
|
15 |
+
"personal",
|
16 |
+
"responsive"
|
17 |
+
]
|
18 |
+
features = [
|
19 |
+
"accessibility",
|
20 |
+
"breadcrumbs",
|
21 |
+
"mastodon comments",
|
22 |
+
"search"
|
23 |
+
]
|
24 |
+
min_version = "0.135.0"
|
25 |
+
|
26 |
+
[author]
|
27 |
+
name = "Foxx"
|
28 |
+
homepage = "https://foxx.ink"
|