Merge pull request #1518 from nunocoracao/dev

🔖 v2.71.0
This commit is contained in:
Nuno Coração 2024-06-19 18:00:04 +01:00 committed by GitHub
commit efba32b076
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
166 changed files with 635 additions and 401 deletions

View file

@ -14,7 +14,7 @@ body.zen-mode-enable {
}
}
/*! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
@ -655,6 +655,13 @@ select {
outline:1px auto -webkit-focus-ring-color
}
@supports (-moz-appearance:none) {
* {
scrollbar-color:initial;
scrollbar-width:initial
}
}
*, ::before, ::after {
--tw-border-spacing-x:0;
--tw-border-spacing-y:0;
@ -2213,6 +2220,14 @@ select {
overflow:visible
}
.overflow-y-scroll {
overflow-y:scroll
}
.overscroll-contain {
overscroll-behavior:contain
}
.scroll-smooth {
scroll-behavior:smooth
}
@ -3074,6 +3089,134 @@ select {
transition-timing-function:linear
}
.scrollbar::-webkit-scrollbar-track {
background-color:var(--scrollbar-track);
border-radius:var(--scrollbar-track-radius)
}
.scrollbar::-webkit-scrollbar-track:hover {
background-color:var(--scrollbar-track-hover, var(--scrollbar-track))
}
.scrollbar::-webkit-scrollbar-track:active {
background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))
}
.scrollbar::-webkit-scrollbar-thumb {
background-color:var(--scrollbar-thumb);
border-radius:var(--scrollbar-thumb-radius)
}
.scrollbar::-webkit-scrollbar-thumb:hover {
background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))
}
.scrollbar::-webkit-scrollbar-thumb:active {
background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))
}
.scrollbar::-webkit-scrollbar-corner {
background-color:var(--scrollbar-corner);
border-radius:var(--scrollbar-corner-radius)
}
.scrollbar::-webkit-scrollbar-corner:hover {
background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))
}
.scrollbar::-webkit-scrollbar-corner:active {
background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))
}
@supports (-moz-appearance:none) {
.scrollbar {
scrollbar-width:auto;
scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)
}
}
.scrollbar::-webkit-scrollbar {
display:block;
width:var(--scrollbar-width, 16px);
height:var(--scrollbar-height, 16px)
}
.scrollbar-thin::-webkit-scrollbar-track {
background-color:var(--scrollbar-track);
border-radius:var(--scrollbar-track-radius)
}
.scrollbar-thin::-webkit-scrollbar-track:hover {
background-color:var(--scrollbar-track-hover, var(--scrollbar-track))
}
.scrollbar-thin::-webkit-scrollbar-track:active {
background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))
}
.scrollbar-thin::-webkit-scrollbar-thumb {
background-color:var(--scrollbar-thumb);
border-radius:var(--scrollbar-thumb-radius)
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))
}
.scrollbar-thin::-webkit-scrollbar-thumb:active {
background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))
}
.scrollbar-thin::-webkit-scrollbar-corner {
background-color:var(--scrollbar-corner);
border-radius:var(--scrollbar-corner-radius)
}
.scrollbar-thin::-webkit-scrollbar-corner:hover {
background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))
}
.scrollbar-thin::-webkit-scrollbar-corner:active {
background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))
}
@supports (-moz-appearance:none) {
.scrollbar-thin {
scrollbar-width:thin;
scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)
}
}
.scrollbar-thin::-webkit-scrollbar {
display:block;
width:8px;
height:8px
}
.scrollbar-track-neutral-200 {
--scrollbar-track:rgba(var(--color-neutral-200), 1) !important
}
.scrollbar-thumb-neutral-400 {
--scrollbar-thumb:rgba(var(--color-neutral-400), 1) !important
}
.scrollbar-thumb-primary-400 {
--scrollbar-thumb:rgba(var(--color-primary-400), 1) !important
}
.scrollbar-thumb-primary-100 {
--scrollbar-thumb:rgba(var(--color-primary-100), 1) !important
}
.scrollbar-thumb-primary-500 {
--scrollbar-thumb:rgba(var(--color-primary-500), 1) !important
}
.scrollbar-thumb-primary-600 {
--scrollbar-thumb:rgba(var(--color-primary-600), 1) !important
}
.\!\[clip\:rect\(0\2c 0\2c 0\2c 0\)\] {
clip:rect(0,0,0,0) !important
}
@ -4724,6 +4867,102 @@ pre {
display:none
}
.group:hover .group-hover\:text-primary-300 {
--tw-text-opacity:1;
color:rgba(var(--color-primary-300), var(--tw-text-opacity))
}
.group:hover .group-hover\:text-primary-600 {
--tw-text-opacity:1;
color:rgba(var(--color-primary-600), var(--tw-text-opacity))
}
.group:hover .group-hover\:underline {
text-decoration-line:underline
}
.group:hover .group-hover\:decoration-primary-500 {
text-decoration-color:rgba(var(--color-primary-500), 1)
}
.group:hover .group-hover\:opacity-100 {
opacity:1
}
.data-\[twe-carousel-fade\]\:z-0[data-twe-carousel-fade] {
z-index:0
}
.data-\[twe-carousel-fade\]\:z-\[1\][data-twe-carousel-fade] {
z-index:1
}
.data-\[popper-reference-hidden\]\:hidden[data-popper-reference-hidden] {
display:none
}
.data-\[twe-carousel-fade\]\:opacity-0[data-twe-carousel-fade] {
opacity:0
}
.data-\[twe-carousel-fade\]\:opacity-100[data-twe-carousel-fade] {
opacity:1
}
.data-\[twe-carousel-fade\]\:duration-\[600ms\][data-twe-carousel-fade] {
transition-duration:600ms
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-x-0 {
border-left-width:0px;
border-right-width:0px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-x-0 {
border-left-width:0px;
border-right-width:0px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-e-0 {
border-inline-end-width:0px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-s-0 {
border-inline-start-width:0px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-t {
border-top-width:1px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-e-0 {
border-inline-end-width:0px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-s-0 {
border-inline-start-width:0px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-t {
border-top-width:1px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-solid {
border-style:solid
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-solid {
border-style:solid
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-t-transparent {
border-top-color:transparent
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-t-transparent {
border-top-color:transparent
}
.hover\:border-transparent:hover {
border-color:transparent
}
@ -4837,102 +5076,6 @@ pre {
outline-color:transparent
}
.group:hover .group-hover\:text-primary-300 {
--tw-text-opacity:1;
color:rgba(var(--color-primary-300), var(--tw-text-opacity))
}
.group:hover .group-hover\:text-primary-600 {
--tw-text-opacity:1;
color:rgba(var(--color-primary-600), var(--tw-text-opacity))
}
.group:hover .group-hover\:underline {
text-decoration-line:underline
}
.group:hover .group-hover\:decoration-primary-500 {
text-decoration-color:rgba(var(--color-primary-500), 1)
}
.group:hover .group-hover\:opacity-100 {
opacity:1
}
.data-\[twe-carousel-fade\]\:z-0[data-twe-carousel-fade] {
z-index:0
}
.data-\[twe-carousel-fade\]\:z-\[1\][data-twe-carousel-fade] {
z-index:1
}
.data-\[popper-reference-hidden\]\:hidden[data-popper-reference-hidden] {
display:none
}
.data-\[twe-carousel-fade\]\:opacity-0[data-twe-carousel-fade] {
opacity:0
}
.data-\[twe-carousel-fade\]\:opacity-100[data-twe-carousel-fade] {
opacity:1
}
.data-\[twe-carousel-fade\]\:duration-\[600ms\][data-twe-carousel-fade] {
transition-duration:600ms
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-x-0 {
border-left-width:0px;
border-right-width:0px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-x-0 {
border-left-width:0px;
border-right-width:0px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-e-0 {
border-inline-end-width:0px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-s-0 {
border-inline-start-width:0px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-t {
border-top-width:1px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-e-0 {
border-inline-end-width:0px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-s-0 {
border-inline-start-width:0px
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-t {
border-top-width:1px
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-solid {
border-style:solid
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-solid {
border-style:solid
}
.group[data-twe-input-focused] .group-data-\[twe-input-focused\]\:border-t-transparent {
border-top-color:transparent
}
.group[data-twe-input-state-active] .group-data-\[twe-input-state-active\]\:border-t-transparent {
border-top-color:transparent
}
@media (prefers-reduced-motion: reduce) {
.motion-reduce\:transition-none {
transition-property:none
@ -5094,6 +5237,36 @@ pre {
opacity:0.6
}
.dark\:scrollbar-track-neutral-800:is(.dark *) {
--scrollbar-track:rgba(var(--color-neutral-800), 1) !important
}
.dark\:scrollbar-thumb-neutral-600:is(.dark *) {
--scrollbar-thumb:rgba(var(--color-neutral-600), 1) !important
}
.dark\:scrollbar-thumb-primary-600:is(.dark *) {
--scrollbar-thumb:rgba(var(--color-primary-600), 1) !important
}
.dark\:scrollbar-thumb-primary-400:is(.dark *) {
--scrollbar-thumb:rgba(var(--color-primary-400), 1) !important
}
.dark\:scrollbar-thumb-primary-100:is(.dark *) {
--scrollbar-thumb:rgba(var(--color-primary-100), 1) !important
}
.group:hover .dark\:group-hover\:text-neutral-700:is(.dark *) {
--tw-text-opacity:1;
color:rgba(var(--color-neutral-700), var(--tw-text-opacity))
}
.group:hover .dark\:group-hover\:text-primary-400:is(.dark *) {
--tw-text-opacity:1;
color:rgba(var(--color-primary-400), var(--tw-text-opacity))
}
.dark\:hover\:\!bg-primary-700:hover:is(.dark *) {
--tw-bg-opacity:1 !important;
background-color:rgba(var(--color-primary-700), var(--tw-bg-opacity)) !important
@ -5124,16 +5297,6 @@ pre {
background-color:rgba(var(--color-primary-900), var(--tw-bg-opacity))
}
.group:hover .dark\:group-hover\:text-neutral-700:is(.dark *) {
--tw-text-opacity:1;
color:rgba(var(--color-neutral-700), var(--tw-text-opacity))
}
.group:hover .dark\:group-hover\:text-primary-400:is(.dark *) {
--tw-text-opacity:1;
color:rgba(var(--color-primary-400), var(--tw-text-opacity))
}
@media (min-width: 640px) {
.sm\:mb-0 {
margin-bottom:0px

View file

@ -1,57 +1,59 @@
function _toogleZenMode(zendModeButton) {
// Nodes selection
const body = document.querySelector('body');
const tocRight = document.querySelector('.toc-right');
const tocInside = document.querySelector('.toc-inside');
const articleContent = document.querySelector('.article-content');
const header = document.querySelector('#single_header');
// Nodes selection
const body = document.querySelector('body');
const tocRight = document.querySelector('.toc-right');
const tocInside = document.querySelector('.toc-inside');
const articleContent = document.querySelector('.article-content');
const header = document.querySelector('#single_header');
// Add semantic class into body tag
body.classList.toggle('zen-mode-enable');
// Add semantic class into body tag
body.classList.toggle('zen-mode-enable');
// Show/Hide 'toc right' and 'toc inside'
// Show/Hide 'toc right' and 'toc inside'
if (tocRight)
tocRight.classList.toggle('lg:block');
if (tocInside)
tocInside.classList.toggle('lg:hidden');
// Change width of article content
articleContent.classList.toggle('max-w-fit');
articleContent.classList.toggle('max-w-prose');
// Change width of article content
articleContent.classList.toggle('max-w-fit');
articleContent.classList.toggle('max-w-prose');
// Read i18n title from data-attributes
const titleI18nDisable = zendModeButton.getAttribute('data-title-i18n-disable');
const titleI18nEnable = zendModeButton.getAttribute('data-title-i18n-enable');
// Read i18n title from data-attributes
const titleI18nDisable = zendModeButton.getAttribute('data-title-i18n-disable');
const titleI18nEnable = zendModeButton.getAttribute('data-title-i18n-enable');
if (body.classList.contains('zen-mode-enable')) {
// Persist configuration
//localStorage.setItem('blowfish-zen-mode-enabled', 'true');
// Change title to enable
zendModeButton.setAttribute('title', titleI18nEnable)
// Auto-scroll to title article
window.scrollTo(window.scrollX, header.getBoundingClientRect().top - 90);
} else {
//localStorage.setItem('blowfish-zen-mode-enabled', 'false');
zendModeButton.setAttribute('title', titleI18nDisable);
document.querySelector('body').scrollIntoView();
}
if (body.classList.contains('zen-mode-enable')) {
// Persist configuration
//localStorage.setItem('blowfish-zen-mode-enabled', 'true');
// Change title to enable
zendModeButton.setAttribute('title', titleI18nEnable)
// Auto-scroll to title article
window.scrollTo(window.scrollX, header.getBoundingClientRect().top - 90);
} else {
//localStorage.setItem('blowfish-zen-mode-enabled', 'false');
zendModeButton.setAttribute('title', titleI18nDisable);
document.querySelector('body').scrollIntoView();
}
}
function _registerZendModeButtonClick(zendModeButton) {
zendModeButton.addEventListener('click', function (event) {
event.preventDefault();
zendModeButton.addEventListener('click', function (event) {
event.preventDefault();
// Toggle zen-mode
_toogleZenMode(zendModeButton);
});
// Toggle zen-mode
_toogleZenMode(zendModeButton);
});
}
(function init() {
window.addEventListener("DOMContentLoaded", (event) => {
// Register click on 'zen-mode-button' node element
const zendModeButton = document.getElementById('zen-mode-button');
if(zendModeButton !== null && zendModeButton !== undefined) {
_registerZendModeButtonClick(zendModeButton);
}
});
window.addEventListener("DOMContentLoaded", (event) => {
// Register click on 'zen-mode-button' node element
const zendModeButton = document.getElementById('zen-mode-button');
if (zendModeButton !== null && zendModeButton !== undefined) {
_registerZendModeButtonClick(zendModeButton);
}
});
})();

View file

@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
max = "0.126.3"
max = "0.127.0"

View file

@ -88,6 +88,7 @@ disableTextInHeader = false
showLikes = false
showTableOfContents = false
showCards = false
orderByWeight = false
groupByYear = true
cardView = false
cardViewScreenWidth = false

View file

@ -87,6 +87,7 @@ smartTOCHideUnfocusedChildren = false
showLikes = false
showTableOfContents = true
showCards = true
orderByWeight = true
groupByYear = false
cardView = true
cardViewScreenWidth = false

View file

@ -1,6 +1,6 @@
---
title: "Advanced Customisation"
date: 2020-08-08
weight: 13
draft: false
description: "Learn how to build Blowfish manually."
slug: "advanced-customisation"

View file

@ -1,6 +1,6 @@
---
title: "Advanced Customisation"
date: 2020-08-08
weight: 13
draft: false
description: "Learn how to build Blowfish manually."
slug: "advanced-customisation"

View file

@ -1,6 +1,6 @@
---
title: "Advanced Customisation"
date: 2020-08-08
weight: 13
draft: false
description: "Learn how to build Blowfish manually."
slug: "advanced-customisation"

View file

@ -1,6 +1,6 @@
---
title: 进阶自定义
date: 2020-08-08
weight: 13
draft: false
description: "了解如何手动构建 Blowfish。"
slug: "advanced-customisation"

View file

@ -1,6 +1,6 @@
---
title: "Configuration"
date: 2020-08-14
weight: 4
draft: false
description: "All the configuration variables available in Blowfish."
slug: "configuration"
@ -258,6 +258,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `list.showViews` | `false` | Whether or not list views are displayed. This requires firebase integrations to be enabled, look below. |
| `list.showLikes` | `false` | Whether or not list likes are displayed. This requires firebase integrations to be enabled, look below. |
| `list.showCards` | `false` | Whether or not each article is displayed as a card or as simple inline text. |
| `list.orderByWeight` | `false` | Whether or not articles are sorted by [weights](https://gohugo.io/methods/page/weight/). |
| `list.groupByYear` | `true` | Whether or not articles are grouped by year on list pages. |
| `list.cardView` | `false` | Display lists as a gallery of cards. |
| `list.cardViewScreenWidth` | `false` | Enhance the width of card galleries in lists to take the full width available. |

View file

@ -1,6 +1,6 @@
---
title: "Configuration"
date: 2020-08-14
weight: 4
draft: false
description: "All the configuration variables available in Blowfish."
slug: "configuration"
@ -258,6 +258,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `list.showViews` | `false` | Whether or not list views are displayed. This requires firebase integrations to be enabled, look below. |
| `list.showLikes` | `false` | Whether or not list likes are displayed. This requires firebase integrations to be enabled, look below. |
| `list.showCards` | `false` | Whether or not each article is displayed as a card or as simple inline text. |
| `list.orderByWeight` | `false` | Whether or not articles are sorted by [weights](https://gohugo.io/methods/page/weight/). |
| `list.groupByYear` | `true` | Whether or not articles are grouped by year on list pages. |
| `list.cardView` | `false` | Display lists as a gallery of cards. |
| `list.cardViewScreenWidth` | `false` | Enhance the width of card galleries in lists to take the full width available. |

View file

@ -1,6 +1,6 @@
---
title: "Configuration"
date: 2020-08-14
weight: 4
draft: false
description: "All the configuration variables available in Blowfish."
slug: "configuration"
@ -259,6 +259,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `list.showViews` | `false` | Whether or not list views are displayed. This requires firebase integrations to be enabled, look below. |
| `list.showLikes` | `false` | Whether or not list likes are displayed. This requires firebase integrations to be enabled, look below. |
| `list.showCards` | `false` | Whether or not each article is displayed as a card or as simple inline text. |
| `list.orderByWeight` | `false` | Whether or not articles are sorted by [weights](https://gohugo.io/methods/page/weight/). |
| `list.groupByYear` | `true` | Whether or not articles are grouped by year on list pages. |
| `list.cardView` | `false` | Display lists as a gallery of cards. |
| `list.cardViewScreenWidth` | `false` | Enhance the width of card galleries in lists to take the full width available. |

View file

@ -1,6 +1,6 @@
---
title: "配置"
date: 2020-08-14
weight: 4
draft: false
description: "介绍 Blowfish 中所有可用的的配置变量。"
slug: "configuration"

View file

@ -1,6 +1,6 @@
---
title: "Content Examples"
date: 2020-08-09
weight: 11
draft: false
description: "All the partials available in Blowfish."
slug: "content-examples"

View file

@ -1,6 +1,6 @@
---
title: "Content Examples"
date: 2020-08-09
weight: 11
draft: false
description: "All the partials available in Blowfish."
slug: "content-examples"

View file

@ -1,6 +1,6 @@
---
title: "Content Examples"
date: 2020-08-09
weight: 11
draft: false
description: "All the partials available in Blowfish."
slug: "content-examples"

View file

@ -1,6 +1,6 @@
---
title: "内容示例"
date: 2020-08-09
weight: 11
draft: false
description: "包含 Blowfish 中所有可用部分的示例、"
slug: "content-examples"

View file

@ -1,6 +1,6 @@
---
title: "Firebase: Views & Likes"
date: 2020-08-03
weight: 15
draft: false
description: "Learn how to integrate Firebase and get dynamic data for views and likes."
slug: "firebase-views"

View file

@ -1,6 +1,6 @@
---
title: "Firebase: Views & Likes"
date: 2020-08-03
weight: 15
draft: false
description: "Learn how to integrate Firebase and get dynamic data for views and likes."
slug: "firebase-views"

View file

@ -1,6 +1,6 @@
---
title: "Firebase: Views & Likes"
date: 2020-08-03
weight: 15
draft: false
description: "Learn how to integrate Firebase and get dynamic data for views and likes."
slug: "firebase-views"

View file

@ -1,6 +1,6 @@
---
title: "Firebase: 阅读量 & 点赞量"
date: 2020-08-03
weight: 15
draft: false
description: "了解 Blowfish 如何集成 Firebase并动态显示阅读量和点赞量。"
slug: "firebase-views"

View file

@ -1,6 +1,6 @@
---
title: "Front Matter"
date: 2020-08-10
weight: 7
draft: false
description: "All the front matter variables available in Blowfish."
slug: "front-matter"

View file

@ -1,6 +1,6 @@
---
title: "Front Matter"
date: 2020-08-10
weight: 7
draft: false
description: "All the front matter variables available in Blowfish."
slug: "front-matter"

View file

@ -1,6 +1,6 @@
---
title: "Front Matter"
date: 2020-08-10
weight: 7
draft: false
description: "All the front matter variables available in Blowfish."
slug: "front-matter"

View file

@ -1,6 +1,6 @@
---
title: "Front Matter"
date: 2020-08-10
weight: 7
draft: false
description: "文本主要介绍 Blowfish 中页面中可以添加的所有的 Front Matter 参数。"
slug: "front-matter"

View file

@ -1,6 +1,6 @@
---
title: "Per iniziare"
date: 2020-08-15
weight: 3
draft: false
description: "Tutte le variabili del front matter sono disponibili in Blowfish."
slug: "per-iniziare"
@ -26,10 +26,10 @@ The config files that ship with Blowfish contain all of the possible settings th
## Basic configuration
Before creating any content, there are a few things you should set for a new installation. Starting in the `config.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
Before creating any content, there are a few things you should set for a new installation. Starting in the `hugo.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
@ -40,7 +40,7 @@ The next step is to configure the language settings. Although Blowfish supports
Locate the `languages.en.toml` file in the config folder. If your main language is English you can use this file as is. Otherwise, rename it so that it includes the correct language code in the filename. For example, for French, rename the file to `languages.fr.toml`.
{{< alert >}}
Note that the language code in the language config filename should match the `languageCode` setting in `config.toml`.
Note that the language code in the language config filename should match the `languageCode` setting in `hugo.toml`.
{{< /alert >}}
```toml

View file

@ -1,6 +1,6 @@
---
title: "Getting Started"
date: 2020-08-15
weight: 3
draft: false
description: "All the front matter variables available in Blowfish."
slug: "getting-started"
@ -26,10 +26,10 @@ The config files that ship with Blowfish contain all of the possible settings th
## Basic configuration
Before creating any content, there are a few things you should set for a new installation. Starting in the `config.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
Before creating any content, there are a few things you should set for a new installation. Starting in the `hugo.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
@ -40,7 +40,7 @@ The next step is to configure the language settings. Although Blowfish supports
Locate the `languages.en.toml` file in the config folder. If your main language is English you can use this file as is. Otherwise, rename it so that it includes the correct language code in the filename. For example, for French, rename the file to `languages.fr.toml`.
{{< alert >}}
Note that the language code in the language config filename should match the `languageCode` setting in `config.toml`.
Note that the language code in the language config filename should match the `languageCode` setting in `hugo.toml`.
{{< /alert >}}
```toml

View file

@ -1,6 +1,6 @@
---
title: "Getting Started"
date: 2020-08-15
weight: 3
draft: false
description: "All the front matter variables available in Blowfish."
slug: "getting-started"
@ -26,10 +26,10 @@ The config files that ship with Blowfish contain all of the possible settings th
## Basic configuration
Before creating any content, there are a few things you should set for a new installation. Starting in the `config.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
Before creating any content, there are a few things you should set for a new installation. Starting in the `hugo.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
@ -40,7 +40,7 @@ The next step is to configure the language settings. Although Blowfish supports
Locate the `languages.en.toml` file in the config folder. If your main language is English you can use this file as is. Otherwise, rename it so that it includes the correct language code in the filename. For example, for French, rename the file to `languages.fr.toml`.
{{< alert >}}
Note that the language code in the language config filename should match the `languageCode` setting in `config.toml`.
Note that the language code in the language config filename should match the `languageCode` setting in `hugo.toml`.
{{< /alert >}}
```toml

View file

@ -1,6 +1,6 @@
---
title: "入门指南"
date: 2020-08-15
weight: 3
draft: false
description: "所有在你要使用 Blowfish 主题搭建网站之前的准备工作"
slug: "getting-started"
@ -26,21 +26,21 @@ Blowfish 中的配置文件中包含了主题需要的所有可能的设置选
## 基础设置
在刚刚安装完成,创建内容之前,有几个设置需要关注。从 `config.toml` 开始,设置 `baseURL``languageCode` 参数。`languageCode`参数是用来指定你创作内容的主要语言。
在刚刚安装完成,创建内容之前,有几个设置需要关注。从 `hugo.toml` 开始,设置 `baseURL``languageCode` 参数。`languageCode`参数是用来指定你创作内容的主要语言。
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
```
下一步是设置语言。尽管 Blowfish 支持多语言,但是 `config.toml` 只能配置一个主语言。
下一步是设置语言。尽管 Blowfish 支持多语言,但是 `hugo.toml` 只能配置一个主语言。
`config/_default` 文件夹中找到 `languages.en.toml`。如果你的主语言是英语,你可以直接使用此文件。否则需要重命名为主语言对应的文件名。例如,如果主语言是法语,那么需要将文件命名为 `languages.fr.toml`
{{< alert >}}
注意:语言配置文件名中的语言代码需要与 `config.toml` 中 `languageCode` 相匹配。
注意:语言配置文件名中的语言代码需要与 `hugo.toml` 中 `languageCode` 相匹配。
{{< /alert >}}
```toml

View file

@ -1,6 +1,6 @@
---
title: "Homepage Layout"
date: 2020-08-13
weight: 5
draft: false
description: "Configuring the homepage layout in the Blowfish theme."
slug: "homepage-layout"

View file

@ -1,6 +1,6 @@
---
title: "Homepage Layout"
date: 2020-08-13
weight: 5
draft: false
description: "Configuring the homepage layout in the Blowfish theme."
slug: "homepage-layout"

View file

@ -1,6 +1,6 @@
---
title: "Homepage Layout"
date: 2020-08-13
weight: 5
draft: false
description: "Configuring the homepage layout in the Blowfish theme."
slug: "homepage-layout"

View file

@ -1,6 +1,6 @@
---
title: "主页布局"
date: 2020-08-13
weight: 5
draft: false
description: "在 Blowfish 主题中设置主页布局。"
slug: "homepage-layout"

View file

@ -1,6 +1,6 @@
---
title: "Hosting & Deployment"
date: 2020-08-07
weight: 14
draft: false
description: "Learn how to deploy a Blowfish site."
slug: "hosting-deployment"

View file

@ -1,6 +1,6 @@
---
title: "Hosting & Deployment"
date: 2020-08-07
weight: 14
draft: false
description: "Learn how to deploy a Blowfish site."
slug: "hosting-deployment"

View file

@ -1,6 +1,6 @@
---
title: "Hosting & Deployment"
date: 2020-08-07
weight: 14
draft: false
description: "Learn how to deploy a Blowfish site."
slug: "hosting-deployment"

View file

@ -1,6 +1,6 @@
---
title: "托管和部署"
date: 2020-08-07
weight: 14
draft: false
description: "了解如何部署 Blowfish 网页。"
slug: "hosting-deployment"
@ -21,7 +21,7 @@ Hugo 官方[托管与部署](https://gohugo.io/hosting-and-deployment/)文档是
- [Netlify](#netlify)
- [Render](#render)
- [Cloudflare Pages](#cloudflare-pages)
- [共享主机VPS 或者 私有服务器](#shared-hosting-vps-or-private-web-server)
- [共享主机VPS 或者 私有服务器](#共享主机vps-或者-私有服务器)
---

View file

@ -1,6 +1,6 @@
---
title: "Installazione"
date: 2020-08-16
weight: 2
draft: false
description: "Come installare il tema Blowfish."
slug: "installation"

View file

@ -1,6 +1,6 @@
---
title: "Installation"
date: 2020-08-16
weight: 2
draft: false
description: "How to install the Blowfish theme."
slug: "installation"

View file

@ -1,6 +1,6 @@
---
title: "Installation"
date: 2020-08-16
weight: 2
draft: false
description: "How to install the Blowfish theme."
slug: "installation"

View file

@ -1,6 +1,6 @@
---
title: "安装和配置"
date: 2020-08-16
weight: 2
draft: false
description: "如何安装 Blowfish 主题。"
slug: "installation"

View file

@ -1,6 +1,6 @@
---
title: "Multiple Authors"
date: 2020-08-10
weight: 8
draft: false
description: "Configure multiple authors for your articles."
slug: "multi-author"

View file

@ -1,6 +1,6 @@
---
title: "Multiple Authors"
date: 2020-08-10
weight: 8
draft: false
description: "Configure multiple authors for your articles."
slug: "multi-author"

View file

@ -1,6 +1,6 @@
---
title: "Multiple Authors"
date: 2020-08-10
weight: 8
draft: false
description: "Configure multiple authors for your articles."
slug: "multi-author"

View file

@ -1,6 +1,6 @@
---
title: "多创作者模式"
date: 2020-08-10
weight: 8
draft: false
description: "为你的文章设置多个作者。"
slug: "multi-author"

View file

@ -1,6 +1,6 @@
---
title: "Partials"
date: 2020-08-10
weight: 9
draft: false
description: "All the partials available in Blowfish."
slug: "partials"

View file

@ -1,6 +1,6 @@
---
title: "Partials"
date: 2020-08-10
weight: 9
draft: false
description: "All the partials available in Blowfish."
slug: "partials"

View file

@ -1,6 +1,6 @@
---
title: "Partials"
date: 2020-08-10
weight: 9
draft: false
description: "All the partials available in Blowfish."
slug: "partials"

View file

@ -1,6 +1,6 @@
---
title: "Partials"
date: 2020-08-10
weight: 9
draft: false
description: "所有 Blowfish 可以配置的 Partials"
slug: "partials"

View file

@ -1,6 +1,6 @@
---
title: "Series"
date: 2020-08-09
weight: 12
draft: false
description: "Learn how to group articles under a series."
slug: "series"

View file

@ -1,6 +1,6 @@
---
title: "Series"
date: 2020-08-09
weight: 12
draft: false
description: "Learn how to group articles under a series."
slug: "series"

View file

@ -1,6 +1,6 @@
---
title: "Series"
date: 2020-08-09
weight: 12
draft: false
description: "Learn how to group articles under a series."
slug: "series"

View file

@ -1,6 +1,6 @@
---
title: "系列"
date: 2020-08-09
weight: 12
draft: false
description: "了解如何将文章分组到系列中。"
slug: "series"

View file

@ -1,6 +1,6 @@
---
title: "Shortcodes"
date: 2020-08-11
weight: 6
draft: false
description: "All the shortcodes available in Blowfish."
slug: "shortcodes"

View file

@ -1,6 +1,6 @@
---
title: "Shortcodes"
date: 2020-08-11
weight: 6
draft: false
description: "All the shortcodes available in Blowfish."
slug: "shortcodes"

View file

@ -1,6 +1,6 @@
---
title: "Shortcodes"
date: 2020-08-11
weight: 6
draft: false
description: "All the shortcodes available in Blowfish."
slug: "shortcodes"

View file

@ -1,6 +1,6 @@
---
title: "简码"
date: 2020-08-11
weight: 6
draft: false
description: "所有 Blowfish 中可用的简码"
slug: "shortcodes"

View file

@ -1,6 +1,6 @@
---
title: "Thumbnails"
date: 2020-08-10
weight: 10
draft: false
description: "Turn on thumbnails for your articles."
slug: "thumbnails"

View file

@ -1,6 +1,6 @@
---
title: "Thumbnails"
date: 2020-08-10
weight: 10
draft: false
description: "Turn on thumbnails for your articles."
slug: "thumbnails"

View file

@ -1,6 +1,6 @@
---
title: "Thumbnails"
date: 2020-08-10
weight: 10
draft: false
description: "Turn on thumbnails for your articles."
slug: "thumbnails"

View file

@ -1,6 +1,6 @@
---
title: "缩略图"
date: 2020-08-10
weight: 10
draft: false
description: "为你的文章配置缩略图。"
slug: "thumbnails"

View file

@ -1,6 +1,6 @@
---
title: "Benvenuti a Blowfish"
date: 2022-01-19
weight: 1
draft: false
description: "Scopri le novità della versione 2.0 di Blowfish."
tags: ["novità", "documenti"]

View file

@ -1,6 +1,6 @@
---
title: "Welcome to Blowfish"
date: 2022-01-19
weight: 1
draft: false
description: "Discover what's new in Blowfish version 2.0."
tags: ["new", "docs"]

View file

@ -1,6 +1,6 @@
---
title: "Welcome to Blowfish"
date: 2022-01-19
weight: 1
draft: false
description: "Discover what's new in Blowfish version 2.0."
tags: ["new", "docs"]

View file

@ -1,6 +1,6 @@
---
title: "欢迎来到 Blowfish"
date: 2022-01-19
weight: 1
draft: false
description: "探索 Blowfish 2.0版本的新功能。"
tags: ["新手", "文档"]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View file

@ -1,8 +1,8 @@
---
title: "muhalvin.github.io"
tags: [Sito personale]
externalUrl: "https://muhalvin.github.io/"
date: 9973-08-08
title: "Joshua Blais"
tags: [Sito personale, Autore, Giardino digitale]
externalUrl: "https://joshblais.com/"
date: 9917-08-08
showDate: false
showAuthor: false
showReadingTime: false

View file

@ -1,8 +1,8 @@
---
title: "datatodroids.tech"
tags: [個人サイト, ブログ]
externalUrl: "https://datatodroids.tech/"
date: 9933-08-08
title: "Joshua Blais"
tags: [個人サイト, 著者, デジタルガーデン]
externalUrl: "https://joshblais.com/"
date: 9917-08-08
showDate: false
showAuthor: false
showReadingTime: false

View file

@ -1,8 +1,8 @@
---
title: "datatodroids.tech"
tags: [Personal site,Blog]
externalUrl: "https://datatodroids.tech/"
date: 9933-08-08
title: "Joshua Blais"
tags: [Personal Site,Author,Digital Garden]
externalUrl: "https://joshblais.com/"
date: 9917-08-08
showDate: false
showAuthor: false
showReadingTime: false

View file

@ -1,8 +1,8 @@
---
title: "datatodroids.tech"
tags: [个人网站, 博客]
externalUrl: "https://datatodroids.tech/"
date: 9933-08-08
title: "Joshua Blais"
tags: [个人网站, 作者, 数字花园]
externalUrl: "https://joshblais.com/"
date: 9917-08-08
showDate: false
showAuthor: false
showReadingTime: false

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View file

@ -1,8 +1,8 @@
---
title: "datatodroids.tech"
tags: [Sito personale, Blog]
externalUrl: "https://datatodroids.tech/"
date: 9933-08-08
title: "MEM v ENNBEE"
tags: [Blog sulla tecnologia, Sito personale]
externalUrl: "https://memv.ennbee.uk/"
date: 9918-08-08
showDate: false
showAuthor: false
showReadingTime: false

View file

@ -1,8 +1,8 @@
---
title: "muhalvin.github.io"
tags: [個人サイト]
externalUrl: "https://muhalvin.github.io/"
date: 9973-08-08
title: "MEM v ENNBEE"
tags: [テクノロジーブログ, 個人サイト]
externalUrl: "https://memv.ennbee.uk/"
date: 9918-08-08
showDate: false
showAuthor: false
showReadingTime: false

View file

@ -1,8 +1,8 @@
---
title: "muhalvin.github.io"
tags: [Personal site]
externalUrl: "https://muhalvin.github.io/"
date: 9973-08-08
title: "MEM v ENNBEE"
tags: [Technology Blog,Personal site]
externalUrl: "https://memv.ennbee.uk/"
date: 9918-08-08
showDate: false
showAuthor: false
showReadingTime: false

View file

@ -1,8 +1,8 @@
---
title: "muhalvin.github.io"
tags: [个人网站]
externalUrl: "https://muhalvin.github.io/"
date: 9973-08-08
title: "MEM v ENNBEE"
tags: [技术博客, 个人网站]
externalUrl: "https://memv.ennbee.uk/"
date: 9918-08-08
showDate: false
showAuthor: false
showReadingTime: false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Some files were not shown because too many files have changed in this diff Show more