From 139d4164daa83bcef2d42fb0ab9c5dc1d0f61fab Mon Sep 17 00:00:00 2001 From: marmtshm <110552396+marmtshm@users.noreply.github.com> Date: Mon, 31 Oct 2022 17:40:51 +0700 Subject: [PATCH 1/6] Add id.yaml (Bahasa Indonesia) --- i18n/id.yaml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 i18n/id.yaml diff --git a/i18n/id.yaml b/i18n/id.yaml new file mode 100644 index 00000000..ed4e7820 --- /dev/null +++ b/i18n/id.yaml @@ -0,0 +1,61 @@ +article: + anchor_label: "Anchor" + date: "{{ .Date }}" + date_updated: "Diperbarui: {{ .Date }}" + draft: "Draft" + edit_title: "Edit konten" + reading_time: + one: "{{ .Count }} menit" + other: "{{ .Count }} menit" + reading_time_title: "Waktu membaca" + table_of_contents: "Daftar isi" + word_count: + one: "{{ .Count }} kata" + other: "{{ .Count }} kata" + views: + one: "{{ .Count }} dilihat" + other: "{{ .Count }} dilihat" + likes: + one: "{{ .Count }} disukai" + other: "{{ .Count }} disukai" + +author: + byline_title: "Penulis" + +code: + copy: "Salin" + copied: "Disalin" + +error: + 404_title: "Halaman tidak ditemukan :confused:" + 404_error: "Kesalahan 404" + 404_description: "Tampaknya halaman yang Anda minta tidak ada." + +footer: + dark_appearance: "Beralih ke tampilan gelap" + light_appearance: "Beralih ke tampilan terang" + powered_by: "Dipersembahkan oleh {{ .Hugo }} & {{ .Theme }}" + +list: + externalurl_title: "Tautan ke situs eksternal" + no_articles: "Belum ada artikel untuk dicantumkan di sini." + +nav: + scroll_to_top_title: "Gulir ke atas" + skip_to_main: "Lewati ke konten utama" + +search: + open_button_title: "Cari (/)" + close_button_title: "Tutup (Esc)" + input_placeholder: "Pencarian" + +sharing: + email: "Kirim lewat surel" + facebook: "Bagikan ke Facebook" + linkedin: "Bagikan ke LinkedIn" + pinterest: "Pin di Pinterest" + reddit: "Kirim ke Reddit" + twitter: "Tweet di Twitter" + +shortcode: + recent_articles: "Terbaru" From fd2b585a550ae5423527dea1e380fbbaa9529a6f Mon Sep 17 00:00:00 2001 From: marmtshm <110552396+marmtshm@users.noreply.github.com> Date: Mon, 31 Oct 2022 23:23:37 +0700 Subject: [PATCH 2/6] update docs --- exampleSite/content/docs/configuration/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 6de73a5a..0d912e65 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -74,7 +74,8 @@ The theme currently supports the following languages by default: | :romania: Romanian | `ro` | | :es: Spanish (Spain) | `es` | | :tr: Turkish | `tr` | -| 🇭🇷 Croatian | `hr` | +| 🇭🇷 Croatian | `hr` | +| :id: Indonesian | `id` | The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/nunocoracao/blowfish/pulls). From e10536e721583229e1580fcaccbf17e8656186b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 5 Nov 2022 11:36:43 +0000 Subject: [PATCH 3/6] corrected indonesia flag in docs --- exampleSite/content/docs/configuration/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 1ec46af6..c75acf0d 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -75,7 +75,7 @@ The theme currently supports the following languages by default: | :es: Spanish (Spain) | `es` | | :tr: Turkish | `tr` | | 🇭🇷 Croatian | `hr` | -| :id: Indonesian | `id` | +| 🇮🇩 Indonesian | `id` | The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/nunocoracao/blowfish/pulls). From 95351dec9ae5130139d83f35a4fc4f7da9ed11be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 5 Nov 2022 11:37:11 +0000 Subject: [PATCH 4/6] fixed identation --- .../content/docs/configuration/index.md | 226 +++++++++--------- 1 file changed, 113 insertions(+), 113 deletions(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index c75acf0d..08cb763f 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -30,17 +30,17 @@ The site configuration is managed through the `config/_default/config.toml` file Note that the variable names provided in this table use dot notation to simplify the TOML data structure (ie. `outputs.home` refers to `[outputs] home`). -|Name|Default|Description| -|---|---|---| -|`theme`|`"blowfish"`|When using Hugo Modules this config value should be removed. For all other installation types, this must be set to `blowfish` for the theme to function.| -|`baseURL`|_Not set_|The URL to the root of the website.| -|`defaultContentLanguage`|`"en"`|This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes.| -|`enableRobotsTXT`|`true`|When enabled, a `robots.txt` file will be created in the site root that allows search engines to crawl the entire site. If you prefer to provide your own pre-made `robots.txt`, set to `false` and place your file in the `static` directory. For complete control, you may provide a [custom layout]({{< ref "content-examples#custom-layouts" >}}) to generate this file.| -|`paginate`|`10`|The number of articles listed on each page of the article listing.| -|`summaryLength`|`0`|The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden.| -|`outputs.home`|`["HTML", "RSS", "JSON"]`|The output formats that are generated for the site. Blowfish requires HTML, RSS and JSON for all theme components to work correctly.| -|`permalinks`|_Not set_|Refer to the [Hugo docs](https://gohugo.io/content-management/urls/#permalinks) for permalink configuration.| -|`taxonomies`|_Not set_|Refer to the [Organising content]({{< ref "getting-started#organising-content" >}}) section for taxonomy configuration.| +| Name | Default | Description | +| ------------------------ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `theme` | `"blowfish"` | When using Hugo Modules this config value should be removed. For all other installation types, this must be set to `blowfish` for the theme to function. | +| `baseURL` | _Not set_ | The URL to the root of the website. | +| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. | +| `enableRobotsTXT` | `true` | When enabled, a `robots.txt` file will be created in the site root that allows search engines to crawl the entire site. If you prefer to provide your own pre-made `robots.txt`, set to `false` and place your file in the `static` directory. For complete control, you may provide a [custom layout]({{< ref "content-examples#custom-layouts" >}}) to generate this file. | +| `paginate` | `10` | The number of articles listed on each page of the article listing. | +| `summaryLength` | `0` | The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden. | +| `outputs.home` | `["HTML", "RSS", "JSON"]` | The output formats that are generated for the site. Blowfish requires HTML, RSS and JSON for all theme components to work correctly. | +| `permalinks` | _Not set_ | Refer to the [Hugo docs](https://gohugo.io/content-management/urls/#permalinks) for permalink configuration. | +| `taxonomies` | _Not set_ | Refer to the [Organising content]({{< ref "getting-started#organising-content" >}}) section for taxonomy configuration. | ## Thumbnails @@ -55,27 +55,27 @@ Blowfish is optimised for full multilingual websites and theme assets are transl The theme currently supports the following languages by default: -| Language | Code | -| -------------------------------------- | ------- | -| :gb: English | `en` | -| :bangladesh: Bengali | `bn` | -| :cn: Simplified Chinese (China) | `zh-cn` | -| :taiwan: Traditional Chinese (Taiwan) | `zh-tw` | -| :finland: Finnish | `fi` | -| :fr: French | `fr` | -| :de: German | `de` | -| :israel: Hebrew | `he` | -| :hungary: Hungarian | `hu` | -| :it: Italian | `it` | -| :jp: Japanese | `ja` | -| :brazil: Portuguese (Brazil) | `pt-br` | -| :portugal: Portuguese (Portugal) | `pt-pt` | -| :poland: Polish | `pl` | -| :romania: Romanian | `ro` | -| :es: Spanish (Spain) | `es` | -| :tr: Turkish | `tr` | +| Language | Code | +| ------------------------------------- | ------- | +| :gb: English | `en` | +| :bangladesh: Bengali | `bn` | +| :cn: Simplified Chinese (China) | `zh-cn` | +| :taiwan: Traditional Chinese (Taiwan) | `zh-tw` | +| :finland: Finnish | `fi` | +| :fr: French | `fr` | +| :de: German | `de` | +| :israel: Hebrew | `he` | +| :hungary: Hungarian | `hu` | +| :it: Italian | `it` | +| :jp: Japanese | `ja` | +| :brazil: Portuguese (Brazil) | `pt-br` | +| :portugal: Portuguese (Portugal) | `pt-pt` | +| :poland: Polish | `pl` | +| :romania: Romanian | `ro` | +| :es: Spanish (Spain) | `es` | +| :tr: Turkish | `tr` | | 🇭🇷 Croatian | `hr` | -| 🇮🇩 Indonesian | `id` | +| 🇮🇩 Indonesian | `id` | The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/nunocoracao/blowfish/pulls). @@ -90,23 +90,23 @@ The default file can be used as a template to create additional languages, or re {{< /alert >}} -|Name|Default|Description| -|---|---|---| -|`languageCode`|`"en"`|The Hugo language code for this file. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-au`) and should match the language code in the filename. Hugo expects this value to always be in lowercase. For proper HTML compliance, set the `isoCode` parameter which is case-sensitive.| -|`languageName`|`"English"`|The name of the language.| -|`displayName`|`"EN"`|The name used when the language appears on the website.| -|`isoCode`|`"en"`|The ISO language code for HTML metadata purposes. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-AU`).| -|`weight`|`1`|The weight determines the order of languages when building multilingual sites.| -|`rtl`|`false`|Whether or not this is a RTL language. Set to `true` to reflow content from right-to-left. Blowfish fully supports using RTL and LTR languages at the same time and will dynamically adjust to both.| -|`dateFormat`|`"2 January 2006"`|How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/format/#gos-layout-string) for acceptable formats.| -|`title`|`"Blowfish"`|The title of the website. This will be displayed in the site header and footer.| -|`description`|_Not set_|The website description. This will be used in the site metadata.| -|`copyright`|_Not set_|A Markdown string containing the copyright message to be displayed in the site footer. If none is provided, Blowfish will automatically generate a copyright string using the site `title`.| -|`author.name`|_Not set_|The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used.| -|`author.image`|_Not set_|Path to the image file of the author. The image should be a 1:1 aspect ratio and placed in the site's `assets/` folder.| -|`author.headline`|_Not set_|A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name.| -|`author.bio`|_Not set_|A Markdown string containing the author's bio. It will be displayed in article footers.| -|`author.links`|_Not set_|The links to display alongside the author's details. The config file contains example links which can simply be uncommented to enable. The order that the links are displayed is determined by the order they appear in the array. Custom links can be added by providing corresponding SVG icon assets in `assets/icons/`.| +| Name | Default | Description | +| ----------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `languageCode` | `"en"` | The Hugo language code for this file. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-au`) and should match the language code in the filename. Hugo expects this value to always be in lowercase. For proper HTML compliance, set the `isoCode` parameter which is case-sensitive. | +| `languageName` | `"English"` | The name of the language. | +| `displayName` | `"EN"` | The name used when the language appears on the website. | +| `isoCode` | `"en"` | The ISO language code for HTML metadata purposes. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-AU`). | +| `weight` | `1` | The weight determines the order of languages when building multilingual sites. | +| `rtl` | `false` | Whether or not this is a RTL language. Set to `true` to reflow content from right-to-left. Blowfish fully supports using RTL and LTR languages at the same time and will dynamically adjust to both. | +| `dateFormat` | `"2 January 2006"` | How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/format/#gos-layout-string) for acceptable formats. | +| `title` | `"Blowfish"` | The title of the website. This will be displayed in the site header and footer. | +| `description` | _Not set_ | The website description. This will be used in the site metadata. | +| `copyright` | _Not set_ | A Markdown string containing the copyright message to be displayed in the site footer. If none is provided, Blowfish will automatically generate a copyright string using the site `title`. | +| `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. | +| `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio and placed in the site's `assets/` folder. | +| `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. | +| `author.bio` | _Not set_ | A Markdown string containing the author's bio. It will be displayed in article footers. | +| `author.links` | _Not set_ | The links to display alongside the author's details. The config file contains example links which can simply be uncommented to enable. The order that the links are displayed is determined by the order they appear in the array. Custom links can be added by providing corresponding SVG icon assets in `assets/icons/`. | ### Menus @@ -124,71 +124,71 @@ Blowfish provides a large number of configuration parameters that control how th Many of the article defaults here can be overridden on a per article basis by specifying it in the front matter. Refer to the [Front Matter]({{< ref "front-matter" >}}) section for further details. -|Name|Default|Description| -|---|---|---| -|`colorScheme`|`"blowfish"`|The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `ocean`, `fire` and `slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details.| -|`defaultAppearance`|`"light"`|The default theme appearance, either `light` or `dark`.| -|`autoSwitchAppearance`|`true`|Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`.| -|`enableSearch`|`false`|Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly.| -|`enableCodeCopy`|`false`|Whether copy-to-clipboard buttons are enabled for `` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below.| -|`logo`|_Not set_|The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions.| -|`mainSections`|_Not set_|The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used.| -|`robots`|_Not set_|String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values.| -|`disableImageZoom`|`false`|Disables image zoom feature across all the images in the site.| -|`footer.showMenu`|`true`|Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file.| -|`footer.showCopyright`|`true`|Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#language-and-i18n).| -|`footer.showThemeAttribution`|`true`|Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page).| -|`footer.showAppearanceSwitcher`|`false`|Whether or not to show the appearance switcher in the site footer. The browser's local storage is used to persist the visitor's preference.| -|`footer.showScrollToTop`|`true`|When set to `true` the scroll to top arrow is displayed.| -|`homepage.layout`|`"profile"`|The layout of the homepage. Valid values are `page`, `profile`, `hero`, `card`, `background`, or `custom`. When set to `custom`, you must provide your own layout by creating a `/layouts/partials/home/custom.html` file. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details.| -|`homepage.homepageImage`|_Not set_|Image to be used in `hero` and `card` layouts. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details.| -|`homepage.showRecent`|`false`|Whether or not to display the recent articles list on the homepage.| -|`homepage.showRecentItems`|5|How many articles to display if showRecent is true. If variable is set to 0 or if it isn't defined the system will default to 5 articles.| -|`homepage.showMoreLink`|'false'|Wether or not to display a show more link at the end of your posts that takes the user to a predefined place.| -|`homepage.showMoreLinkDest`|'/posts'|The destination of the show more button.| -|`article.showDate`|`true`|Whether or not article dates are displayed.| -|`article.showViews`|`false`|Whether or not article views are displayed. This requires firebase integrations to be enabled, look below.| -|`article.showLikes`|`false`|Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below.| -|`article.showDateUpdated`|`false`|Whether or not the dates articles were updated are displayed.| -|`article.showAuthor`|`true`|Whether or not the author box is displayed in the article footer.| -|`article.showHero`|`true`|Whether the thumbnail image will be shown as a hero image within each article page.| -|`heroStyle`|`basic`|Style to display the hero image, valid options are: `basic`, `big`, `background`.| -|`article.showBreadcrumbs`|`false`|Whether or not breadcrumbs are displayed in the article header.| -|`article.showDraftLabel`|`true`|Whether or not the draft indicator is shown next to articles when site is built with `--buildDrafts`.| -|`article.showEdit`|`false`|Whether or not the link to edit the article content should be displayed.| -|`article.editURL`|_Not set_|When `article.showEdit` is active, the URL for the edit link.| -|`article.editAppendPath`|`true`|When `article.showEdit` is active, whether or not the path to the current article should be appended to the URL set at `article.editURL`.| -|`article.seriesOpened`|`false`|Whether or not the series module will be displayed open by default or not.| -|`article.showHeadingAnchors`|`true`|Whether or not heading anchor links are displayed alongside headings within articles.| -|`article.showPagination`|`true`|Whether or not the next/previous article links are displayed in the article footer.| -|`article.invertPagination`|`false`|Whether or not to flip the direction of the next/previous article links.| -|`article.showReadingTime`|`true`|Whether or not article reading times are displayed.| -|`article.showTableOfContents`|`false`|Whether or not the table of contents is displayed on articles.| -|`article.showTaxonomies`|`false`|Whether or not the taxonomies related to this article are displayed.| -|`article.showAuthorsBadges`|`false`|Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature.| -|`article.showWordCount`|`false`|Whether or not article word counts are displayed.| -|`article.showComments`|`false`|Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer.| -|`article.sharingLinks`|_Not set_|Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed.| -|`list.showBreadcrumbs`|`false`|Whether or not breadcrumbs are displayed in the header on list pages.| -|`list.showTableOfContents`|`false`|Whether or not the table of contents is displayed on list pages.| -|`list.showSummary`|`false`|Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration).| -|`list.showCards`|`false`|Whether or not each article is displayed as a card or as simple inline text.| -|`list.groupByYear`|`true`|Whether or not articles are grouped by year on list pages.| -|`sitemap.excludedKinds`|`["taxonomy", "term"]`|Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds) for acceptable values.| -|`taxonomy.showTermCount`|`true`|Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing.| -|`firebase.apiKey`|_Not set_|Firebase apiKey, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish| -|`firebase.authDomain`|_Not set_|Firebase authDomain, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish| -|`firebase.projectId`|_Not set_|Firebase projectId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish| -|`firebase.storageBucket`|_Not set_|Firebase storageBucket, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish| -|`firebase.messagingSenderId`|_Not set_|Firebase messagingSenderId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish| -|`firebase.appId`|_Not set_|Firebase appId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish| -|`firebase.measurementId`|_Not set_|Firebase measurementId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish| -|`fathomAnalytics.site`|_Not set_|The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.| -|`fathomAnalytics.domain`|_Not set_|If using a custom domain with Fathom Analytics, provide it here to serve `script.js` from the custom domain.| -|`verification.google`|_Not set_|The site verification string provided by Google to be included in the site metadata.| -|`verification.bing`|_Not set_|The site verification string provided by Bing to be included in the site metadata.| -|`verification.pinterest`|_Not set_|The site verification string provided by Pinterest to be included in the site metadata.| -|`verification.yandex`|_Not set_|The site verification string provided by Yandex to be included in the site metadata.| +| Name | Default | Description | +| ------------------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `colorScheme` | `"blowfish"` | The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `ocean`, `fire` and `slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details. | +| `defaultAppearance` | `"light"` | The default theme appearance, either `light` or `dark`. | +| `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. | +| `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly. | +| `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. | +| `logo` | _Not set_ | The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. | +| `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. | +| `robots` | _Not set_ | String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. | +| `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. | +| `footer.showMenu` | `true` | Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file. | +| `footer.showCopyright` | `true` | Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#language-and-i18n). | +| `footer.showThemeAttribution` | `true` | Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page). | +| `footer.showAppearanceSwitcher` | `false` | Whether or not to show the appearance switcher in the site footer. The browser's local storage is used to persist the visitor's preference. | +| `footer.showScrollToTop` | `true` | When set to `true` the scroll to top arrow is displayed. | +| `homepage.layout` | `"profile"` | The layout of the homepage. Valid values are `page`, `profile`, `hero`, `card`, `background`, or `custom`. When set to `custom`, you must provide your own layout by creating a `/layouts/partials/home/custom.html` file. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. | +| `homepage.homepageImage` | _Not set_ | Image to be used in `hero` and `card` layouts. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. | +| `homepage.showRecent` | `false` | Whether or not to display the recent articles list on the homepage. | +| `homepage.showRecentItems` | 5 | How many articles to display if showRecent is true. If variable is set to 0 or if it isn't defined the system will default to 5 articles. | +| `homepage.showMoreLink` | 'false' | Wether or not to display a show more link at the end of your posts that takes the user to a predefined place. | +| `homepage.showMoreLinkDest` | '/posts' | The destination of the show more button. | +| `article.showDate` | `true` | Whether or not article dates are displayed. | +| `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. | +| `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. | +| `article.showDateUpdated` | `false` | Whether or not the dates articles were updated are displayed. | +| `article.showAuthor` | `true` | Whether or not the author box is displayed in the article footer. | +| `article.showHero` | `true` | Whether the thumbnail image will be shown as a hero image within each article page. | +| `heroStyle` | `basic` | Style to display the hero image, valid options are: `basic`, `big`, `background`. | +| `article.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the article header. | +| `article.showDraftLabel` | `true` | Whether or not the draft indicator is shown next to articles when site is built with `--buildDrafts`. | +| `article.showEdit` | `false` | Whether or not the link to edit the article content should be displayed. | +| `article.editURL` | _Not set_ | When `article.showEdit` is active, the URL for the edit link. | +| `article.editAppendPath` | `true` | When `article.showEdit` is active, whether or not the path to the current article should be appended to the URL set at `article.editURL`. | +| `article.seriesOpened` | `false` | Whether or not the series module will be displayed open by default or not. | +| `article.showHeadingAnchors` | `true` | Whether or not heading anchor links are displayed alongside headings within articles. | +| `article.showPagination` | `true` | Whether or not the next/previous article links are displayed in the article footer. | +| `article.invertPagination` | `false` | Whether or not to flip the direction of the next/previous article links. | +| `article.showReadingTime` | `true` | Whether or not article reading times are displayed. | +| `article.showTableOfContents` | `false` | Whether or not the table of contents is displayed on articles. | +| `article.showTaxonomies` | `false` | Whether or not the taxonomies related to this article are displayed. | +| `article.showAuthorsBadges` | `false` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. | +| `article.showWordCount` | `false` | Whether or not article word counts are displayed. | +| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. | +| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. | +| `list.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the header on list pages. | +| `list.showTableOfContents` | `false` | Whether or not the table of contents is displayed on list pages. | +| `list.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration). | +| `list.showCards` | `false` | Whether or not each article is displayed as a card or as simple inline text. | +| `list.groupByYear` | `true` | Whether or not articles are grouped by year on list pages. | +| `sitemap.excludedKinds` | `["taxonomy", "term"]` | Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds) for acceptable values. | +| `taxonomy.showTermCount` | `true` | Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing. | +| `firebase.apiKey` | _Not set_ | Firebase apiKey, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | +| `firebase.authDomain` | _Not set_ | Firebase authDomain, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | +| `firebase.projectId` | _Not set_ | Firebase projectId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | +| `firebase.storageBucket` | _Not set_ | Firebase storageBucket, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | +| `firebase.messagingSenderId` | _Not set_ | Firebase messagingSenderId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | +| `firebase.appId` | _Not set_ | Firebase appId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | +| `firebase.measurementId` | _Not set_ | Firebase measurementId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | +| `fathomAnalytics.site` | _Not set_ | The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. | +| `fathomAnalytics.domain` | _Not set_ | If using a custom domain with Fathom Analytics, provide it here to serve `script.js` from the custom domain. | +| `verification.google` | _Not set_ | The site verification string provided by Google to be included in the site metadata. | +| `verification.bing` | _Not set_ | The site verification string provided by Bing to be included in the site metadata. | +| `verification.pinterest` | _Not set_ | The site verification string provided by Pinterest to be included in the site metadata. | +| `verification.yandex` | _Not set_ | The site verification string provided by Yandex to be included in the site metadata. | ## Other configuration files From bb400dd93601d5551b48c4793672b3587a71333d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 5 Nov 2022 11:40:23 +0000 Subject: [PATCH 5/6] added enveloper icon --- assets/icons/envelope.svg | 1 + exampleSite/content/samples/icons/index.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 assets/icons/envelope.svg diff --git a/assets/icons/envelope.svg b/assets/icons/envelope.svg new file mode 100644 index 00000000..9285f23d --- /dev/null +++ b/assets/icons/envelope.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md index 3ec61ca7..707e9e0c 100644 --- a/exampleSite/content/samples/icons/index.md +++ b/exampleSite/content/samples/icons/index.md @@ -35,6 +35,7 @@ The full list of built-in icons and their corresponding names can referenced bel | dribbble | {{< icon dribbble >}} | | edit | {{< icon edit >}} | | email | {{< icon email >}} | +| envelope | {{< icon envelope >}} | | eye | {{< icon eye >}} | | facebook | {{< icon facebook >}} | | fire | {{< icon fire >}} | From 215d8ae4a2df90ca9b89a7c0455f83cdf42c07ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 5 Nov 2022 11:55:39 +0000 Subject: [PATCH 6/6] show more in recent articles is part of i18n --- i18n/bn.yaml | 2 +- i18n/de.yaml | 4 ++++ i18n/en.yaml | 3 +++ i18n/es.yaml | 3 +++ i18n/fi.yaml | 3 +++ i18n/fr.yaml | 3 +++ i18n/he.yaml | 3 +++ i18n/hr.yaml | 2 ++ i18n/hu.yaml | 3 +++ i18n/it.yaml | 3 +++ i18n/ja.yaml | 3 +++ i18n/pl.yaml | 3 +++ i18n/pt-BR.yaml | 3 +++ i18n/pt-PT.yaml | 3 +++ i18n/ro.yaml | 3 +++ i18n/tr.yaml | 3 +++ i18n/zh-CN.yaml | 3 +++ i18n/zh-TW.yaml | 5 ++++- layouts/partials/recent-articles.html | 5 +++-- 19 files changed, 56 insertions(+), 4 deletions(-) diff --git a/i18n/bn.yaml b/i18n/bn.yaml index 62219121..513d10f9 100644 --- a/i18n/bn.yaml +++ b/i18n/bn.yaml @@ -52,4 +52,4 @@ sharing: twitter: "ট্যুইট করুন" shortcode: - recent_articles: "সাম্প্রতিক" + recent_articles: "সাম্প্রতিক" \ No newline at end of file diff --git a/i18n/de.yaml b/i18n/de.yaml index 459eb558..3cc9a067 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -53,3 +53,7 @@ sharing: shortcode: recent_articles: "Neue Beiträge" + + +recent: + show_more: "Zeig Mehr" \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index 1c083cc6..76915cba 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -59,3 +59,6 @@ sharing: shortcode: recent_articles: "Recent" + +recent: + show_more: "Show More" diff --git a/i18n/es.yaml b/i18n/es.yaml index f9143e70..124d9eb9 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Reciente" + +recent: + show_more: "Mostrar Más" \ No newline at end of file diff --git a/i18n/fi.yaml b/i18n/fi.yaml index dc480147..27c586e8 100644 --- a/i18n/fi.yaml +++ b/i18n/fi.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Viimeaikaiset" + +recent: + show_more: "Näytä Lisää" \ No newline at end of file diff --git a/i18n/fr.yaml b/i18n/fr.yaml index dfdc716a..fa0aff9a 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Articles récents" + +recent: + show_more: "Montre Plus" \ No newline at end of file diff --git a/i18n/he.yaml b/i18n/he.yaml index 993fd0ca..fe4040c1 100644 --- a/i18n/he.yaml +++ b/i18n/he.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "חדשים" + +recent: + show_more: "להראות יותר" \ No newline at end of file diff --git a/i18n/hr.yaml b/i18n/hr.yaml index 3684f783..77dc9dda 100644 --- a/i18n/hr.yaml +++ b/i18n/hr.yaml @@ -60,3 +60,5 @@ sharing: shortcode: recent_articles: "Nedavno" +recent: + show_more: "Prikaži Više" diff --git a/i18n/hu.yaml b/i18n/hu.yaml index 6a90920e..884f1206 100644 --- a/i18n/hu.yaml +++ b/i18n/hu.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Friss" + +recent: + show_more: "Mutass Többet" \ No newline at end of file diff --git a/i18n/it.yaml b/i18n/it.yaml index 07bc81f6..474f19e5 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Recenti" + +recent: + show_more: "Mostra di Più" \ No newline at end of file diff --git a/i18n/ja.yaml b/i18n/ja.yaml index 193adf4c..c71c65d8 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "最近の記事" + +recent: + show_more: "もっと見せる" \ No newline at end of file diff --git a/i18n/pl.yaml b/i18n/pl.yaml index 22a837ca..6232c21e 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -59,3 +59,6 @@ sharing: shortcode: recent_articles: "Ostatnie artykuły" + +recent: + show_more: "Pokaż Więcej" \ No newline at end of file diff --git a/i18n/pt-BR.yaml b/i18n/pt-BR.yaml index cd3c5395..8fab1078 100644 --- a/i18n/pt-BR.yaml +++ b/i18n/pt-BR.yaml @@ -56,3 +56,6 @@ sharing: shortcode: recent_articles: "Recente" + +recent: + show_more: "Mostrar Mais" \ No newline at end of file diff --git a/i18n/pt-PT.yaml b/i18n/pt-PT.yaml index d023fe6c..103c5b3f 100644 --- a/i18n/pt-PT.yaml +++ b/i18n/pt-PT.yaml @@ -56,3 +56,6 @@ sharing: shortcode: recent_articles: "Recente" + +recent: + show_more: "Mostrar Mais" \ No newline at end of file diff --git a/i18n/ro.yaml b/i18n/ro.yaml index 5a6f93ed..cc1481f6 100644 --- a/i18n/ro.yaml +++ b/i18n/ro.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Cele mai noi" + +recent: + show_more: "Afișați mai multe" \ No newline at end of file diff --git a/i18n/tr.yaml b/i18n/tr.yaml index 0d4865e6..a4e3b8aa 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Güncel" icon_none: "Icon bulunamadı." + +recent: + show_more: "Daha Fazla Göster" \ No newline at end of file diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index 38d3da8b..4920657e 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -52,3 +52,6 @@ sharing: shortcode: recent_articles: "最近的文章" + +recent: + show_more: "显示更多" \ No newline at end of file diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml index 96a324c6..1641e8be 100644 --- a/i18n/zh-TW.yaml +++ b/i18n/zh-TW.yaml @@ -51,4 +51,7 @@ sharing: twitter: "推到 Twitter" shortcode: - recent_articles: "最近的文章" \ No newline at end of file + recent_articles: "最近的文章" + +recent: + show_more: "顯示更多" \ No newline at end of file diff --git a/layouts/partials/recent-articles.html b/layouts/partials/recent-articles.html index bd5fac0b..c35ab3fa 100644 --- a/layouts/partials/recent-articles.html +++ b/layouts/partials/recent-articles.html @@ -17,8 +17,9 @@ {{ end }}